Author Topic: Throttling VirtualBox BOINC Tasks  (Read 134 times)

0 Members and 1 Guest are viewing this topic.

Offline tkelley

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Throttling VirtualBox BOINC Tasks
« on: July 08, 2018, 11:18:29 pm »
I recently installed Cosmology@Home, which spawns Linux virtual machines in Oracle VirtualBox to do the work.  They immediately began consuming 100% of the processors they were using, driving up the temperature above the set limits.  I saw reference in the development history to the addition of support for VirtualBox VMs; is there something I need to do to get TThrottle to manage BOINC tasks running in a VM?
« Last Edit: July 09, 2018, 05:45:46 am by tkelley »

Offline tkelley

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Re: Throttling VirtualBox
« Reply #1 on: July 09, 2018, 05:44:43 am »
TThrottle seems to be aware of the VMs being used by Cosmology@Home.  This line appears on the Programs tab (when "connect to BOINC client" is unchecked):

CPU: vboxwrapper_26200_windows_x86_64.exe, PID: 5560, Threads: 8

and these appear on the list on the BOINC tab:

www.cosmologyathome.org = vboxwrapper_26200_windows_x86_64
...
Slot = #vboxwrapper_26200_windows_x86_64.exe

Nonetheless, TThrottle seems unable to reduce the CPU usage of these processes.

The process that appears in Task Manager as the one that's eating all the CPU doesn't show up in TThrottle; it's called VBoxHeadless.exe.  Is there some way to add it to TThrottle as something that should be managed?

Offline fred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3312
  • eFMer
    • View Profile
    • Trails
Re: Throttling VirtualBox BOINC Tasks
« Reply #2 on: July 15, 2018, 10:08:57 am »
In the BOINC settings (Boinc Manager or BoincTasks) did you try setting Use at most xx % of CPU time.
That should limit the amount of time the CPU is allowed to run on a task.

With Throttle it's not always possible as in this case.

Offline tkelley

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Re: Throttling VirtualBox BOINC Tasks
« Reply #3 on: July 18, 2018, 03:34:21 am »
Great idea!  That worked well.  Can't believe I didn't think of it.  Thank you!