Thread 'Setting workunit priority'

Message boards : BOINC Manager : Setting workunit priority
Message board moderation

To post messages, you must log in.

AuthorMessage
hammanu

Send message
Joined: 26 Apr 07
Posts: 9
Message 9907 - Posted: 26 Apr 2007, 16:31:43 UTC

Is it possible to set workunit priority? I have already set in my user preferences for each project to 60min for worktime. It then goes to another project after about 60min. How can I set project priority? It appears to just randomly select projects for computation.

currently it runs like this
project A (60min or completion, whichever comes first)
project D
project A
project B
etc.

I'd like it to do this
project A
project B
project C
project D
etc.
ID: 9907 · Report as offensive
MikeMarsUK

Send message
Joined: 16 Apr 06
Posts: 386
United Kingdom
Message 9908 - Posted: 26 Apr 2007, 17:00:43 UTC


You can set 'project resource share'... if you look at the project options ('your account', '<project> options', 'edit', you'll see a resource share figure near the top. By default this starts at 100.

If you have 3 projects, all at 100, then they'll each take 1/3 of CPU time.

100:100:100 (33:33:33 %)

If you want to adjust the priorities, change this resource share figure. The following example is setting one project to 75%, and two projects to 12.5%.

300:50:50 (75:12.5:12.5 %)


ID: 9908 · Report as offensive
hammanu

Send message
Joined: 26 Apr 07
Posts: 9
Message 9910 - Posted: 26 Apr 2007, 17:06:28 UTC

Awesome, thank you.

Also, I have noticed that some projects list 4 or 5 tasks under the task menu and others only one. Why is that if anyone knows? It seems to me to make sense to list only one task at a time from each project.
ID: 9910 · Report as offensive
ProfileKSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 9911 - Posted: 26 Apr 2007, 17:15:30 UTC

Mike beat me to it...

Resource share was going to be my suggestion.

But also remember that you won't necessarily see the strict 60 minute switch times. The scheduler will only re-evaluate whether a switch should be made.

Older core clients would go into Earliest Deadline first if in deadline trouble and could run for significant periods of time without switching.

The current core client (5.8.x) won't switch if a checkpoint hasn't been reached. So, for example, I had a BURP unit ran for 8 hours because their science app doesn't checkpoint.
Kathryn :o)
ID: 9911 · Report as offensive
ProfileKSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 9912 - Posted: 26 Apr 2007, 17:22:07 UTC - in response to Message 9910.  
Last modified: 26 Apr 2007, 17:22:29 UTC

Awesome, thank you.

Also, I have noticed that some projects list 4 or 5 tasks under the task menu and others only one. Why is that if anyone knows? It seems to me to make sense to list only one task at a time from each project.



If you use a small enough connect interval (like .001 days), then you'll get only one unit at a time.

Change under your global preferences on your account page at a project. Since it's a *global* preference, it'll affect all projects and propagate to all of your attached projects eventually.
Kathryn :o)
ID: 9912 · Report as offensive
hammanu

Send message
Joined: 26 Apr 07
Posts: 9
Message 9915 - Posted: 26 Apr 2007, 21:42:18 UTC

Ahh, ok. I think I get it. It basically runs the projects that have the closest deadline first and then so on.
ID: 9915 · Report as offensive
ProfileKSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 9920 - Posted: 27 Apr 2007, 1:51:52 UTC - in response to Message 9915.  
Last modified: 27 Apr 2007, 1:52:46 UTC

Ahh, ok. I think I get it. It basically runs the projects that have the closest deadline first and then so on.



If a unit is in deadline trouble, then it won't switch until it's out of deadline trouble (unless another unit is in bigger deadline trouble).

If not in deadline trouble and there hasn't been a checkpoint, then it won't switch (only true with 5.8.x and higher clients).

If nothing in deadline trouble and checkpoints are more frequent than the switch interval, it's based on short term debt.

Check out Jord's FAQs.
Kathryn :o)
ID: 9920 · Report as offensive

Message boards : BOINC Manager : Setting workunit priority

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.