Utilizing all cores on Raspberry Pi 3

Questions and Answers : Unix/Linux : Utilizing all cores on Raspberry Pi 3
Message board moderation

To post messages, you must log in.

AuthorMessage
DeepCore

Send message
Joined: 30 Jul 04
Posts: 1
Credit: 681,806
RAC: 0
Denmark
Message 1878773 - Posted: 17 Jul 2017, 18:21:55 UTC

Hi there.
We have a handfull of Raspberry Pi 3's that we would like to use to crunch Seti@Home with boinc client.
boinc has been installed in raspian with apt-get, and the version is currently 7.4.23.

Currently when i do a "ps", i see two cpu's running at 100% using boinc, and two ideling.
I would like to run all cpu's at close to 100% (still need ssh access, though).

I have spend a few hours NOT figuring out how to set the cc_config.xml up correctly to do this.
Could someone please tell which switches i need to set to make all 4 cores run at max.
Note: I only have ssh access to the rpi's, no physical screen.

Thanks :-)
ID: 1878773 · Report as offensive
Profile someguyincanada

Send message
Joined: 6 Jul 02
Posts: 144
Credit: 912,086
RAC: 0
Canada
Message 1882582 - Posted: 7 Aug 2017, 5:53:06 UTC - in response to Message 1878773.  

i have 3 cores working and 1 idle. i havent figured out how to get the other one working.
ID: 1882582 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1882585 - Posted: 7 Aug 2017, 6:17:10 UTC
Last modified: 7 Aug 2017, 6:19:46 UTC

CPU core amount is set via global_prefs.xml or when in use global_prefs_override.xml with the <max_ncpus_pct>N</max_ncpus_pct> value set to 100 for 100% of CPU cores. The older <max_cpus>N</max_cpus> value isn't used by BOINC 7.

global_prefs.xml is essentially what you set via the project's computing preferences.
global_prefs_override.xml is set either via the BOINC Manager GUI, or made by hand. This latter version will as its name suggests override the other preferences (file).
ID: 1882585 · Report as offensive
Profile someguyincanada

Send message
Joined: 6 Jul 02
Posts: 144
Credit: 912,086
RAC: 0
Canada
Message 1882586 - Posted: 7 Aug 2017, 6:28:49 UTC

this is what i have from computing preferences

Use at most 100 % of the CPUs
Use at most 100 % of CPU time
When to suspend
Suspend when computer is on battery
Suspend when computer is in use
Suspend GPU computing when computer is in use
'In use' means mouse/keyboard input in last 3 minutes
Suspend when no mouse/keyboard input in last --- minutes
Suspend when non-BOINC CPU usage is above --- %
Compute only between ---
Other
Store at least 0.1 days of work
Store up to an additional 0.5 days of work
Switch between tasks every 60 minutes
Request tasks to checkpoint at most every 60 seconds
Disk
Use no more than --- GB
Leave at least --- GB free
Use no more than --- % of total
Memory
When computer is in use, use at most 100 %
When computer is not in use, use at most 100 %
Leave non-GPU tasks in memory while suspended
Page/swap file: use at most 75 %
Network
Usage limits
Limit download rate to --- KB/second
Limit upload rate to --- KB/second
Limit usage to --- MB every --- days
When to suspend
Transfer files only between ---
Other
Skip data verification for image files
Confirm before connecting to Internet
Disconnect when done
Signature space for rent. Spacious lot available immediately. Includes utilities. Inquire within.
ID: 1882586 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1882599 - Posted: 7 Aug 2017, 9:33:27 UTC - in response to Message 1882586.  

Looking at the tasks it returned, you are running 4 tasks at a time, else it's not possible that it returned 4 tasks on the 6th of August, all with run times of about a day.
ID: 1882599 · Report as offensive
Profile someguyincanada

Send message
Joined: 6 Jul 02
Posts: 144
Credit: 912,086
RAC: 0
Canada
Message 1882745 - Posted: 8 Aug 2017, 8:10:34 UTC

im a idiot lol. the 4th one is doing WU's. Its not updating the status in real time, only when you click on it. possible bug?
Signature space for rent. Spacious lot available immediately. Includes utilities. Inquire within.
ID: 1882745 · Report as offensive
rob smith Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer moderator
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 22536
Credit: 416,307,556
RAC: 380
United Kingdom
Message 1882747 - Posted: 8 Aug 2017, 8:22:55 UTC

"Known feature"...
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 1882747 · Report as offensive

Questions and Answers : Unix/Linux : Utilizing all cores on Raspberry Pi 3


 
©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.