Actually, I had them both, which is why I thought they were the same issue!klaus wrote: ↑19. Aug 2024, 20:44 FranceBB: your issue is actually not what is the topic of this thread: you see high CPU usage inside the guest (caused by VBoxTray). The originally reported issue was a busy loop in the NAT code (which happened when the guest OS was really idle).
The latest dev snapshot test builds (the r164434+ ones) have the NAT issue fixed.
Testing between bridged and NAT actually made this very clear.
Let me recap.
Test 1:
Virtualbox: 7.1.0 r164369 / r164395
Guest Additions: 7.1.0 r164395
Network: NAT
Guest CPU: 25% for a 4c configuration (infinite loop in VBoxTray.exe in one core)
Host CPU: 66% for a 4c/8th configuration (high CPU usage beyond 1 core in infinite loop)
Test 2:
Virtualbox: 7.1.0 r164369 / r164395
Guest Additions: 7.1.0 r164395
Network: Bridged Network
Guest CPU: 25% for a 4c configuration (infinite loop in VBoxTray.exe in one core)
Host CPU: 15% for a 4c/8th configuration (1 core stuck in infinite loop changing every few seconds, typical in Linux + a little vm overhead, which is normal)
Test 3:
Virtualbox: 7.1.0 r164369 / r164395
Guest Additions: 7.0.19 r163782
Network: NAT
Guest CPU: 5% for a 4c configuration (normal usage)
Host CPU: 55% for a 4c/8th configuration (high CPU usage)
Test 4:
Virtualbox: 7.1.0 r164369 / r164395
Guest Additions: 7.0.19 r163782
Network: Bridged Network
Guest CPU: 5% for a 4c configuration (normal usage)
Host CPU: 9% for a 4c/8th configuration (normal usage)
In other words, using the old guest additions makes the infinite loop in the guest go away, however it does nothing to prevent the infinite loop in the host if you're using NAT. That isn't the case if you're using bridged network, though.
That is until yesterday's release Virtualbox 7.1.0 r164443.
With yesterday's release, I can confirm that the NAT infinite loop on the host is solved:
Virtualbox: 7.1.0 r164443
Guest Additions: 7.0.19 r163782
Network: NAT
Guest CPU: 5% for a 4c configuration (normal usage)
Host CPU: 9% for a 4c/8th configuration (normal usage)
Virtualbox: 7.1.0 r164443
Guest Additions: 7.0.19 r163782
Network: Bridged Network
Guest CPU: 5% for a 4c configuration (normal usage)
Host CPU: 9% for a 4c/8th configuration (normal usage)
So... one problem down, one to go.
Thank you for fixing this by the way. Now all is left is to also fix the issue in the guest addition for the guest.