BOINC / boinc

Open-source software for volunteer computing and grid computing.
https://boinc.berkeley.edu
GNU Lesser General Public License v3.0
2.02k stars 447 forks source link

Avoid concurrent startup of tasks when the client is started #1293

Open romw opened 9 years ago

romw commented 9 years ago

Reported by knreed on 10 Oct 43589063 08:56 UTC Some research projects use significant disk or other resources and concurrent start up of tasks can cause an impact on the system or possible result in heartbeat non-response. See http://www.worldcommunitygrid.org/forums/wcg/viewthread_thread,30688_offset,0#428458

It would be useful if the client would stagger the startup of tasks to avoid this issue or impact on the users machine.

Migrated-From: http://boinc.berkeley.edu/trac/ticket/1321

romw commented 9 years ago

Commented by Sekerob on 27 May 43596334 01:21 UTC Would propose for the tag to also work when coming out of hibernation. Staggered starts would be ideal as a second control. Certainly have found that if 8 CEP2 start at the same time, there's at least an hour passing of disk trashing before even 1 second of CPU time is logged, if system is left alone. From user perspective impossible.

romw commented 9 years ago

Commented by davea on 12 Apr 43596931 04:05 UTC What does BOINC report as the working set size of those jobs? How much RAM does the system have?

ChristianBeer commented 7 years ago

vboxwrapper uses a random delay when started for exactly the same reason. One should add a random delay to starting apps in general especially when starting or coming out of hibernation.