Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > Load Balancing
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 11 Topic 44901 of 47977
Post > Topic >>

Load Balancing

by "J.M." <jm_jm@[EMAIL PROTECTED] > Apr 16, 2008 at 03:11 PM

I need a decent algorithm to divide work amongst my workers (processors)
which I will use with OpenMP:

More precisely, I have a list of tasks (numbered 1,...n) requiring t_i
(i=1,..,n) time units (flops, whatever). I would like to assign each task
to one of my k workers (processors) so that all workers have about the
same
amount of work. Ideal would of course be if all workers have work for T/k
time units, T being the sum over the t_i. As I want the total time I have
to wait for all work to be completed to be minimal, the deviation of the
ideal work time for each worker should be "punished" in the max. norm (or
2-norm). I don't need the best solution, but a work load that is balanced
reasonably well - so I am looking for a heuristic and ideally for a C/C++
implementation that is available in the public domain.

I would be grateful for any hint as to where I can find such an algorithm
(either already implemented or described so that I can program it myself).

(Note: I do not want to use the various OpenMP scheduling techniques,
because I will adapt my data structure in advance so that the data will be
accessed sequentially by each processor. Furthemore, t_i varies
significantly (some may even be 0), and this is unknown to the OpenMP
scheduler...) 

Thanks in advance.

Jan
 




 11 Posts in Topic:
Load Balancing
"J.M." <jm_j  2008-04-16 15:11:03 
Re: Load Balancing
"Greg Neill" &l  2008-04-16 09:27:04 
Re: Load Balancing
"J.M." <jm_j  2008-04-16 16:00:34 
Re: Load Balancing
Horand.Gassmann@[EMAIL PR  2008-04-16 08:08:49 
Re: Load Balancing
"Chris Thomasson&quo  2008-04-16 13:21:07 
Re: Load Balancing
"Chris Thomasson&quo  2008-04-17 22:33:10 
Re: Load Balancing
Juha Nieminen <nospam@  2008-04-16 19:39:33 
Re: Load Balancing
Kai-Uwe Bux <jkherciue  2008-04-17 22:38:57 
Re: Load Balancing
Tim Little <tim@[EMAIL  2008-04-17 20:38:16 
Re: Load Balancing
James Waldby <no@[EMAI  2008-04-18 09:34:30 
Re: Load Balancing
Tim Little <tim@[EMAIL  2008-04-18 20:33:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 8:50:02 CDT 2008.