Switching between "idle" and "in use" configs

Message boards : Number crunching : Switching between "idle" and "in use" configs
Message board moderation

To post messages, you must log in.

AuthorMessage
Gustavo Kaufmann

Send message
Joined: 22 Nov 00
Posts: 2
Credit: 4,290,139
RAC: 16
Brazil
Message 949171 - Posted: 23 Nov 2009, 2:52:47 UTC

Gents,
I'm trying to program my Boinc manager to switch between "idle" and "in use" modes but I can't find a way to do so. I'd like something like 10% of processor use while I'm using the computer and 100% processor use when its idle. Is it possible to do so? Has anyone tried it?

Regards!
===*===*===*===*===*===*===*===*===*===
Gustavo Kaufmann
msn: kaufmann_gustavo@hotmail.com
www.portalcr.com.br
ID: 949171 · Report as offensive
Luke
Volunteer developer
Avatar

Send message
Joined: 31 Dec 06
Posts: 2546
Credit: 817,560
RAC: 0
New Zealand
Message 949172 - Posted: 23 Nov 2009, 2:58:24 UTC

As far as I know (It may actually be possible), you can only suspend work while the computer is in use. Not throttle it down.

If you want to suspend work whilst your computer is in use, go to:
Your Account > Computing Preferences > And change "Suspend work while computer is in use?" to yes.

Hope that helps. Wait for a few more answers since I can't be sure there isn't that option.

- Luke.
- Luke.
ID: 949172 · Report as offensive
Profile Gary Charpentier Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 25 Dec 00
Posts: 30653
Credit: 53,134,872
RAC: 32
United States
Message 949175 - Posted: 23 Nov 2009, 3:20:58 UTC - in response to Message 949171.  

Gents,
I'm trying to program my Boinc manager to switch between "idle" and "in use" modes but I can't find a way to do so. I'd like something like 10% of processor use while I'm using the computer and 100% processor use when its idle. Is it possible to do so? Has anyone tried it?

Regards!

It is really unnecessary. The science applications run at low priority. If there is any higher priority application waiting to run, it will run before the science application.

ID: 949175 · Report as offensive
1mp0£173
Volunteer tester

Send message
Joined: 3 Apr 99
Posts: 8423
Credit: 356,897
RAC: 0
United States
Message 949184 - Posted: 23 Nov 2009, 4:06:26 UTC - in response to Message 949171.  

Gents,
I'm trying to program my Boinc manager to switch between "idle" and "in use" modes but I can't find a way to do so. I'd like something like 10% of processor use while I'm using the computer and 100% processor use when its idle. Is it possible to do so? Has anyone tried it?

Regards!

There is a feature in BOINC where you can tell it "suspend work when computer is in use" -- set this in the computing preferences on your account, and BOINC will pick up the settings next time it updates.

Then, if you type on the keyboard or move the mouse, BOINC will stop whatever science application is running and release the resources.

... but as others have mentioned, it's pretty unnecessary. The science applications run just above the "idle" task, so practically everything takes precedence.
ID: 949184 · Report as offensive
Profile Gary Charpentier Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 25 Dec 00
Posts: 30653
Credit: 53,134,872
RAC: 32
United States
Message 949195 - Posted: 23 Nov 2009, 5:10:30 UTC - in response to Message 949184.  

Gents,
I'm trying to program my Boinc manager to switch between "idle" and "in use" modes but I can't find a way to do so. I'd like something like 10% of processor use while I'm using the computer and 100% processor use when its idle. Is it possible to do so? Has anyone tried it?

Regards!

There is a feature in BOINC where you can tell it "suspend work when computer is in use" -- set this in the computing preferences on your account, and BOINC will pick up the settings next time it updates.

Then, if you type on the keyboard or move the mouse, BOINC will stop whatever science application is running and release the resources.

