limiting cpu usage to less than 90%?

Message boards : Number crunching : limiting cpu usage to less than 90%?

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
LuDean Marvin

Send message
Joined: 19 Oct 05
Posts: 1
Credit: 8,617
RAC: 0
Message 17567 - Posted: 3 Jun 2006, 7:17:31 UTC

In the interests of prolonging the life of my cpu, I would like to limit the amount of cpu BOINC uses to less than 90%. Is such possible?
ID: 17567 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Marky-UK

Send message
Joined: 1 Nov 05
Posts: 73
Credit: 1,689,495
RAC: 0
Message 17569 - Posted: 3 Jun 2006, 7:23:57 UTC - in response to Message 17567.  

In the interests of prolonging the life of my cpu, I would like to limit the amount of cpu BOINC uses to less than 90%. Is such possible?

There's an option in new BOINC client under development that can do this, but I don't know when it'll be released.

In the mean time, you could try something like http://threadmaster.tripod.com/
ID: 17569 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
MikeMarsUK

Send message
Joined: 15 Jan 06
Posts: 121
Credit: 2,637,872
RAC: 0
Message 17575 - Posted: 3 Jun 2006, 10:01:05 UTC

Also take a look at the temperature of your CPU. A hot but idle CPU will die quicker than a cool, busy one...

ID: 17575 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Dimitris Hatzopoulos

Send message
Joined: 5 Jan 06
Posts: 336
Credit: 80,939
RAC: 0
Message 17580 - Posted: 3 Jun 2006, 18:24:21 UTC
Last modified: 3 Jun 2006, 18:28:28 UTC

