Question about CPU allocation

Message boards : Number crunching : Question about CPU allocation
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Borgholio
Avatar

Send message
Joined: 2 Aug 99
Posts: 654
Credit: 18,623,738
RAC: 45
United States
Message 20019 - Posted: 30 Aug 2004, 22:56:24 UTC

I'm considering signing up for climateprediction. I want BOINC to use 100% of my cpu time for Seti, and only run climateprediction when I'm completely out of work for Seti. If I sign up for climatepredection, could I accomplish this by simply setting my Seti@home priority to 100, and climateprediction to 0?
----------------------------------------------------------------
We are Borgholio. You will be assimilated...bunghole!
ID: 20019 · Report as offensive
Heffed
Volunteer tester

Send message
Joined: 19 Mar 02
Posts: 1856
Credit: 40,736
RAC: 0
United States
Message 20022 - Posted: 30 Aug 2004, 23:03:23 UTC

No, a 100 - 0 split wouldn't work. The best you can do is a huge split like S@H 10,000 - CPDN 1.

ID: 20022 · 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 20084 - Posted: 31 Aug 2004, 0:41:43 UTC

You will always get one WU downloaded from any project that you are attached to. You will spend some time crunching it. The time that you spend will be proportional to the resource share. If you set the resource shares to be extreme like 10000 to 1, you will spend time crunching, and return the WU for no credit.

This is one of the results of a preemptive scheduler. There are ways to fix this, but they are somewhat complicated, and they will take a while to get into place.

The other places where the current work scheduler gets into trouble is short deadlines and slow machines, for the same reasons.
ID: 20084 · Report as offensive
Tony Martin

Send message
Joined: 5 Dec 99
Posts: 91
Credit: 69,723
RAC: 0
United States
Message 21023 - Posted: 1 Sep 2004, 17:21:06 UTC

I have another question about CPU use. Why does BOINC give up CPU time to any other program that opens after BOINC is running when I have run always selected?
I have plenty of memory on my computers and I don't need BOINC to stop running when any other program is running makes it kind of hard to meet deadlines when BOINC will stop proccesing for any program you open. I'm not a programer but can't you release a version for people that really want the BOINC program to run always and make it really run always? Does anyone else think the program should have a feature like this?
ID: 21023 · Report as offensive
Profile ThePhantom86
Volunteer tester
Avatar

Send message
Joined: 30 Jan 02
Posts: 268
Credit: 1,970,082
RAC: 0
United States
Message 21026 - Posted: 1 Sep 2004, 17:35:25 UTC

Memory is not the problem, it's the CPU speed. In the task manager, set the Priority of the application to normal or high if you it take most of your resources. Someone else might be able to explain why you shouldn't do this.



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

Send message
Joined: 3 Apr 99
Posts: 8423
Credit: 356,897
RAC: 0
United States
Message 21049 - Posted: 1 Sep 2004, 18:20:40 UTC - in response to Message 21023.  

> I have another question about CPU use. Why does BOINC give up CPU time to any
> other program that opens after BOINC is running when I have run always
> selected?

Because BOINC is supposed to use idle CPU cycles.

If BOINC yields to another process, that process will finish quicker, and then there will be more idle time for BOINC, so it probably doens't make much difference.
ID: 21049 · Report as offensive
Tony Martin

Send message
Joined: 5 Dec 99
Posts: 91
Credit: 69,723
RAC: 0
United States
Message 21067 - Posted: 1 Sep 2004, 19:07:56 UTC - in response to Message 21049.  