Well, it won't release the RAM if it is set to keep idle tasks in memory, the default. And if you do tell it to release the RAM, the system has to pause while it is written to disk, and pause again to read it back to restart the science. The O/S will do this anyway if there isn't enough RAM in the machine.

... but as others have mentioned, it's pretty unnecessary. The science applications run just above the "idle" task, so practically everything takes precedence.

Most of the controls that are in the preferences were there for single core no hyper-thread CPU's. System schedulers are much smarter about the mix on a system today and in general it is much better to allow them to do their job without a hand tied behind their back.

Let me ask what hasn't been said. Are you trying to prevent a problem, or is there a real problem?

From experience running SETI on some woefully underpowered boxes, the first thing to do is kill and remove all the cute stuff, like funny cursors and the like. It is amazing how much that stuff can bog down a system. Next get in and increase the swap file size above the recommended amount. Then you can look at doing something like setting BOINC to run 95% of the CPU. That's enough in human scales, the run bursts are in the 10 milli-second scale, to be sure that there is idle time between key-presses while typing to allow the other app time to function. If the system is still sluggish then set the go idle while in use timer to a minute. But the number one thing to do is upgrade the RAM! If it all lives in RAM the system scheduler will keep you a happy camper without any fine tuning.

ID: 949195 · Report as offensive
1mp0£173
Volunteer tester

Send message
Joined: 3 Apr 99
Posts: 8423
Credit: 356,897
RAC: 0
United States
Message 949196 - Posted: 23 Nov 2009, 5:15:18 UTC - in response to Message 949195.  

... but as others have mentioned, it's pretty unnecessary. The science applications run just above the "idle" task, so practically everything takes precedence.

Most of the controls that are in the preferences were there for single core no hyper-thread CPU's. System schedulers are much smarter about the mix on a system today and in general it is much better to allow them to do their job without a hand tied behind their back.

My daily-driver is an Athlon XP 3000+. Single core, no hyperthreading (which is a work-around, not a feature), and I do not use any of the special controls.

The OS does fine. Most of the time, it's waiting for keystrokes anyway.

ID: 949196 · Report as offensive
Gustavo Kaufmann

Send message
Joined: 22 Nov 00
Posts: 2
Credit: 4,290,139
RAC: 16
Brazil
Message 949342 - Posted: 23 Nov 2009, 23:27:55 UTC - in response to Message 949195.  
Last modified: 23 Nov 2009, 23:29:26 UTC

Thanks everyone for the answers!


Let me ask what hasn't been said. Are you trying to prevent a problem, or is there a real problem?


Gary, none of the options. Last week I finally got myself a new computer; an Intel i7, 6Gb RAM and an Nvidia 250 with 1Gb Ram. The whole system is running on Windows 7. It surprised me that, making use of the processor capacity installed (4 cores and 8 threads for the main CPU and 2 tasks for the GPU), the system ran incredibly "laggy". It wasn't slow but the computer was having really slow and constant freezes... and after some time with it running like that it became realy annoying. Things got better after some tweaking bit it was still a real pain. Since this computer has lots of idle time, the logical idea that came to my mind was to let it run a single task while I'm working and let all 10 tasks run while the computer is idle.

Right now I'm using the "Suspend work while computer is in use" option and the whole system is working like a charm but for me it's still not the ideal situation. Maybe an extra option for future versions of BOINC.
===*===*===*===*===*===*===*===*===*===
Gustavo Kaufmann
msn: kaufmann_gustavo@hotmail.com
www.portalcr.com.br
ID: 949342 · Report as offensive
1mp0£173
Volunteer tester

Send message
Joined: 3 Apr 99
Posts: 8423
Credit: 356,897
RAC: 0
United States
Message 949345 - Posted: 23 Nov 2009, 23:41:21 UTC - in response to Message 949342.  
Last modified: 23 Nov 2009, 23:43:28 UTC

Thanks everyone for the answers!


Let me ask what hasn't been said. Are you trying to prevent a problem, or is there a real problem?


