Question on High Priority Mode

Message boards : Number crunching : Question on High Priority Mode
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3 · Next

AuthorMessage
Profile Gundolf Jahn

Send message
Joined: 19 Sep 00
Posts: 3184
Credit: 446,358
RAC: 0
Germany
Message 990632 - Posted: 20 Apr 2010, 10:01:06 UTC - in response to Message 990629.  

The thing is that we used to have EDF Mode (Earliest Deadline First) which used to work.

It used to work before CUDA.

So we now have 'It worked and we fixed it' and now it doesn't.

It never worked after introduction of CUDA but is getting better with every new release (some more some less :-).

Gruß,
Gundolf
Computer sind nicht alles im Leben. (Kleiner Scherz)

SETI@home classic workunits 3,758
SETI@home classic CPU time 66,520 hours
ID: 990632 · Report as offensive
W-K 666 Project Donor
Volunteer tester

Send message
Joined: 18 May 99
Posts: 19144
Credit: 40,757,560
RAC: 67
United Kingdom
Message 990633 - Posted: 20 Apr 2010, 10:15:26 UTC - in response to Message 990632.  

The thing is that we used to have EDF Mode (Earliest Deadline First) which used to work.

It used to work before CUDA.

So we now have 'It worked and we fixed it' and now it doesn't.

It never worked after introduction of CUDA but is getting better with every new release (some more some less :-).

Gruß,
Gundolf

Danke, I think I had realised that.

Would have thought, not being a programmer, that it was fairly easy to select project, application, task with earliest date and time (especially as this just a Julian number)
ID: 990633 · Report as offensive
Profile Bill Walker
Avatar

Send message
Joined: 4 Sep 99
Posts: 3868
Credit: 2,697,267
RAC: 0
Canada
Message 990643 - Posted: 20 Apr 2010, 11:11:07 UTC

The basic question remains: are tasks missing deadlines because of the behaviour you have noted? None of mine are.

Or to put it in terms of software requirements: is the goal of High Priority Mode to do the closest deadlines first, or to minimize the number of WUs that miss deadlines? Those are two different requirements.

ID: 990643 · Report as offensive
W-K 666 Project Donor
Volunteer tester

Send message
Joined: 18 May 99
Posts: 19144
Credit: 40,757,560
RAC: 67
United Kingdom
Message 990644 - Posted: 20 Apr 2010, 11:27:40 UTC - in response to Message 990643.  

The basic question remains: are tasks missing deadlines because of the behaviour you have noted? None of mine are.

Or to put it in terms of software requirements: is the goal of High Priority Mode to do the closest deadlines first, or to minimize the number of WUs that miss deadlines? Those are two different requirements.

None of my tasks are liable to miss there deadlines, but that is not really the point.
As far as I can tell the BOINC Priority Mode is not working correctly, therefore there is a possibility that users will miss the deadlines. Therefore it should be fixed.

As Seti on the MB tasks at least sets deadlines in accordance with the variations caused by the angle range, then the tasks that are processed fastest (VHAR) are given the shortest deadlines. This means the VHAR tasks that I downloaded on the 14th should be processed before the tasks downloaded on the 19th, they are not. That would fit also the minimise the number of tasks that would miss deadlines.

Personally although I can see, it certain circumstances, that EDF and minimise number could be different. They are not, at least, for the the projects I do and have crunched for.
ID: 990644 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 990648 - Posted: 20 Apr 2010, 11:50:17 UTC - in response to Message 990644.  

Run with <rr_simulation> for a while and post (part of) that log.
ID: 990648 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14656
Credit: 200,643,578
RAC: 874
United Kingdom
Message 990649 - Posted: 20 Apr 2010, 11:50:31 UTC

Are any of the contibutors to this thread running BOINC v6.10.45, which should have changeset [trac]changeset:21085[/trac]:

- Client: fix bug that caused wrong jobs to be run EDF
(needed to initialize a var inside loop, not outside)
(David Anderson, 04/04/10)
ID: 990649 · Report as offensive
woodenboatguy

Send message
Joined: 10 Nov 00
Posts: 368
Credit: 3,969,364
RAC: 0
Canada
Message 990655 - Posted: 20 Apr 2010, 12:08:09 UTC - in response to Message 990644.  

The basic question remains: are tasks missing deadlines because of the behaviour you have noted? None of mine are.

Or to put it in terms of software requirements: is the goal of High Priority Mode to do the closest deadlines first, or to minimize the number of WUs that miss deadlines? Those are two different requirements.

None of my tasks are liable to miss there deadlines, but that is not really the point.
As far as I can tell the BOINC Priority Mode is not working correctly, therefore there is a possibility that users will miss the deadlines. Therefore it should be fixed.

As Seti on the MB tasks at least sets deadlines in accordance with the variations caused by the angle range, then the tasks that are processed fastest (VHAR) are given the shortest deadlines. This means the VHAR tasks that I downloaded on the 14th should be processed before the tasks downloaded on the 19th, they are not. That would fit also the minimise the number of tasks that would miss deadlines.

Personally although I can see, it certain circumstances, that EDF and minimise number could be different. They are not, at least, for the the projects I do and have crunched for.


I apologise if the following sounds harsh but, the bolded text above is simply speculation and conclusion based on speculation.

If this were one of my projects I would have to insist you come up with something factual before the project invests time into reviewing and resolving (if needed). You haven't done more than state your beliefs. That isn't the basis for action from the project.

Again, I apologise for the sense this might come off communicating. Writing this instead of talking about it face to face always makes it seem like such. The intent is exactly the opposite.

I am interested in what you are saying, I just don't see the evidence of it, or the acknowledgement that many more factors than those reviewed thus far are equally (if not more) important. You yourself say that tasks aren't missing their deadline. That alone must be a pretty important design requirement that's being met. The most effective utilization of resources is what I think you are getting at, but again, we don't know all the design requirements to be able to say if that is at issue.

Bill Walker makes the point much clearer that I've done.

Regards,
ID: 990655 · Report as offensive
woodenboatguy

Send message
Joined: 10 Nov 00
Posts: 368
Credit: 3,969,364
RAC: 0
Canada
Message 990656 - Posted: 20 Apr 2010, 12:11:39 UTC - in response to Message 990649.  
Last modified: 20 Apr 2010, 12:15:12 UTC

Are any of the contibutors to this thread running BOINC v6.10.45, which should have changeset [trac]changeset:21085[/trac]:

- Client: fix bug that caused wrong jobs to be run EDF
(needed to initialize a var inside loop, not outside)
(David Anderson, 04/04/10)


I am: http://setiathome.berkeley.edu/show_host_detail.php?hostid=5342012

I was waiting the usual period to see if anything untoward happened to the rig before extending it to the rest, and especially my main cruncher.

Overall I hadn't noticed anything unfortunate. The box is coming back up after some changes made to it so I was also waiting for its RAC to stablize again before deciding whether things were all good before taking .45 through to the rest.

Anything noticable for anyone else?

[edit] grrrrrrr.... I THOUGHT I was....I had to reinstall the OS on that box and purposely downloaded .45 - I wonder how I picked up the wrong one off the network?! [/edit]

Regards,
ID: 990656 · Report as offensive
W-K 666 Project Donor
Volunteer tester

Send message
Joined: 18 May 99
Posts: 19144
Credit: 40,757,560
RAC: 67
United Kingdom
Message 990665 - Posted: 20 Apr 2010, 12:41:24 UTC - in response to Message 990656.  
Last modified: 20 Apr 2010, 12:47:39 UTC

Are any of the contibutors to this thread running BOINC v6.10.45, which should have changeset [trac]changeset:21085[/trac]:

