From: gautier_niouzes@hotmail.com
Subject: Re: Structure of the multitasking server
Date: Fri, 13 Mar 2015 13:16:29 -0700 (PDT)
Date: 2015-03-13T13:16:29-07:00 [thread overview]
Message-ID: <c943b1fd-8c0c-4c22-ba8c-fb72fbd52805@googlegroups.com> (raw)
In-Reply-To: <uu0on2a375l0.1lixh9dqxrbh5.dlg@40tude.net>
Le vendredi 13 mars 2015 09:14:52 UTC+1, Dmitry A. Kazakov a écrit :
> You could add a wakeup event to prevent busy waiting. An alternative would
> be a waitable jobs queue.
Wouldn't a delay instruction help ?
> BTW, you seem have another problem. The drivers/workers are serviced always
> in the same order which would systematically choke ones near to the list
> end. A usual solution of this problem is list walking entered at the point
> where it was left.
Do you mean worker #1 would tend to be overworked compared to the others ?
In the program I run - perhaps because the jobs are long: a few seconds number crunching - it doesn't seem to be the case:
Worker 1 362 jobs
Worker 2 540 jobs
Worker 3 652 jobs
Worker 4 359 jobs
Worker 5 366 jobs
Worker 6 592 jobs
Worker 7 371 jobs
Worker 8 370 jobs
G.
next prev parent reply other threads:[~2015-03-13 20:16 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-19 12:21 Structure of the multitasking server Maciej Sobczak
2008-09-19 13:34 ` Jean-Pierre Rosen
2008-09-19 17:02 ` Dmitry A. Kazakov
2008-09-21 17:30 ` Maciej Sobczak
2008-09-21 19:24 ` Dmitry A. Kazakov
2008-09-21 21:27 ` Maciej Sobczak
2008-09-22 8:12 ` Dmitry A. Kazakov
2008-09-22 12:47 ` Maciej Sobczak
2008-09-22 14:11 ` Dmitry A. Kazakov
2008-09-23 8:07 ` Maciej Sobczak
2008-09-23 9:37 ` Dmitry A. Kazakov
2008-09-23 10:47 ` Jean-Pierre Rosen
2008-09-21 17:23 ` Maciej Sobczak
2008-09-22 8:23 ` Jean-Pierre Rosen
2015-03-12 16:07 ` gautier_niouzes
2015-03-12 21:38 ` Jacob Sparre Andersen
2015-03-12 22:39 ` gautier_niouzes
2015-03-13 8:15 ` Dmitry A. Kazakov
2015-03-13 20:16 ` gautier_niouzes [this message]
2015-03-13 20:47 ` Dmitry A. Kazakov
2015-03-15 7:43 ` gautier_niouzes
2015-03-15 8:35 ` Simon Wright
2015-03-15 8:52 ` J-P. Rosen
2015-03-15 9:21 ` Jacob Sparre Andersen
2015-03-15 16:04 ` Brad Moore
2015-03-13 23:04 ` Randy Brukardt
2015-03-14 8:22 ` Simon Wright
2008-09-19 23:01 ` anon
2008-09-21 17:37 ` Maciej Sobczak
2008-09-22 2:32 ` anon
2008-09-22 13:05 ` Maciej Sobczak
2008-09-23 9:25 ` anon
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox