Limit CPU Cores per WU

Message boards : Problems and Help : Limit CPU Cores per WU
Message board moderation

To post messages, you must log in.

AuthorMessage
[H]Skillz

Send message
Joined: 30 May 17
Posts: 2
Credit: 882,444
RAC: 75
Message 15171 - Posted: 9 Jul 2017, 17:24:57 UTC

I have a 64 core and 48 core system running these projects occasionally. While I realize their reported "time left" is usually way off, the project still consumes 100% of the CPU cores while it does the projects that can take up to a day or more to complete.

I wish to limit the number of cores the project can use to around 8 or 16 cores so other projects can still run concurrently with it.

This is my app_config.
<app_config>
<app>
<name>blender</name>
<max_concurrent>1</max_concurrent>
</app>
<app_version>
<app_name>blender</app_name>
<plan_class>mt</plan_class>
<avg_ncpus>16</avg_ncpus>
<cmdline>--nthreads 8</cmdline>
</app_version>
</app_config>

However, it doesn't seem to make any difference. My 64 core rig still claims that it's utilizing all 64 cores.
ID: 15171 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
[H]Skillz

Send message
Joined: 30 May 17
Posts: 2
Credit: 882,444
RAC: 75
Message 15172 - Posted: 9 Jul 2017, 17:27:47 UTC

Well I think it is working after all. Shortly after making this post I decided to see how much CPU the task was utilizing and it's claiming that it's only using 800% of the CPUs which in linux = 8 cores @ 100%.

Other tasks have begun running as a result.
ID: 15172 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile DoctorNow
Project donor
Avatar

Send message
Joined: 11 Apr 05
Posts: 403
Credit: 2,182,867
RAC: 6
Message 15173 - Posted: 10 Jul 2017, 8:42:43 UTC

Yup, looks correct so far.
Been a while since somebody asked that, but when that happens I always refer to a post I made years ago like this. Maybe we should make a sticky for it that everyone can look at?
Life is Science, and Science rules. To the universe and beyond
Proud member of BOINC@Heidelberg
My BOINC-Stats
ID: 15173 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile bcavnaugh
Avatar

Send message
Joined: 5 Dec 16
Posts: 1
Credit: 149,148
RAC: 0
Message 15346 - Posted: 31 Jan 2018, 1:18:48 UTC

Thank you DoctorNow I have got this working Great now.

Crunching@EVGA The Number One Team in the BOINC Community. Folding@EVGA The Number One Team in the Folding@Home Community.
ID: 15346 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Problems and Help : Limit CPU Cores per WU