Questions and Answers : Windows : Unable to set priority of Virtualbox processing
Message board moderation

To post messages, you must log in.

AuthorMessage
Darrell

Send message
Joined: 8 Jul 08
Posts: 11
Credit: 21,331,088
RAC: 12,839
Message 28723 - Posted: 30 Jan 2017, 0:21:11 UTC

When the Virtualbox applications run on all or nearly all cores, they lockout other processing, including the keyboard, and other applications.

Can the applications/Virtualbox processing priority be set lower to allow low CPU usage above them (e.g., windows explorer)?
ID: 28723 · Report as offensive     Reply Quote
Crystal Pellet
Volunteer moderator
Volunteer tester

Send message
Joined: 14 Jan 10
Posts: 967
Credit: 6,362,338
RAC: 342
Message 28746 - Posted: 31 Jan 2017, 9:01:55 UTC - in response to Message 28723.  

When the Virtualbox applications run on all or nearly all cores, they lockout other processing, including the keyboard, and other applications.

Can the applications/Virtualbox processing priority be set lower to allow low CPU usage above them (e.g., windows explorer)?

It can't be done by BOINC, vboxwrapper or the project.

You have to do it yourself, although lowering the VBoxHeadless processes directly is also not possible.
Oracle (developer of VirtualBox) decided some time ago for security reasons to make that impossible.

There is a work around:
Lower the priority of VBoxSVC.exe. I always set it to "lower than normal" and not the lowest. So above the other BOINC tasks, that normally have the lowest "idle" priority.

After you have set VBoxSVC.exe to "lower than normal", you can start BOINC-VM-tasks.
If you don't see VBoxSVC.exe, because there are no VM's running, start VirtualBox Manager and VBoxSVC.exe will appear.

To automate it a bit you can use Fred Melgert's Priority programme: http://efmer.eu/download/boinc/priority/Priority_1_2.zip

Fred is the programmer of BoincTasks too.
ID: 28746 · Report as offensive     Reply Quote
marmot
Avatar

Send message
Joined: 5 Nov 15
Posts: 127
Credit: 6,221,829
RAC: 0
Message 28913 - Posted: 18 Feb 2017, 21:55:29 UTC
Last modified: 18 Feb 2017, 21:56:05 UTC

I've been using an app called Process Hacker that keeps a whitelist of apps and the priority you set it at as long as you tag the save option in the right click menu. It automatically adjusts all processes in RAM to saved settings when you load it.
It helped solve the problem of GPU apps dropping out of RAM regularly while the CPU had a full implement of vLHC running at normal priority. I whitelisted SETI v8 to above-normal and the WU's then were able to keep their CPU cycles secure and the GPU usage chart kept a green filled flow of 98-99% continuous.

(I get no kickbacks from that programmer. I just love the app)
ID: 28913 · Report as offensive     Reply Quote
Darrell

Send message
Joined: 8 Jul 08
Posts: 11
Credit: 21,331,088
RAC: 12,839
Message 29233 - Posted: 13 Mar 2017, 22:56:58 UTC - in response to Message 28746.  

@ Crystal Pellet:

Thank you for the technique - it works great, and I apologize for being so slow returning to thank you.
ID: 29233 · Report as offensive     Reply Quote
Darrell

Send message
Joined: 8 Jul 08
Posts: 11
Credit: 21,331,088
RAC: 12,839
Message 29234 - Posted: 13 Mar 2017, 22:58:20 UTC - in response to Message 28913.  

@ marmot:

Thanks for the reference. It looks to be quite powerful and I will need some time to check it out. Sorry for the slow reply.
ID: 29234 · Report as offensive     Reply Quote

Questions and Answers : Windows : Unable to set priority of Virtualbox processing


©2020 CERN