Setting wrong ? Work unit preempted, what's up ?

Message boards : Number crunching : Setting wrong ? Work unit preempted, what's up ?
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile CoolBlue87GT
Avatar

Send message
Joined: 27 Dec 03
Posts: 59
Credit: 53,580
RAC: 0
United States
Message 424526 - Posted: 21 Sep 2006, 23:16:33 UTC

I have 11 work units lined up, all of a sudden, my computer has preempted a work unit, starting on another.

In the past, it would complete a unit before starting on the next.

What would cause this problem ? I am only crunching SETI work units. Do I have a setting wrong ?

Thank you for any information.
ID: 424526 · Report as offensive
Profile Pooh Bear 27
Volunteer tester
Avatar

Send message
Joined: 14 Jul 03
Posts: 3224
Credit: 4,603,826
RAC: 0
United States
Message 424528 - Posted: 21 Sep 2006, 23:20:20 UTC

If it feels one will not finish before it's due date, it will prempt other results, and do the one that it thinks it will not finish, then go back.


My movie https://vimeo.com/manage/videos/502242
ID: 424528 · Report as offensive
Profile CoolBlue87GT
Avatar

Send message
Joined: 27 Dec 03
Posts: 59
Credit: 53,580
RAC: 0
United States
Message 424531 - Posted: 21 Sep 2006, 23:31:01 UTC - in response to Message 424528.  

If it feels one will not finish before it's due date, it will prempt other results, and do the one that it thinks it will not finish, then go back.


The unit it was working on, due date 10/05 was about half finished, then it started on a unit with a deadliine of 10/12, now it's working on the 10/05 unit again.

I'd think it would stay on the 10/05 deadline before moving on.
ID: 424531 · Report as offensive
Profile Pooh Bear 27
Volunteer tester
Avatar

Send message
Joined: 14 Jul 03
Posts: 3224
Credit: 4,603,826
RAC: 0
United States
Message 424552 - Posted: 22 Sep 2006, 0:37:29 UTC - in response to Message 424531.  

The unit it was working on, due date 10/05 was about half finished, then it started on a unit with a deadliine of 10/12, now it's working on the 10/05 unit again.

I'd think it would stay on the 10/05 deadline before moving on.


