Zero Share grabbed job before a One Share project

Message boards : Questions and problems : Zero Share grabbed job before a One Share project
Message board moderation

To post messages, you must log in.

AuthorMessage
Werinbert

Send message
Joined: 9 Jan 13
Posts: 28
United States
Message 62313 - Posted: 26 May 2015, 6:53:38 UTC

I am running Seti Beta (0 weight), PrimeGrid (100 weight), and CSG (10000 weight). When it came time to fetch new work, Boinc grabbed a Seti task rather than a PG task. This occurred when I pausing a CSG task (Seti and PG had no paused tasks) in order to grab a PG task for an empty thread. The client is Boinc 7.4.42.

This is the first time I ever saw Boinc grab a task for a 0 weighted project over a 1+ weighted project. I have always worked under the assumption that 0 weighted tasks are only fetched if there were any idle threads and after requesting tasks from any projects weighted 1 or above. Yes I had one thread free so getting a Seti task was not out of bounds.

And I checked the properties and the scheduling was -1000.00 for the Seti and -1069.58 for the PG. So yes the priority is seemingly for the Seti project. However, in other versions of Boinc (7.2.42 for example) even 1 weight projects with priorities as low as -30000.00 send get requests before the 0 weight/-10000.00 projects. Also I checked that there was no work fetch deferral for PG.

So I am confused as to why there was no request to get tasks from PG prior to the Seti request.
ID: 62313 · Report as offensive
Profile Gary Charpentier
Avatar

Send message
Joined: 23 Feb 08
Posts: 2462
United States
Message 62348 - Posted: 27 May 2015, 3:43:29 UTC - in response to Message 62313.  

I am running Seti Beta (0 weight), PrimeGrid (100 weight), and CSG (10000 weight). When it came time to fetch new work, Boinc grabbed a Seti task rather than a PG task. This occurred when I pausing a CSG task (Seti and PG had no paused tasks) in order to grab a PG task for an empty thread. The client is Boinc 7.4.42.

This is the first time I ever saw Boinc grab a task for a 0 weighted project over a 1+ weighted project. I have always worked under the assumption that 0 weighted tasks are only fetched if there were any idle threads and after requesting tasks from any projects weighted 1 or above. Yes I had one thread free so getting a Seti task was not out of bounds.

And I checked the properties and the scheduling was -1000.00 for the Seti and -1069.58 for the PG. So yes the priority is seemingly for the Seti project. However, in other versions of Boinc (7.2.42 for example) even 1 weight projects with priorities as low as -30000.00 send get requests before the 0 weight/-10000.00 projects. Also I checked that there was no work fetch deferral for PG.

So I am confused as to why there was no request to get tasks from PG prior to the Seti request.

My guess is that they have made a change in the latest version. Someone assumed -1000.0 was so negative that in no case would a project with a share >0 ever be that negative. Bad assumption. They really should have picked -MAXFLOAT. So yes, I think it is a bug.
ID: 62348 · Report as offensive

Message boards : Questions and problems : Zero Share grabbed job before a One Share project

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.