You can find info on using ThreadMaster (http://threadmaster.tripod.com/)

here1 and here2 (from Einstein boards)

(works under XP also, although it doesn't mention it specifically)

For Linux, you can use cpulimit

PS: CPU utilisation (70% or 100%) doesn't tell you very much about CPU life. The things which matter are temperature and rate-of-change of it.
Best UFO Resources
Wikipedia R@h
How-To: Join Distributed Computing projects that benefit humanity
ID: 17580 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Aglarond

Send message
Joined: 29 Jan 06
Posts: 26
Credit: 446,212
RAC: 0
Message 17588 - Posted: 3 Jun 2006, 23:38:00 UTC

BoincStudio contains special version of Boinc, that can limit cpu usage. After installing you have to change the cpu_usage_limit setting in the bs_opts.xml file. Just replace the number in the line containing:
<cpu_usage_limit>-1.00</cpu_usage_limit>

with number between 0.00 and 1.00 . For example if you want 90%, you would use:
<cpu_usage_limit>0.90</cpu_usage_limit>
ID: 17588 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
stewjack

Send message
Joined: 23 Apr 06
Posts: 39
Credit: 95,871
RAC: 0
Message 17712 - Posted: 5 Jun 2006, 22:51:11 UTC - in response to Message 17567.  

In the interests of prolonging the life of my cpu, I would like to limit the amount of cpu BOINC uses to less than 90%. Is such possible?


I currently use ThreadMaster to limit my CPU. ThreadMaster can be confusing. If you need to use ThreadMaster I will attempt to help you.

Jack
ID: 17712 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
mnb

Send message
Joined: 15 Dec 05
Posts: 51
Credit: 69,458
RAC: 0
Message 20391 - Posted: 17 Jul 2006, 16:30:07 UTC

I noticed there's a new option in general preferences (when accessing general preferences via rosetta website. SIMAP for example doesn't have this option):

Use at most ??? percent of CPU time


For how long has it been there? I haven't seen any posts here about this.

Doesn't seem to do anything yet. I changed it to 50 percent and updated boinc manager. Nothing happened so I swithed it back to 100 percent.

list of my results
ID: 20391 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Feet1st
Avatar

Send message
Joined: 30 Dec 05
Posts: 1755
Credit: 4,690,520
RAC: 0
Message 20407 - Posted: 17 Jul 2006, 20:50:39 UTC - in response to Message 20391.  

...new option in general preferences

Use at most ??? percent of CPU time


Right, BOINC is working on some changes to allow such a feature. I'm thinking they had to allow access to the option before releasing the code that uses it so that beta testers could set it up and attempt to use it.

Coming soon in a new BOINC version.
Add this signature to your EMail:
Running Microsoft's "System Idle Process" will never help cure cancer, AIDS nor Alzheimer's. But running Rosetta@home just might!
https://boinc.bakerlab.org/rosetta/
ID: 20407 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
mnb

Send message
Joined: 15 Dec 05
Posts: 51
Credit: 69,458
RAC: 0
Message 20441 - Posted: 18 Jul 2006, 5:05:40 UTC - in response to Message 20407.  

Thanks. Yeah, I read someplace that versio 5.6 ?? would have this option.


list of my results
ID: 20441 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Feet1st
Avatar

Send message
Joined: 30 Dec 05
Posts: 1755
Credit: 4,690,520
RAC: 0
Message 20471 - Posted: 18 Jul 2006, 14:55:09 UTC

Yes, I think that's right.
Add this signature to your EMail:
Running Microsoft's "System Idle Process" will never help cure cancer, AIDS nor Alzheimer's. But running Rosetta@home just might!
https://boinc.bakerlab.org/rosetta/
ID: 20471 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
John McLeod VII
Avatar

Send message
Joined: 17 Sep 05
Posts: 108
Credit: 195,137
RAC: 0
Message 21089 - Posted: 25 Jul 2006, 2:17:24 UTC - in response to Message 20441.  

Thanks. Yeah, I read someplace that versio 5.6 ?? would have this option.


It is already being tested in 5.5.x (development builds) - so far, that portion seems to work OK. It is always done as multiples of a second. For example, 0.90 would be 9 seconds on and 1 second off. 0.50 would be one second on and one second off. An early bug caused it to default to 0.01 or one second on followed by 99 seconds off - I would not recommend this setting.


BOINC WIKI
ID: 21089 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile adrianxw
Avatar

Send message
Joined: 18 Sep 05
Posts: 653
Credit: 11,840,739
RAC: 274
Message 21229 - Posted: 26 Jul 2006, 15:40:37 UTC
Last modified: 26 Jul 2006, 15:44:02 UTC

It's 30C in my office right now. My temperature alert program started beeping. I know the fins on the heat sink are clean because I only cleaned then a week or so back.

I took the side off the machine, that dropped the CPU from 70C to 64-65C. I obviously need more air movement in there.

It is this machine. I know Prescotts are designed to run hot but it does concern me. My Northwood machines are fine.

It runs hottest if both virtual CPU's are running SIMAP.
Wave upon wave of demented avengers march cheerfully out of obscurity into the dream.
ID: 21229 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Gerry Rough
Avatar

Send message
Joined: 2 Jan 06
Posts: 111
Credit: 1,389,340
RAC: 0
Message 21234 - Posted: 26 Jul 2006, 16:49:31 UTC - in response to Message 21229.  

It's 30C in my office right now. My temperature alert program started beeping. I know the fins on the heat sink are clean because I only cleaned then a week or so back.

I took the side off the machine, that dropped the CPU from 70C to 64-65C. I obviously need more air movement in there.

It is this machine. I know Prescotts are designed to run hot but it does concern me. My Northwood machines are fine.

It runs hottest if both virtual CPU's are running SIMAP.


I had the same problem when I upgraded to a P4 3.2 gig rig last year. Taking the side panel off helps, but the best solution until the temperature goes down is to keep your CPU setting preference at 1: doing two at a time sounds great, but the benefits are marginal, and lots more heat when you might not have that much room to spare in the CPU temp department. If your beeps are going off, you might want to start thinking about the life of your PC: Beeps are not a good thing here.

Gerry


(Click for detailed stats)
ID: 21234 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Whl.

Send message
Joined: 29 Dec 05
Posts: 203
Credit: 275,802
RAC: 0
Message 21237 - Posted: 26 Jul 2006, 17:25:04 UTC - in response to Message 21089.  
Last modified: 26 Jul 2006, 17:28:14 UTC

Thanks. Yeah, I read someplace that versio 5.6 ?? would have this option.


It is already being tested in 5.5.x (development builds) - so far, that portion seems to work OK. It is always done as multiples of a second. For example, 0.90 would be 9 seconds on and 1 second off. 0.50 would be one second on and one second off. An early bug caused it to default to 0.01 or one second on followed by 99 seconds off - I would not recommend this setting.

Would that kill off a Rosetta Job if it restarted too many times, or does'nt it work like that ?

ID: 21237 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Feet1st
Avatar

Send message
Joined: 30 Dec 05
Posts: 1755
Credit: 4,690,520
RAC: 0
Message 21238 - Posted: 26 Jul 2006, 17:32:01 UTC - in response to Message 21237.  

Would that kill of a Rosetta Job if it restarted too many times or does'nt it work like that?

Well, I'm guessing this 1 second out of 10 delay will not be done as a restart. That would be a significant waste of resources getting reestablished. So it would be like keeping the program in memory and sending it the instruction to suspend, and then a second later telling it to execute again. So, that's not really a full restart of the WU, because it's already in memory and still has temporary data that has not been checkpointed.

If you actually remove from memory... and so a full "restart" is needed from the WU's last checkpoint... and this has happend from the SAME checkpoint (i.e. no new checkpoint has been reached) four times previously, then the watchdog kicks in and ends the WU, as the WU doesn't seem to be making any progress for some reason.

Add this signature to your EMail:
Running Microsoft's "System Idle Process" will never help cure cancer, AIDS nor Alzheimer's. But running Rosetta@home just might!
https://boinc.bakerlab.org/rosetta/
ID: 21238 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Whl.

Send message
Joined: 29 Dec 05
Posts: 203
Credit: 275,802
RAC: 0
Message 21239 - Posted: 26 Jul 2006, 17:44:20 UTC

I'd imagine this would need thorough testing at Ralph well before being released here, as I could see potential problems with the watchdog, checkpointing and settings in peoples preferences. I'm sure it will be Feet1st.
ID: 21239 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Feet1st
Avatar

Send message
Joined: 30 Dec 05
Posts: 1755
Credit: 4,690,520
RAC: 0
Message 21241 - Posted: 26 Jul 2006, 17:58:44 UTC - in response to Message 21239.  

I'd imagine this would need thorough testing at Ralph well before being released here

...well, we're talking about a BOINC change here. BOINC's job is to try to add new features in a mannar that is not disruptive to the projects. From the project point of view, I don't think they are going to refuse work requests from a newer BOINC release. So, to some extent they won't be aware of a BOINC client change. And Ralph can't really be changed to REQUIRE the beta BOINC release either, because they need to test new WUs too.

...but yes! If you are reading this and you are a BOINC beta tester, please signup on Ralph and see if you can get some WUs downloaded and tested. And post any apparent issues in the Ralph feedback thread, and point out your BOINC beta version in your post.

I'm sure that BakerLab gets new BOINC versions on their machines for testing as well.
Add this signature to your EMail:
Running Microsoft's "System Idle Process" will never help cure cancer, AIDS nor Alzheimer's. But running Rosetta@home just might!
https://boinc.bakerlab.org/rosetta/
ID: 21241 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Whl.

Send message
Joined: 29 Dec 05
Posts: 203
Credit: 275,802
RAC: 0
Message 21242 - Posted: 26 Jul 2006, 18:23:14 UTC
Last modified: 26 Jul 2006, 18:41:00 UTC

Yeah, I know it is a BOINC change. It would probably be tried out inhouse first (BOINC+ Rosetta),then any alterations to the Rosetta app would be made (if any were needed at all) then a thorough test on Ralph.

This is another reason I dont post here much BTW. A simple thing turns into a thousand paragraphs. Surely we can leave out all the obvious stuff.

ID: 21242 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Piciacik

Send message
Joined: 28 Jul 06
Posts: 1
Credit: 75
RAC: 0
Message 21353 - Posted: 28 Jul 2006, 23:06:07 UTC

for all of you willing to limit CPU usage check this out http://mion.faireal.net/BES
ID: 21353 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Avi

Send message
Joined: 2 Aug 06
Posts: 58
Credit: 95,619
RAC: 0
Message 22167 - Posted: 10 Aug 2006, 5:36:44 UTC

why doesn't boinc just integrate the threadmaster functionality? Going on and off constantly sounds somewhat stressful to the cpu.
ID: 22167 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
1 · 2 · Next

Message boards : Number crunching : limiting cpu usage to less than 90%?



©2024 University of Washington
https://www.bakerlab.org