Message boards :
Number crunching :
Best way to free cores when running multiple projects
Message board moderation
Author | Message |
---|---|
mikeej42 Send message Joined: 26 Oct 00 Posts: 109 Credit: 791,875,385 RAC: 9 |
I am running multiple BOINC projects (currently SETI and Eintein). If you are running multiple projects what is the best way to free CPU core(s) to help GPU based computation? What are the lines that need to be added to app_info.xml or cc_config.xml? |
Mike Davis Send message Joined: 17 May 99 Posts: 240 Credit: 5,402,361 RAC: 0 |
<app> <name>setiathome_v7</name> <gpu_versions> <gpu_usage>0.33</gpu_usage> <cpu_usage>.2</cpu_usage> </gpu_versions> </app> The option in bold is what you need to change for reserving cores. Or you can just change the option in your boinc preferences to 75%, 87.5% etc as this is only for cpu apps, gpu apps can use any spare |
mikeej42 Send message Joined: 26 Oct 00 Posts: 109 Credit: 791,875,385 RAC: 9 |
What is the equivalent line(s) in cc_config.xml to changing boinc preferences to 75% cpu utilization? |
Mike Davis Send message Joined: 17 May 99 Posts: 240 Credit: 5,402,361 RAC: 0 |
just go into your computing preferences in boinc manager. It should be labelled as 'On multiprocessor systems use at most ... % of the processors' or something very similar. Just change that to 75% |
spitfire_mk_2 Send message Joined: 14 Apr 00 Posts: 563 Credit: 27,306,885 RAC: 0 |
BOINC Manager>Tools>Computing preferences>processor usage tab>On multiprocessor systems, use at most xx.xx % of the processors I have quad core, I set it 75% so that I use 3 out of 4 cores. |
Fred E. Send message Joined: 22 Jul 99 Posts: 768 Credit: 24,140,697 RAC: 0 |
What is the equivalent line(s) in cc_config.xml to changing boinc preferences to 75% cpu utilization?There's not a good one. Here's a comment about the only one that is close from Jord's FAQ on cc_config.xml: <ncpus> Another Fred Support SETI@home when you search the Web with GoodSearch or shop online with GoodShop. |
kittyman Send message Joined: 9 Jul 00 Posts: 51468 Credit: 1,018,363,574 RAC: 1,004 |
just go into your computing preferences in boinc manager. It should be labelled as 'On multiprocessor systems use at most ... % of the processors' or something very similar. Just change that to 75% That would not work too well for him, as he has some 171 computers or so he is administrating. It would have to be the global setting in preferences to update them all. Unless he only wants to change a few select computers. "Freedom is just Chaos, with better lighting." Alan Dean Foster |
mikeej42 Send message Joined: 26 Oct 00 Posts: 109 Credit: 791,875,385 RAC: 9 |
Yes, pushing out to all nodes is the issue. Hopefully I can figure out how to recover my account on BOINCSTATS-BAM and use the groups to push out a new global_prefs.xml. setting ncpus did free a core but I will head the warning that it should not be used. |
juan BFP Send message Joined: 16 Mar 07 Posts: 9786 Credit: 572,710,851 RAC: 3,799 |
Not the right thread but anyone knows who to make the boinc to run for example: 2 GPUGrid WU + 4 Cuda WU + 6 CPU task fixed on the same host Explain: I have 2x690 and want to run GPUGrid on one GPU (2 WU) and SETI on the second (4 Cuda WU) the rest is to be crunched by the CPU, ask because i don´t want to leave the scheduler choose what to run, i want to decide how many task of each king will run at any given time. I know there is a set for fix the max number of concurrent task (max_concurrent) on each hosts, but the user manual does not expain if the setting is for each project or the setting is global. |
MarkJ Send message Joined: 17 Feb 08 Posts: 1139 Credit: 80,854,192 RAC: 5 |
Not the right thread but anyone knows who to make the boinc to run for example: About all you can do is exclude GPUgrid from one and vice-versa on the other one. Use the exclude_gpu tags in cc_config to do this. It causes scheduling issues though. BOINC blog |
mikeej42 Send message Joined: 26 Oct 00 Posts: 109 Credit: 791,875,385 RAC: 9 |
So when using Intel CPUs that have hyper-threading (4 cores and 8 threads)and you are trying to "free a core for updating a GPU" should MAX CPU percentage be at 87.5 or 75? |
juan BFP Send message Joined: 16 Mar 07 Posts: 9786 Credit: 572,710,851 RAC: 3,799 |
Not the right thread but anyone knows who to make the boinc to run for example: With 7.0.64 there are a new variable <max_concurrent> that allow you to do that, more easely, afeter my last post i made some test and apears the configuration works per project allowing exactly what i want to do. You choose the exact number of concurrent task per aplication. I ´m just not sureif that is the best way to do that. |
juan BFP Send message Joined: 16 Mar 07 Posts: 9786 Credit: 572,710,851 RAC: 3,799 |
So when using Intel CPUs that have hyper-threading (4 cores and 8 threads)and you are trying to "free a core for updating a GPU" should MAX CPU percentage be at 87.5 or 75? The number depens if you have HT enabled or no in your BIOS, if enabled use 87,5 if no 75. Normaly the defoult of the BIOS is HT ON. |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14649 Credit: 200,643,578 RAC: 874 |
Not the right thread but anyone knows who to make the boinc to run for example: The app_config.xml file is per project, because it lives in the project directory. Within the file, max_concurrent applies to the <app><name> tag - so at GPUGrid you can set different values for acemdlong and acemdshort, for example. What you can't do is to set a value for the project as a whole, so it would be best to restrict yourself to a single queue and set the value to suit that one. |
juan BFP Send message Joined: 16 Mar 07 Posts: 9786 Credit: 572,710,851 RAC: 3,799 |
Not the right thread but anyone knows who to make the boinc to run for example: I made that and works perfect!, thanks for the info. |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.