hi guys,
i am using virtual box 6.1.34 on my windows 10 64bit system, ryzen 5950x.
i start vm to launch an efi.file.
in my host windows i have a load of about 50% then.
now i have seen that in virtualbox you can adjust the load, but nothing changes in my host load.
cores etc i would like to leave as is, would only like to limit the vm load on the host at certain times.
is there anything else i need to adjust?
Virtualbox Cpu Limiter
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: Virtualbox Cpu Limiter
Start the VM from full normal shutdown, not save-state. Run until you see the problem happen, then shut down the VM from within the VM's OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.
Right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log, zip it, and post the zip file, using the forum's Upload Attachment tab.
Right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log, zip it, and post the zip file, using the forum's Upload Attachment tab.
Re: Virtualbox Cpu Limiter
hi scottgus,
the only error is that i can't limit the cpu usage.
i thought i could for example lower the vm to 60% so that my host is no longer at 50% load. (host 50% with 100% vm cpu settings).
the only error is that i can't limit the cpu usage.
i thought i could for example lower the vm to 60% so that my host is no longer at 50% load. (host 50% with 100% vm cpu settings).
Last edited by pn123 on 2. Jun 2022, 11:45, edited 1 time in total.
Re: Virtualbox Cpu Limiter
I have now tried it on the 2nd computer and found a single difference (in bios is also all the same)
Pc1 cpu 5950x, mobo b450 gaming plus max -> cpu limiter works
working vm status: layer : vt-x/amd-v, nested active, unrestricted exe active
pc2 cpu 5950x, mobo b550 tomahawk -> cpu limiter doesnt work
working vm status: layer: nativ api, nested inactive, unrestricted exe inactive
can this be the reason? what do i have to change?
Pc1 cpu 5950x, mobo b450 gaming plus max -> cpu limiter works
working vm status: layer : vt-x/amd-v, nested active, unrestricted exe active
pc2 cpu 5950x, mobo b550 tomahawk -> cpu limiter doesnt work
working vm status: layer: nativ api, nested inactive, unrestricted exe inactive
can this be the reason? what do i have to change?
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: Virtualbox Cpu Limiter
If you want your VM to use less CPU, give it fewer cores. 2 is usually the best number - more will often make a VM run slower. The CPU cap is not really relevant in the modern era, put it back to 100%.
But the main reason you're running slow is because Hyper-v is enabled on the host.
But the main reason you're running slow is because Hyper-v is enabled on the host.
See HMR3Init: Attempting fall back to NEM (Hyper-V is active).00:00:02.087566 HM: HMR3Init: Attempting fall back to NEM: AMD-V is not available
00:00:02.114285 NEM: info: Found optional import WinHvPlatform.dll!WHvQueryGpaRangeDirtyBitmap.
00:00:02.114335 NEM: WHvCapabilityCodeHypervisorPresent is TRUE, so this might work...
Re: Virtualbox Cpu Limiter
thank you very much for your help, it works now
the error was really the enabled hyper-v.
deactivated, reboot and it works
the error was really the enabled hyper-v.
deactivated, reboot and it works
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: Virtualbox Cpu Limiter
Pn123, forum vandalism is a serious violation. You went back and deleted the VM log. That is forum vandalism. Put it back, or you will be banned.