[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Scheduling in hetrogenous environment

You`ll need to set Requirements, either in the job classad or the resource classad.
Job :- Requirements = FreeCpus - CurrMatches > 0
CurrMatches = 0
FreeCpus = 14
would match 14 jobs and then wait untill the classad is updated. If at that time FreeCpus = 0, then the Requirements are false and the match is not made.

You could also set the resource
Requirements = Jobs_from_condorG < 5
but Jobs_from_condorG would have to be calculated by you.

How`ve you set the machine max to 5?


David Wallom wrote:


I have 3 machines that can be submitted to from a Condor-G jobmanager. I have set within the machine classads that they can run a maximum of 5 jobs each, When I submit the job I use the ‘Rank’ facility to set it so that the fasted machine is always selected first. My problem is that the jobs get allocated as follows:

1^st 5 jobs Machine 1 (very quick)

2^nd 5 jobs Machine 2 (slow)

3^rd 5 jobs Machine 3 (very very slow)

4^th 5 jobs Machine 1

5^th 5 jobs Machine 2

6^th 5 jobs Machine 3

7^th 5 jobs Machine 1

8^th 5 jobs Machine 2

9^th 5 jobs Machine 3

And so on. My problem is that the destination of the jobs seems to be completely independent of whether that resource has jobs already queued. i.e when the 1^st , 2^nd & 3^rd set of 5 jobs have been submitted to resources the negotiation should stop until there is a spare resource, ie my very fast machine would get the bulk of the jobs not an equal share as happens at the moment.

IS there anyway that you can force the Negotiator to operate inconjunction to the resources and not preallocate which machines jobs will get sent to?




Dr. David Wallom

Operations Director

Centre for e-Research Bristol

Rm 4.56

H.H. Wills Physics Laboratory

Tyndall Avenue



Tel +44 (0)117 928 8769



Condor-users mailing list

-- Rod Walker +1 6042913051