- Client: fix bug that caused wrong jobs to be run EDF
(needed to initialize a var inside loop, not outside)
(David Anderson, 04/04/10)


I am: http://setiathome.berkeley.edu/show_host_detail.php?hostid=5342012

I was waiting the usual period to see if anything untoward happened to the rig before extending it to the rest, and especially my main cruncher.

Overall I hadn't noticed anything unfortunate. The box is coming back up after some changes made to it so I was also waiting for its RAC to stablize again before deciding whether things were all good before taking .45 through to the rest.

Anything noticable for anyone else?

[edit] grrrrrrr.... I THOUGHT I was....I had to reinstall the OS on that box and purposely downloaded .45 - I wonder how I picked up the wrong one off the network?! [/edit]

Regards,

Just looked at that host of yours.
Do you have an explanation why your VHAR (AR=1.389265) task in wuid=600431810 has not been processed yet but other VHARs issued later have, like resultid=1581920884

edit] If I didn't state earlier I am using 6.10.43, the latest offical release.
ID: 990665 · Report as offensive
woodenboatguy

Send message
Joined: 10 Nov 00
Posts: 368
Credit: 3,969,364
RAC: 0
Canada
Message 990668 - Posted: 20 Apr 2010, 12:57:10 UTC - in response to Message 990665.  

Are any of the contibutors to this thread running BOINC v6.10.45, which should have changeset [trac]changeset:21085[/trac]:

- Client: fix bug that caused wrong jobs to be run EDF
(needed to initialize a var inside loop, not outside)
(David Anderson, 04/04/10)


I am: http://setiathome.berkeley.edu/show_host_detail.php?hostid=5342012

I was waiting the usual period to see if anything untoward happened to the rig before extending it to the rest, and especially my main cruncher.

Overall I hadn't noticed anything unfortunate. The box is coming back up after some changes made to it so I was also waiting for its RAC to stablize again before deciding whether things were all good before taking .45 through to the rest.

Anything noticable for anyone else?

[edit] grrrrrrr.... I THOUGHT I was....I had to reinstall the OS on that box and purposely downloaded .45 - I wonder how I picked up the wrong one off the network?! [/edit]

Regards,

Just looked at that host of yours.
Do you have an explanation why your VHAR (AR=1.389265) task in wuid=600431810 has not been processed yet but other VHARs issued later have, like resultid=1581920884

edit] If I didn't state earlier I am using 6.10.43, the latest offical release.


It's the ReSchedule tool from Lunatics I believe (haven't dived completely into that but it arose once I ran it).

