Message boards : Number crunching : Setting up the vbox
Message board moderation

To post messages, you must log in.

AuthorMessage
Harri Liljeroos
Avatar

Send message
Joined: 28 Sep 04
Posts: 780
Credit: 59,428,339
RAC: 46,688
Message 27958 - Posted: 25 Nov 2016, 15:51:40 UTC

What does the max # CPUs mean in the preferences? Is it the max number of CPUs used per vbox session (per task) or max number of CPUs for whole virtual box environment?
ID: 27958 · Report as offensive     Reply Quote
Toby Broom
Volunteer moderator

Send message
Joined: 27 Sep 08
Posts: 877
Credit: 742,648,180
RAC: 255,124
Message 27959 - Posted: 25 Nov 2016, 16:52:09 UTC - in response to Message 27958.  

This means max CPU's for the virtualbox instance. The max number of jobs is how many physical cores will be used
ID: 27959 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 15 Jun 08
Posts: 2678
Credit: 286,489,375
RAC: 115,036
Message 27960 - Posted: 25 Nov 2016, 16:54:20 UTC - in response to Message 27958.  

What does the max # CPUs mean in the preferences? Is it the max number of CPUs used per vbox session (per task) or max number of CPUs for whole virtual box environment?


The "Max # CPUs" setting controls <avg_ncpus>x</avg_ncpus>.
If you don´t use an app_config.xml the value x tells BOINC how many CPU cores the WU needs and the wrapper starts a VBox VM with x CPU cores.

You can overwrite both settings if you use an app_config.xml.
<avg_ncpus>y</avg_ncpus> is used by BOINC
<cmdline>--nthreads z</cmdline> is used to configure the VBox VM

The values for y and z can be different but not every combination makes sense.
ID: 27960 · Report as offensive     Reply Quote
Harri Liljeroos
Avatar

Send message
Joined: 28 Sep 04
Posts: 780
Credit: 59,428,339
RAC: 46,688
Message 27962 - Posted: 25 Nov 2016, 19:04:03 UTC

Thank you for your replies. So because I want each vbox task to use just one CPU core I should set max # CPUs to 1 and set the max # jobs to a value how many task I want to run concurrently (at the maximum).

Is the max # jobs also the limit of how many tasks are downloaded from the server? This would disable the possibility to have any meaningful cache for the sixtrack application. The vbox tasks seem to take much longer than sixtrack tasks.

I am also seeing that the CPU load is fluctuating a lot on BoincTasks. I have 4 vbox tasks running (3 Theory + 1 CMS) and only two VBoxHeadless.exe programs are using any CPU time in Windows Task Manager (there are totally 12 VBoxHeadless.exe programs running). All 4 tasks show progress in BoincTasks (slow but steady). I have to wait and see if they all finish.
ID: 27962 · Report as offensive     Reply Quote
Toby Broom
Volunteer moderator

Send message
Joined: 27 Sep 08
Posts: 877
Credit: 742,648,180
RAC: 255,124
Message 27963 - Posted: 25 Nov 2016, 20:03:34 UTC - in response to Message 27962.  

Yes that how it works.

No that's control by the boinc setting for cache, under "other" in settings

CMS and LHCb taks can be a bit light on work depending on hw queues are filled,
ID: 27963 · Report as offensive     Reply Quote

Message boards : Number crunching : Setting up the vbox


©2025 CERN