change the used cpus without restarting the client

Message boards : BOINC client : change the used cpus without restarting the client
Message board moderation

To post messages, you must log in.

AuthorMessage
mahdia

Send message
Joined: 24 Feb 06
Posts: 14
Germany
Message 4981 - Posted: 12 Jul 2006, 6:32:27 UTC

Hello from Berlin !

I wonder if there is a possibility to change the number of used cpus at any time without restarting the boinc client and so force the applications to restart at last checkpoint.
Currently I use a little script, that modifies global_prefs_override.xml and stops and restarts the client.

Perhaps there is some boinc api method to call to do this ?

Regards, Frank
ID: 4981 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15482
Netherlands
Message 4982 - Posted: 12 Jul 2006, 8:13:41 UTC - in response to Message 4981.  

Change the number of CPUs through your preferences site, update BOINC for that project. At the next switch time for applications, the next number of CPUs will be used.

ID: 4982 · Report as offensive
mahdia

Send message
Joined: 24 Feb 06
Posts: 14
Germany
Message 4983 - Posted: 12 Jul 2006, 8:54:05 UTC

That's the normal way, but this doesn't fulfill my needs.
I want to change the used cpus immediately by running a shell script.
The original reason to do this was noise reduction, because my dual core box makes much noise while using 2 cpus for boinc, so i decrease it at morning to one cpu, and when i leave the office i increase it to 2 cpus, because no one is at the office any more and would be irritated by the noise.

Regards, Frank
ID: 4983 · Report as offensive
mahdia

Send message
Joined: 24 Feb 06
Posts: 14
Germany
Message 4998 - Posted: 13 Jul 2006, 5:26:35 UTC

Ok, I found the solution:

boinccmd --read_global_prefs_override

does the job.


ID: 4998 · Report as offensive

Message boards : BOINC client : change the used cpus without restarting the client

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.