Control CPU usage?

Message boards : Number crunching : Control CPU usage?
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile pgroom
Volunteer tester
Avatar

Send message
Joined: 26 Mar 03
Posts: 3
Credit: 8,200,675
RAC: 0
Australia
Message 12595 - Posted: 27 Jul 2004, 4:53:01 UTC

I don't suppose there is any way to limit the max CPU that the BOINC client can utilise at any given time?

I'm not talking about resource share between projects but PC CPU utilsation by the client itself.



ID: 12595 · Report as offensive
Profile Paul D. Buck
Volunteer tester

Send message
Joined: 19 Jul 00
Posts: 3898
Credit: 1,158,042
RAC: 0
United States
Message 12782 - Posted: 27 Jul 2004, 15:48:02 UTC - in response to Message 12595.  

> I don't suppose there is any way to limit the max CPU that the BOINC client
> can utilise at any given time?
>
> I'm not talking about resource share between projects but PC CPU utilsation by
> the client itself.

There is, just start working and the resource consumption by the BOINC Software and the science application decrease by themselves. When I am active on my MAC during the day the processing of BOINC is down in the 60% to 90% range because there are other processes running.

There is no reason to try to artificially "throttle" back BOINC because the natural preemptive multitasking takes care of the details for you.

Well, if you are running any varient of windows it does not do that well as it turns out. But thats what you get when you buy pretty rather than good...
ID: 12782 · Report as offensive
Petit Soleil
Avatar

Send message
Joined: 17 Feb 03
Posts: 1497
Credit: 70,934
RAC: 0
Canada
Message 12797 - Posted: 27 Jul 2004, 16:28:47 UTC

We all know that any given processor will run 100% SETI if no other process are running. We all know that if a process uses 60% SETI will have 40% of CPU time. The question is;

Is there a way to make SETI use let say 50 or 75% of the processor resources even when no other tasks are running. I guess some users are concerned about their hardware running full throttle. I have once quit playing a particular game on my laptop because it became so hot I could barely touch the case. I change my laptop every year or so, but I understand those who can't and want to keep their baby running well for many years. I am not saying that SETI is a CPU killer but still some would prefer to run it at 50% CPU resources. Computers are just like any human made machine. Your car will most probably last longer if you take care of it than if you drive it like a race driver. It's just commonsense. I know there are some Freeware out there that somehow tricks windows to make the CPU run at a given % but I haven't tried any.

Any suggestions?

Thanks
Marc






ID: 12797 · Report as offensive
Profile pgroom
Volunteer tester
Avatar

Send message
Joined: 26 Mar 03
Posts: 3
Credit: 8,200,675
RAC: 0
Australia
Message 13278 - Posted: 28 Jul 2004, 22:47:19 UTC

Thanks Marc, thats exactly what I was asking about.

I could run up several more PC's if I were able to restrict BOINC's maximum CPU usage to say 60% no matter what the PC was doing at any time.

Anyone got any ideas?

ID: 13278 · Report as offensive
John McLeod VII
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jul 99
Posts: 24806
Credit: 790,712
RAC: 0
United States
Message 13311 - Posted: 29 Jul 2004, 0:06:09 UTC - in response to Message 13278.  

> Thanks Marc, thats exactly what I was asking about.
>
> I could run up several more PC's if I were able to restrict BOINC's maximum
> CPU usage to say 60% no matter what the PC was doing at any time.
>
> Anyone got any ideas?
>
The developers discussed this as a possibility, I don't know what the decision was.

ID: 13311 · Report as offensive
ric
Volunteer tester
Avatar

Send message
Joined: 16 Jun 03
Posts: 482
Credit: 666,047
RAC: 0
Switzerland
Message 13313 - Posted: 29 Jul 2004, 0:16:35 UTC - in response to Message 13278.  

> CPU usage to say 60% no matter what the PC was doing at any time.
>
> Anyone got any ideas?
>

On a pentium with HT enabled, the taskmanager offers the possibility
to "narrow" the usage of an application to just one of the 2 virtual cpus.

open the taskmanager, tab processes, click a task, right-mouse-click, on the context menu look for Processor Affinity
in my case, 2 checkboxes appears cpu0 & cpu1


I did it for testing. The boinc client was up, 2 instances of seti where also running, but the cpu usage still not went above 50 %.

==>But, I have to do this manualy, this is not an "automatic" solution.


ric


ID: 13313 · Report as offensive

Message boards : Number crunching : Control CPU usage?


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