> Because BOINC is supposed to use idle CPU cycles.
>
> If BOINC yields to another process, that process will finish quicker, and then
> there will be more idle time for BOINC, so it probably doens't make much
> difference.
>
>
Well what I really need is for BOINC to keep working when my father uses his game that he likes to play for up to 5 or more hrs a day. The time my dad spends playing his game BOINC just sits there doing nothing (his game doesn't use much in the way of CPU resources just and old Win 95 card game) so there is no reason BOINC can't keep working. There is a setting on the BONIC general
preferences of the user account Do work while computer is in use? I have selected Yes. So why can't they get it to work while the computer is in use? That's all Im asking.
ID: 21067 · Report as offensive
Profile ThePhantom86
Volunteer tester
Avatar

Send message
Joined: 30 Jan 02
Posts: 268
Credit: 1,970,082
RAC: 0
United States
Message 21082 - Posted: 1 Sep 2004, 19:51:58 UTC

Tony, if you want that to happen, follow what I said before. Set the Priority to normal or high and see how that works.



ID: 21082 · Report as offensive
Tony Martin

Send message
Joined: 5 Dec 99
Posts: 91
Credit: 69,723
RAC: 0
United States
Message 21108 - Posted: 1 Sep 2004, 20:34:40 UTC - in response to Message 21082.  

> Tony, if you want that to happen, follow what I said before. Set the Priority
> to normal or high and see how that works.
>


>
>
I did set it to normal and it quit working disappeared out of the task manager. Had to exit the BOINC in tasktray and restart it. Windows said it might make the system unstable if I changed the priority and it did. Just to be safe I rebooted the computer and it seems to be working but still in the default low setting. That's why I would like to see an option for BIONC to run at a higher priority.
ID: 21108 · Report as offensive
1mp0£173
Volunteer tester

Send message
Joined: 3 Apr 99
Posts: 8423
Credit: 356,897
RAC: 0
United States
Message 21120 - Posted: 1 Sep 2004, 20:57:54 UTC - in response to Message 21067.  

>
> > Because BOINC is supposed to use idle CPU cycles.
> >
> > If BOINC yields to another process, that process will finish quicker, and
> then
> > there will be more idle time for BOINC, so it probably doens't make much
> > difference.
> >
> >
> Well what I really need is for BOINC to keep working when my father uses his
> game that he likes to play for up to 5 or more hrs a day. The time my dad
> spends playing his game BOINC just sits there doing nothing (his game doesn't
> use much in the way of CPU resources just and old Win 95 card game) so there
> is no reason BOINC can't keep working. There is a setting on the BONIC
> general
> preferences of the user account Do work while computer is in use? I have
> selected Yes. So why can't they get it to work while the computer is in use?
> That's all Im asking.

Assuming we're talking about Win2K or WinXP, look at the task manager while his game is running. That will tell you how much CPU his game actually takes.

If the CPU is pegged the whole time the game runs, then it doesn't play nice with the Windows tasker, and that's the end of the story.

On the other hand, if it uses about 10%, the task manager will show that, and BOINC will take the remaining 90% if it's set to "run always".

You can see what tasks are actually taking time.
ID: 21120 · Report as offensive
MikeW

Send message
Joined: 7 Apr 04
Posts: 71
Credit: 10,406
RAC: 0
United Kingdom
Message 21127 - Posted: 1 Sep 2004, 21:02:52 UTC

>>his game doesn't use much in the way of CPU resources just and old Win 95 card game)

Tony, your problem may be your Dad's old card game. If it's as old as you suggest it may simply not be releasing the processor, and sitting running idle loops all day. In this case you're right - BOINC won't get a lot done. However, if you did set the priority higher one of two things would then happen: either the card game would run very slowly as BOINC grabbed its share of processor time, or worse, the game wouldn't run at all as BOINC was running at a higher priority.

Maybe you should buy your Dad a new game, or maybe persuade him to go wash his car/play golf/mow the lawn :-))



Giskard - the first telepathic robot.
ID: 21127 · Report as offensive
Profile MikeSW17
Volunteer tester

Send message
Joined: 3 Apr 99
Posts: 1603
Credit: 2,700,523
RAC: 0
United Kingdom
Message 21135 - Posted: 1 Sep 2004, 21:10:07 UTC

Remember, there is an option in your Preferences, "Do Work While Computer is In Use" - what have you set that to?

Don't know how this works, but it must be watching for so much idle time in a period to decide the machine is unused.

ID: 21135 · Report as offensive

Message boards : Number crunching : Question about CPU allocation


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