Limiting avaliable CPU cores
log in

Advanced search

Message boards : Number crunching : Limiting avaliable CPU cores

Author Message
Ryan Munro
Send message
Joined: 27 Apr 10
Posts: 22
Credit: 663,327,896
RAC: 114
Message 20137 - Posted: 17 Dec 2014, 23:46:50 UTC

Any idea how I stop a single CPU unit using all my cores? I have it set to 3 in boinc computing preferences but when the unit starts running it maxes out the CPU and has (12 cores) next to the work unit name?

Profile Slicker
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 11 Jun 09
Posts: 2525
Credit: 740,580,099
RAC: 2
Message 20139 - Posted: 18 Dec 2014, 15:46:45 UTC

Go into the Collatz preferences and uncheck the following:
OpenCL for Intel CPUs (opencl_intel_cpu)
OpenCL for AMD & Intel CPUs (opencl_amd_cpu)

OpenCL for CPU will always use 100% of the cores. If you disable those apps, you will get the regular CPU app which uses only one core per workunit.

Ryan Munro
Send message
Joined: 27 Apr 10
Posts: 22
Credit: 663,327,896
RAC: 114
Message 20141 - Posted: 18 Dec 2014, 19:50:55 UTC - in response to Message 20139.

Ok but as I am not using my GPU for collatz that leaves all the boxes unchecked?

Profile arkayn
Volunteer tester
Avatar
Send message
Joined: 30 Aug 09
Posts: 219
Credit: 676,877,192
RAC: 28,917
Message 20144 - Posted: 19 Dec 2014, 7:02:07 UTC - in response to Message 20141.

Ok but as I am not using my GPU for collatz that leaves all the boxes unchecked?


That is fine as long as you have use CPU selected up above.
____________

Ageless
Avatar
Send message
Joined: 17 Jun 09
Posts: 1
Credit: 344,852
RAC: 0
Message 20145 - Posted: 19 Dec 2014, 8:54:54 UTC - in response to Message 20139.

OpenCL for CPU will always use 100% of the cores.

Hmmm, you sure? The older multi-threaded tasks would run on all cores no matter how many you had set were available to BOINC. But I have set BOINC to use 3 CPU cores, and got the one OpenCL CPU Mini running on 3 of my 4 cores.



It even continues to run now I have set BOINC back to suspend - time of day... which must either be a bug with BOINC 7.4.36, or the app ignoring BOINC its suspend request. ;-)
____________
Jord

-The BOINC FAQ Service
-CUDA/Stream FAQ


Post to thread

Message boards : Number crunching : Limiting avaliable CPU cores


Main page · Your account · Message boards


Copyright © 2018 Jon Sonntag; All rights reserved.