Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 6
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 594 times and has 5 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
CPU throttle tool for BOINC ?

Hello,

i recently switched some of my machines from UD to BOINC, but the others are still running UD. The reason for that is because i´ve used WCGridMaxCPU.exe in batch mode to change the CPU utilisation. I´m running some programs on a weekly basis, so i set the cpu utilisation to 25%, ran the job and set cpu utilisation back to 100%.

I´ve searched in the forums, but could not find any information about a similar tool being available for BOINC.

I´m wondering if there is any other way to set the cpu utilisation running BOINC, that can be used in batch mode.

Thanks in advance for your help.

Best regards, aurika
[Nov 13, 2007 3:44:03 PM]   Link   Report threatening or abusive post: please login first  Go to top 
KLiK
Master Cruncher
Croatia
Joined: Nov 13, 2006
Post Count: 3108
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: CPU throttle tool for BOINC ?

you can setup the BOINC weekly preferences in Profile menu in My Grid link! (look above, 2nd on the right from Forum)

or you can go to Preferences in BOINC manager and go to 25%, or 100%...
----------------------------------------
oldies:UDgrid.org & PS3 Life@home


non-profit org. Play4Life in Zagreb, Croatia
[Nov 13, 2007 3:54:10 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: CPU throttle tool for BOINC ?

Hello KLik,

thanks for your quick reply.

But as i already mentioned, i need this to run in batch-mode. There is no way to know in advance, when this job will run.

WCGridMaxCPU.exe did a great job in this case.

Best regards, Andreas
[Nov 13, 2007 6:14:09 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
Re: CPU throttle tool for BOINC ?

There are a few solutions you could employ, one being an install of BOINC as a service and using the net stop/start pause/continue command line instructions which you can put in the batch. Whether it's stopped for a while or runs at 25% does not make much of a difference.

I do though wonder, given that BOINC anyway yields to any other above lowest priority process, if you are making observations that your jobs are being slowed down by BOINC at 100%.

Added:

The batch lines would go like:

REM Pause the BOINC Core client Service
NET PAUSE "BOINC"
....
Run my periodic jobs routine lines
....
REM Restart the BOINC Core client Service
NET CONTINUE "BOINC"

Given you're contend that BOINC / WCG agent keep running at a lower pace hence do not seem to be short of RAM, set the *Leave In Memory* option on. This allows resume without a second of loss, else it would resume at last checkpoints.

Edit: Corrected following comments from Didactylos below
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
----------------------------------------
[Edit 1 times, last edit by Sekerob at Nov 13, 2007 7:34:35 PM]
[Nov 13, 2007 6:43:24 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: CPU throttle tool for BOINC ?

Sekerob, you know I hate to contradict you... :+)

Stopping the service exits the core client, so "Leave in memory" is irrelevant.

A more elegant solution might be to use boinccmd to suspend the core client, thus allowing you to take advantage of the "leave in memory" option.

Syntax is:
boinccmd [--host hostname] [--passwd passwd] --set_run_mode {always | auto | never} [ duration ]

If duration is zero or absent, this mode is permanent. Otherwise, after 'duration' seconds elapse, revert to last permanent mode.
[Nov 13, 2007 6:51:49 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
Re: CPU throttle tool for BOINC ?

Me bad, looked and saw BOINC.... on second look its BOINCmgr. blushing

Added:

Used same as before, but instead of the "net stop/start" command used the "net pause/continue" commands. It did not unload. "Continue" immediately after the periodic job is done however long or short they'd be.
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
----------------------------------------
[Edit 1 times, last edit by Sekerob at Nov 13, 2007 7:28:00 PM]
[Nov 13, 2007 7:12:31 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread