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

Re: [Condor-users] Re: split processors among multiple jobs



that definitely sounds like it will help..

I was just trying to find out a different way of "loadbalancing"..

I am often in situations, where people work on different tasks, and one person might have 5 projects that they work on.. and instead of checking one project after another, they would like to see a progression of all 5 projects at the same time. It would be nice if condor could implement something like that.


Jaime Frey wrote:

On Tue, 15 Mar 2005, Matt Hope wrote:



On Tue, 15 Mar 2005 07:48:10 -0800, Oliver Hotz <oliver@xxxxxxxxxxxx> wrote:


is there any way, that if i submit 2 jobs at the same time (each with 30
queues), so 60 jobs total, and i have 30 processors, that instead of
processing job 1, wait till it finishes and then processes job 2, i want
it to split the 30 processors equally and give 15 processors to job 1,
and 15 processors to job 2 right from the start ?

any way to do this ?


Ian's answers are all valid and most are better long term solutions,
however in the spirit of fast and dirty...

Another option that is fast and easy to achieve if a pain to do every time is:

1) submit all jobs on hold from cluster A and cluster B with priority 0

2) edit the job priorities of both clusters so that even or odd
numbered jobs have a higher priority

3) release your jobs

this should cause them to be interleaved.

This will not work well with other jobs in the queue (you would have
to recurse the above instructions and would eventually run out of
priority divisions as currently you have only -20 -> +20)

That said this is going to get the simple case working immediately



With Condor 6.7.6, we're removing the restriction on job priority values. They can be any integer. This allows an even quicker solution; just add the following to your submit files:

priority = -$(Process)

+----------------------------------+---------------------------------+
|            Jaime Frey            |  Public Split on Whether        |
|        jfrey@xxxxxxxxxxx         |  Bush Is a Divider              |
|  http://www.cs.wisc.edu/~jfrey/  |         -- CNN Scrolling Banner |
+----------------------------------+---------------------------------+
_______________________________________________
Condor-users mailing list
Condor-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/condor-users