Not necessarily. The longer due date means that it take a longer time to crunch that unit. So, depending on the information that BOINC has (time machine is on, time it's allow to work, results duration factor, etc.) it could say that the longer unit will be late, so it will do it.



My movie https://vimeo.com/manage/videos/502242
ID: 424552 · 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 424642 - Posted: 22 Sep 2006, 3:29:34 UTC

If the next result that was supposed to be started by FIFO (which is how an individual project is run normally) would cause a result that is later in the queue but has an earlier deadline to be late, the earlier deadline result will be started. However, if the client detects that the result that is later in the queue will be completed on time, then the one earlier in the queue may be started. This behavior may be different depending on the version of the client. Then later when the scheduler notices that the earlier deadline result may be late, that one will be started again.

Since this is done on an hourly basis, not much work is lost.

This behavior only started at S@H since there have been results with varying deadlines and to completion estimates. If I recall correctly, 5.6 will prefer to crunch a result that has already been started as opposed to starting a new one, however, if it needs to run a project in EDF for a bit, it will do so. At that point, there are likely to be two (or possibly more) results started.


BOINC WIKI
ID: 424642 · Report as offensive
bluejaywpg

Send message
Joined: 30 Aug 05
Posts: 3
Credit: 2,910,222
RAC: 0
Canada
Message 426523 - Posted: 26 Sep 2006, 4:57:35 UTC

I really wish preempting would not happen for 1 reason. Every work unit eats up about 60 MB or so of RAM. Right now on my main PC I noticed that 2 work units are preempted so with the current unit in progress, SETI is consuming over 180 MB of RAM - 120 of which is wasted by 2 preempted units (1 of them has been 0.04% processed - what a waste!!!).

It's not a huge issue on my main PC which has 1 GB of RAM but on my other PCs which have 512 MB, 384 MB, & 256 MB, this can be a major headache (especially on the 384 MB PC - it has dual CPUs so if each one has 1 preempted unit then over 240 MB are being used). Hopefully the preempted units are moved to virtual memory when necessary.
ID: 426523 · Report as offensive
1mp0£173
Volunteer tester

Send message
Joined: 3 Apr 99
Posts: 8423
Credit: 356,897
RAC: 0
United States
Message 426533 - Posted: 26 Sep 2006, 5:11:31 UTC - in response to Message 426523.  


It's not a huge issue on my main PC which has 1 GB of RAM but on my other PCs which have 512 MB, 384 MB, & 256 MB, this can be a major headache (especially on the 384 MB PC - it has dual CPUs so if each one has 1 preempted unit then over 240 MB are being used). Hopefully the preempted units are moved to virtual memory when necessary.

Virtual memory is managed by the OS. If the OS sees that a page of memory is not being accessed as much as another, it will shuffle it off to disk.

If you don't want preemtped work in RAM, there is a setting that allows you to turn that off.

You'll find it under "your account" here on the SETI site (or any other project site where you participate).
ID: 426533 · Report as offensive
Alinator
Volunteer tester

Send message
Joined: 19 Apr 05
Posts: 4178
Credit: 4,647,982
RAC: 0
United States
Message 426540 - Posted: 26 Sep 2006, 5:31:47 UTC - in response to Message 426539.  
Last modified: 26 Sep 2006, 5:33:39 UTC


Ok Ned, I'll bite, I looked and unless I'm blind I didn't see anything like that there. And I looked in both General preferences and SETI@home preferences.


General Prefs>Processor Usage>Leave Apps in Memory While Suspended: Default is NO

Alinator


ID: 426540 · Report as offensive
Grant (SSSF)
Volunteer tester

Send message
Joined: 19 Aug 99
Posts: 14038
Credit: 208,696,464
RAC: 304
Australia
Message 426543 - Posted: 26 Sep 2006, 6:03:15 UTC - in response to Message 426542.  

Funny, My PCs are never suspended, But yet It does pre-empt WU's to work on other WU's and I'm only doing Seti.

Small cache, won't need to pre-empt often. Larger cache, will have to pre-empt more often.
Grant
Darwin NT
ID: 426543 · Report as offensive
Alinator
Volunteer tester

Send message
Joined: 19 Apr 05
Posts: 4178
Credit: 4,647,982
RAC: 0
United States
Message 426549 - Posted: 26 Sep 2006, 6:39:49 UTC - in response to Message 426542.  
Last modified: 26 Sep 2006, 6:40:29 UTC


Ok Ned, I'll bite, I looked and unless I'm blind I didn't see anything like that there. And I looked in both General preferences and SETI@home preferences.


General Prefs>Processor Usage>Leave Apps in Memory While Suspended: Default is NO

Alinator



Funny, My PCs are never suspended, But yet It does pre-empt WU's to work on other WU's and I'm only doing Seti.


This is just depricated wording. It doesn't mean remove from memory if BOINC or a project is suspended, it means if the app isn't running remove from memory.

The single project pre-empting effect is due to the conservative scheduling "Fudge Factor" built into BOINC, in combination with the short deadline results, when they show up, and your cache size.
ID: 426549 · Report as offensive
Grant (SSSF)
Volunteer tester

Send message
Joined: 19 Aug 99
Posts: 14038
Credit: 208,696,464
RAC: 304
Australia
Message 426575 - Posted: 26 Sep 2006, 9:52:19 UTC - in response to Message 426546.  

3.15 days is what mine is set at currently, 0.15 days was too small before the last outage.

Set it at one or less, pre-empting is unlikely to occur. More than a day or 2 & pre-empting will occur. It's normal, it's desirable. It's good that it does occur. It's not a problem.
Grant
Darwin NT
ID: 426575 · Report as offensive

Message boards : Number crunching : Setting wrong ? Work unit preempted, what's up ?


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