I think what is happening is that a task "in-flight" is being caught as one to move off the GPU and onto the CPU. BOINC however is keeping the CPUs busy at that same moment however and hence the in-flight task goes to its wait-state. BOINC has then swept through thereafter and picked up a waiting task (or more I've noticed at times) and finished it.

Only my speculation though as I don't know the internal workings enough to be certain. Whenever I run ReSchedule I see a few fall into that. A good example of where BOINC is doing its level best and some rascal is changing the rules on it!

Regards,
ID: 990668 · Report as offensive
W-K 666 Project Donor
Volunteer tester

Send message
Joined: 18 May 99
Posts: 19144
Credit: 40,757,560
RAC: 67
United Kingdom
Message 990670 - Posted: 20 Apr 2010, 13:11:14 UTC - in response to Message 990668.  

I don't run the re-schedule tool because I do AP on the CPU and MB on the GPU.
But my guess is, as your computer is showing the same symptoms as mine. Is that it is not the re-scheduler but BOINC.
ID: 990670 · Report as offensive
Profile Bill Walker
Avatar

Send message
Joined: 4 Sep 99
Posts: 3868
Credit: 2,697,267
RAC: 0
Canada
Message 990698 - Posted: 20 Apr 2010, 15:40:17 UTC - in response to Message 990644.  

None of my tasks are liable to miss there deadlines, but that is not really the point.


Then what is the point of High Priority Mode?

ID: 990698 · Report as offensive
W-K 666 Project Donor
Volunteer tester

Send message
Joined: 18 May 99
Posts: 19144
Credit: 40,757,560
RAC: 67
United Kingdom
Message 990710 - Posted: 20 Apr 2010, 15:53:41 UTC - in response to Message 990698.  

None of my tasks are liable to miss there deadlines, but that is not really the point.


Then what is the point of High Priority Mode?

One scenario would be if a host lost power for a few days, then the VHAR tasks with their 14 day deadline could be in trouble if the host had a 10 day cache.
ID: 990710 · Report as offensive
woodenboatguy

Send message
Joined: 10 Nov 00
Posts: 368
Credit: 3,969,364
RAC: 0
Canada
Message 990755 - Posted: 20 Apr 2010, 23:58:46 UTC - in response to Message 990670.  

I don't run the re-schedule tool because I do AP on the CPU and MB on the GPU.
But my guess is, as your computer is showing the same symptoms as mine. Is that it is not the re-scheduler but BOINC.


It is certainly possible.

Regards,
ID: 990755 · Report as offensive
Profile Bill Walker
Avatar

Send message
Joined: 4 Sep 99
Posts: 3868
Credit: 2,697,267
RAC: 0
Canada
Message 990756 - Posted: 20 Apr 2010, 23:58:54 UTC - in response to Message 990710.  

None of my tasks are liable to miss there deadlines, but that is not really the point.


Then what is the point of High Priority Mode?

One scenario would be if a host lost power for a few days, then the VHAR tasks with their 14 day deadline could be in trouble if the host had a 10 day cache.


Right. That is exactly what happens to me quite regularly. My main cruncher is my lap top. When I work from home it may run 24 hours a day for a few weeks, with my cache filling up based on this. Then when I travel on business it may average only a few hours every other day for a week or two. That, plus running multiple projects with different ideas of what a "sensible" deadline is, means I go into Priority Mode quite often. Haven't missed a deadline in years, that I recall.

My point is that, as far as I can tell, Priority Mode is what does this, even if its detailed workings aren't what we expect. If somebody is regularly missing deadlines, then we can complain to the programmers.

By the way, most sources recommend shorter caches than 10 days. I'm sure there is some cache size that blows the Priority Mode assumptions, but that isn't a reason to change Priority Mode. It is a reason to change your cache size. The programmers have to cater to a number of users "styles", not just the extremes.

ID: 990756 · Report as offensive
W-K 666 Project Donor
Volunteer tester

Send message
Joined: 18 May 99
Posts: 19144
Credit: 40,757,560
RAC: 67
United Kingdom
Message 990804 - Posted: 21 Apr 2010, 5:47:31 UTC - in response to Message 990756.  

None of my tasks are liable to miss there deadlines, but that is not really the point.


Then what is the point of High Priority Mode?

One scenario would be if a host lost power for a few days, then the VHAR tasks with their 14 day deadline could be in trouble if the host had a 10 day cache.


Right. That is exactly what happens to me quite regularly. My main cruncher is my lap top. When I work from home it may run 24 hours a day for a few weeks, with my cache filling up based on this. Then when I travel on business it may average only a few hours every other day for a week or two. That, plus running multiple projects with different ideas of what a "sensible" deadline is, means I go into Priority Mode quite often. Haven't missed a deadline in years, that I recall.

My point is that, as far as I can tell, Priority Mode is what does this, even if its detailed workings aren't what we expect. If somebody is regularly missing deadlines, then we can complain to the programmers.

By the way, most sources recommend shorter caches than 10 days. I'm sure there is some cache size that blows the Priority Mode assumptions, but that isn't a reason to change Priority Mode. It is a reason to change your cache size. The programmers have to cater to a number of users "styles", not just the extremes.

I have always run a cache lower than 7 days, usually two or three was my normal. The reason I have increased it was due to the difficulty of obtaining AP tasks but this was only to a max of 5 days. Until the last outage where I had to increase to 7 days to keep the quad warm. I was using BOINC 5.10.13 at this stage.
Then last week, the 12th, I was upgraded a friends computer, more RAM, Win7 and graphics card. Which left two 512KB sticks of RAM and the NVidia 240 graphs card without homes.

Theses items are now fitted, the gt3240 into my quad and did upgrade to cuda capable BOINC client. Reports seemed to say the offical latest release was ok.

So here's me with my first CUDA card and a new version of BOINC. I managed to install the required Lunatics apps and app_info with no problems and didn't loose any work. (Definite gold star for that).

Things went along quite nicely tasks were being done, I noticed the sawtooth effect on DCF as CUDA tasks drove it down slowly and AP would bash it back up again. It wasn't until about the 17th that I spotted the first Priority mode event. Two VHAR task had already been completed and on completion of the third put thing back to normal running and those VHAR tasks disappeared fast as BOINC also decided it was now short of tasks.

This repeated a couple of times, sometimes I saw it but mainly it occured when I was occupied elsewhere.

Then just before the first post in this thread, I saw there was a group from the same tape of VHAR's just about to be processed. Except it didn't happen.
BOINC went into Priority Mode and selected VHAR tasks that had only been downloaded hours before.

That should not have happened, on either of your requirements of miss tasks or minimise number of task that miss deadline the VHAR tasks closest to deadline needed doing first.
ID: 990804 · Report as offensive
woodenboatguy

Send message
Joined: 10 Nov 00
Posts: 368
Credit: 3,969,364
RAC: 0
Canada
Message 990826 - Posted: 21 Apr 2010, 10:51:58 UTC - in response to Message 990755.  
Last modified: 21 Apr 2010, 11:03:00 UTC

I don't run the re-schedule tool because I do AP on the CPU and MB on the GPU.
But my guess is, as your computer is showing the same symptoms as mine. Is that it is not the re-scheduler but BOINC.


It is certainly possible.

Regards,


I brought down a new batch of tasks this morning and then reran ReSchedule. It does seem to cause a running task (presently at 89.890% complete) to get bumped to "waiting".

This one: http://setiathome.berkeley.edu/result.php?resultid=1581886479 was running prior to ReSchedule.

You can see in the message log that it hasn't been touched as BOINC gets restarted by ReSchedule:

21/04/2010 6:39:00 AM Starting BOINC client version 6.10.45 for windows_intelx86
21/04/2010 6:39:00 AM log flags: file_xfer, sched_ops, task
21/04/2010 6:39:00 AM Libraries: libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
21/04/2010 6:39:00 AM Data directory: D:\Documents and Settings\All Users\Application Data\BOINC
21/04/2010 6:39:00 AM Running under account Administrator
21/04/2010 6:39:00 AM Processor: 2 GenuineIntel Intel(R) Pentium(R) D CPU 3.20GHz [Family 15 Model 6 Stepping 4]
21/04/2010 6:39:00 AM Processor: 2.00 MB cache
21/04/2010 6:39:00 AM Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss htt tm pni cx16 nx lm vmx pbe
21/04/2010 6:39:00 AM OS: Microsoft Windows Server 2003: Standard Server x86 Edition, Service Pack 2, (05.02.3790.00)
21/04/2010 6:39:00 AM Memory: 2.74 GB physical, 4.59 GB virtual
21/04/2010 6:39:00 AM Disk: 1.80 TB total, 1.72 TB free
21/04/2010 6:39:00 AM Local time is UTC -4 hours
21/04/2010 6:39:00 AM NVIDIA GPU 0: GeForce 9800 GX2 (driver version 19745, CUDA version 3000, compute capability 1.1, 512MB, 384 GFLOPS peak)
21/04/2010 6:39:00 AM NVIDIA GPU 1: GeForce 9800 GX2 (driver version 19745, CUDA version 3000, compute capability 1.1, 512MB, 384 GFLOPS peak)
21/04/2010 6:39:00 AM SETI@home Found app_info.xml; using anonymous platform
21/04/2010 6:39:00 AM SETI@home URL http://setiathome.berkeley.edu/; Computer ID 5342012; resource share 100
21/04/2010 6:39:00 AM SETI@home General prefs: from SETI@home (last modified 20-Mar-2010 10:54:44)
21/04/2010 6:39:00 AM SETI@home Computer location: home
21/04/2010 6:39:00 AM SETI@home General prefs: no separate prefs for home; using your defaults
21/04/2010 6:39:00 AM Reading preferences override file
21/04/2010 6:39:00 AM Preferences:
21/04/2010 6:39:00 AM max memory usage when active: 1403.02MB
21/04/2010 6:39:00 AM max memory usage when idle: 2525.44MB
21/04/2010 6:39:00 AM max disk usage: 20.00GB
21/04/2010 6:39:00 AM suspend work if non-BOINC CPU load exceeds 20 %
21/04/2010 6:39:00 AM (to change, visit the web site of an attached project,
21/04/2010 6:39:00 AM or click on Preferences)
21/04/2010 6:39:00 AM Not using a proxy
21/04/2010 6:39:01 AM SETI@home Restarting task 29dc06aa.16374.11115.6.10.82_1 using setiathome_enhanced version 603
21/04/2010 6:39:01 AM SETI@home Restarting task 30dc06ah.16596.6207.3.10.32_0 using setiathome_enhanced version 603
21/04/2010 6:39:01 AM SETI@home Restarting task 01dc06ag.9607.44630.6.10.229_0 using setiathome_enhanced version 608
21/04/2010 6:39:01 AM SETI@home Restarting task 01dc06ag.9607.44630.6.10.228_0 using setiathome_enhanced version 608
21/04/2010 6:39:01 AM SETI@home Sending scheduler request: To fetch work.
21/04/2010 6:39:01 AM SETI@home Requesting new tasks for GPU
21/04/2010 6:39:01 AM Already attached - deleting project_init.xml
21/04/2010 6:39:06 AM SETI@home Scheduler request completed: got 0 new tasks
21/04/2010 6:39:06 AM SETI@home Message from server: (Project has no jobs available)
21/04/2010 6:39:21 AM SETI@home Sending scheduler request: To fetch work.
21/04/2010 6:39:21 AM SETI@home Requesting new tasks for GPU
21/04/2010 6:39:26 AM SETI@home Scheduler request completed: got 0 new tasks
21/04/2010 6:39:26 AM SETI@home Message from server: (Project has no jobs available)
21/04/2010 6:40:37 AM SETI@home Computation for task 29dc06aa.16374.11115.6.10.82_1 finished
21/04/2010 6:40:37 AM SETI@home Starting 29dc06aa.16374.4980.6.10.161_1
21/04/2010 6:40:37 AM SETI@home Starting task 29dc06aa.16374.4980.6.10.161_1 using setiathome_enhanced version 603
21/04/2010 6:40:37 AM SETI@home Starting 29dc06aa.16374.4980.6.10.153_1
21/04/2010 6:40:37 AM SETI@home Starting task 29dc06aa.16374.4980.6.10.153_1 using setiathome_enhanced version 603
21/04/2010 6:40:40 AM SETI@home Started upload of 29dc06aa.16374.11115.6.10.82_1_0
21/04/2010 6:40:42 AM SETI@home Finished upload of 29dc06aa.16374.11115.6.10.82_1_0
21/04/2010 6:40:42 AM Suspending computation - CPU usage is too high
21/04/2010 6:40:53 AM Resuming computation
21/04/2010 6:42:44 AM Suspending computation - CPU usage is too high
21/04/2010 6:42:54 AM Resuming computation
21/04/2010 6:46:24 AM Suspending computation - CPU usage is too high
21/04/2010 6:46:34 AM Resuming computation


A part of the environment over which BOINC has no control.

Oh - this rig now has .45 as I'd thought it was loaded up with when I did the rebuild over the weekend.

Regards,
ID: 990826 · Report as offensive
W-K 666 Project Donor
Volunteer tester

Send message
Joined: 18 May 99
Posts: 19144
Credit: 40,757,560
RAC: 67
United Kingdom
Message 990832 - Posted: 21 Apr 2010, 11:23:11 UTC - in response to Message 990826.  

The question is, if it went into Priority Mode, what tasks did in then run?

Are they the tasks with shortest deadline?

Are they VHAR
If they are VHAR are there other VHAR with closer deadlines?
ID: 990832 · Report as offensive
woodenboatguy

Send message
Joined: 10 Nov 00
Posts: 368
Credit: 3,969,364
RAC: 0
Canada
Message 990839 - Posted: 21 Apr 2010, 13:01:42 UTC - in response to Message 990832.  

The question is, if it went into Priority Mode, what tasks did in then run?

Are they the tasks with shortest deadline?

Are they VHAR
If they are VHAR are there other VHAR with closer deadlines?


Good questions.

I did look at that briefly by sorting the list of tasks by their return date. I couldn't make a quick conclusion (headed out for work at that moment).

There were tasks with earlier return dates not started and ones with slightly later dates that did start (you can see these in the log getting kicked off when BOINC was returned to running by ReSchedule).

All the dates were very close but, as you've observed previously the later ones were getting priority. If I recall correctly (a bit hazy here) I think the one I spotted that was paused had an earlier date than one of the new ones that got kicked off.

On another thread (http://setiathome.berkeley.edu/forum_thread.php?id=59701) there seems to be some informed feedback on the algorithm.

One of the points being made there is that BOINC has some sophistication around what scheduling strategy it switches to, based on the anticipated timings of when things need to be returned by. There is no one-and-only approach but instead several it will switch between, based on events (simply getting a new download of tasks changes the landscape since we can get all sorts of new timing needs as a result).

What I took from the discussion there was that it wasn't exclusively FIFO, even when it projects none of its tasks will miss their deadline. It is comfortable adjusting as events change, even when something like ReSchedule changes the game and moves something away from a speedy GPU onto a slower CPU).

You are making me want to know more about this!

Regards,
ID: 990839 · Report as offensive
W-K 666 Project Donor
Volunteer tester

Send message
Joined: 18 May 99
Posts: 19144
Credit: 40,757,560
RAC: 67
United Kingdom
Message 990850 - Posted: 21 Apr 2010, 14:16:06 UTC
Last modified: 21 Apr 2010, 14:20:49 UTC

Had a few words with a tired Jord, and upgraded to ver 6.10.45 and put in the cc_config.xml file as posted in msg 990648

My present theory after running for a short while is that it 'tries' to predict the run time of each task, and then if Priority Mode is triggered it will pick the shortest task.

If my theory is correct, I am not convinced, at all, that it will ensure all tasks will meet their deadline. If the task with the shortest deadline is very close to that deadline, (i.e. if not done now it will miss deadline) and is not the task with the predicted shortest runtime then it will miss the deadline. Unless there is a second line of backup.

I am not opposed to this method of predicting the runtime of a task but think it needs integrating with the deadline. So that a task with a later deadline but longer predicted runtime is possibly started before a task with a nearer deadline but shorter runtime.

Edit] Will keep it running, but unless a gpu MB task takes longer than predicted I don't expect the computer to go into Priority Mode for about 4 hours.
ID: 990850 · Report as offensive
Previous · 1 · 2 · 3 · Next

Message boards : Number crunching : Question on High Priority Mode


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