Gary, none of the options. Last week I finally got myself a new computer; an Intel i7, 6Gb RAM and an Nvidia 250 with 1Gb Ram. The whole system is running on Windows 7. It surprised me that, making use of the processor capacity installed (4 cores and 8 threads for the main CPU and 2 tasks for the GPU), the system ran incredibly "laggy". It wasn't slow but the computer was having really slow and constant freezes... and after some time with it running like that it became realy annoying. Things got better after some tweaking bit it was still a real pain. Since this computer has lots of idle time, the logical idea that came to my mind was to let it run a single task while I'm working and let all 10 tasks run while the computer is idle.

Right now I'm using the "Suspend work while computer is in use" option and the whole system is working like a charm but for me it's still not the ideal situation. Maybe an extra option for future versions of BOINC.

One of the options says "on multiprocessors, use at most" and you might be happy with one CPU reserved for your use.
ID: 949345 · Report as offensive
Profile Gary Charpentier Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 25 Dec 00
Posts: 30653
Credit: 53,134,872
RAC: 32
United States
Message 949368 - Posted: 24 Nov 2009, 1:30:21 UTC - in response to Message 949345.  

Thanks everyone for the answers!


Let me ask what hasn't been said. Are you trying to prevent a problem, or is there a real problem?


Gary, none of the options. Last week I finally got myself a new computer; an Intel i7, 6Gb RAM and an Nvidia 250 with 1Gb Ram. The whole system is running on Windows 7. It surprised me that, making use of the processor capacity installed (4 cores and 8 threads for the main CPU and 2 tasks for the GPU), the system ran incredibly "laggy". It wasn't slow but the computer was having really slow and constant freezes... and after some time with it running like that it became realy annoying. Things got better after some tweaking bit it was still a real pain. Since this computer has lots of idle time, the logical idea that came to my mind was to let it run a single task while I'm working and let all 10 tasks run while the computer is idle.

Right now I'm using the "Suspend work while computer is in use" option and the whole system is working like a charm but for me it's still not the ideal situation. Maybe an extra option for future versions of BOINC.

One of the options says "on multiprocessors, use at most" and you might be happy with one CPU reserved for your use.

Yes. IIRC there are issues with using all cores for science and the GPU at the same time. I'm not a GPU guy yet, so I'll bow out.
ID: 949368 · Report as offensive
Profile hiamps
Volunteer tester
Avatar

Send message
Joined: 23 May 99
Posts: 4292
Credit: 72,971,319
RAC: 0
United States
Message 949370 - Posted: 24 Nov 2009, 1:39:13 UTC - in response to Message 949342.  
Last modified: 24 Nov 2009, 1:39:32 UTC

Thanks everyone for the answers!


Let me ask what hasn't been said. Are you trying to prevent a problem, or is there a real problem?


Gary, none of the options. Last week I finally got myself a new computer; an Intel i7, 6Gb RAM and an Nvidia 250 with 1Gb Ram. The whole system is running on Windows 7. It surprised me that, making use of the processor capacity installed (4 cores and 8 threads for the main CPU and 2 tasks for the GPU), the system ran incredibly "laggy". It wasn't slow but the computer was having really slow and constant freezes... and after some time with it running like that it became realy annoying. Things got better after some tweaking bit it was still a real pain. Since this computer has lots of idle time, the logical idea that came to my mind was to let it run a single task while I'm working and let all 10 tasks run while the computer is idle.

Right now I'm using the "Suspend work while computer is in use" option and the whole system is working like a charm but for me it's still not the ideal situation. Maybe an extra option for future versions of BOINC.

Mine did that so I put my non cuda GE7950 for the monitor and now it works great and crunches all the time.
Official Abuser of Boinc Buttons...
And no good credit hound!
ID: 949370 · Report as offensive

Message boards : Number crunching : Switching between "idle" and "in use" configs


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