Re: algorithm to sum run time of simultaenous jobs?
- From: dgates <dgates@xxxxxxxxxxxxxx>
- Date: Tue, 09 Dec 2008 10:30:18 -0800
On Mon, 8 Dec 2008 13:03:18 -0800 (PST), trickybleeder@xxxxxxxxx
wrote:
I have a series of jobs with known durations (seconds). Example:
job 1 - 9
job 2 - 9
job 3 - 9
job 4 - 1
job 5 -2
job 6- 8
job 7 -1
job 8 - 8
job 9 - 5
I am going to process more than one job at a time. For the sake of
example let's say 5 at a time. I can control the order in which the
jobs excute. I want to know how much time will have passed when all
the jobs are complete.
Isn't this the same as a packing problem? Something like this?
http://en.wikipedia.org/wiki/Bin_packing_problem
Your "5 at a time" is a match for "5 bins." And the durations of the
jobs are a match for the size of the objects you're trying to fit into
the 5 bins?
If so, then my understanding is that there is no algorithm outside of
brute force trial & error that can pack (or schedule) to maximum
efficiency.
.
- Follow-Ups:
- Re: algorithm to sum run time of simultaenous jobs?
- From: --CELKO--
- Re: algorithm to sum run time of simultaenous jobs?
- References:
- algorithm to sum run time of simultaenous jobs?
- From: trickybleeder
- algorithm to sum run time of simultaenous jobs?
- Prev by Date: Re: Enigma 1515 - Relative sizes
- Next by Date: Re: Cryptographic Method...?
- Previous by thread: Re: algorithm to sum run time of simultaenous jobs?
- Next by thread: Re: algorithm to sum run time of simultaenous jobs?
- Index(es):
Relevant Pages
|