[Info-vax] Generic Queue feeding multiple Batch Queues
Michael Ober
obermd. at .alum.mit.edu.nospam
Fri Jan 1 16:15:30 EST 2010
Thank you.
Mike.
"Jan-Erik Söderholm" <jan-erik.soderholm at telia.com> wrote in message
news:Mcs%m.14185$U5.216150 at newsb.telia.net...
> Michael Ober wrote:
>> Is it possible to create a generic batch queue that is used to feed
>> multiple batch queues? What we have are several batch queues for general
>> background processing, but we also have a need to submit short lived jobs
>> into the system that are allowed to run on any batch queue. I want to
>> take advantage of the fact that sometimes the various batch queues are
>> available so that these short duration jobs can be processed quickly.
>>
>> For example, in a system with the following queues that receive
>> submissions directly
>>
>> BatchA: Job Limit = 4; Base Priority = 3
>> BatchB: Job Limit = 5; Base Priority = 2
>> BatchC: Job Limit = 1; Base Priority = 1
>>
>> i'd like a new queue that can feed all three, depending on Availability
>> status. If a queue is Busy or Stopped, it shouldn't receive any jobs
>> from this queue. If it's Available, it's eligible for the next job.
>>
>> SubmitToBatch: Holding Queue; This queue will submit to any of the above
>> queues if and only if that queue status is Available.
>
> $ init/que/start/batch/gen=(BatchA, BatchB, BatchC) SubmitToBatch
>
>>
>> Thanks,
>> Mike Ober.
>>
More information about the Info-vax
mailing list