[Swift-user] Re: [Swift-devel] How to the maximum number of concurrent jobs allowed on a site to a fixed size?
Mihael Hategan
hategan at mcs.anl.gov
Thu Aug 6 16:56:48 CDT 2009
On Thu, 2009-08-06 at 16:19 -0500, Yi Zhu wrote:
> Hi, Allan
>
> Thanks for you reply.
>
> I've tried the way you suggested, but it doesn't work as I expected.
>
>
> Suppose I have a PBS cluster with 10 worker nodes,(btw. I don't have the
> privilege to offline/shutdown those worker nodes), Now I want to use
> some portion of workers nodes rather than all of them to do jobs that
> are submitted by swift. The way i think is setting the value of
> "maximum number of concurrent jobs allowed on a site" to number of
> workers nodes I wish to run. (e.g. If I only want 5 out 10 workers node
> keep busy, I can choose to set the value of maximum number of
> concurrent jobs to 5 ,so there are only 5 jobs can be run on pbs
> concurrently)
So you're not trying to set the maximum number of concurrent jobs, but
the exact number of concurrent jobs.
What you can do is give the site a large initial unscaled score, which
means that the scaled score will be at its maximum from the start and
then set the job throttle appropriately.
More information about the Swift-user
mailing list