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

[Condor-users] Job Configuration



Hi,

I am having condor on Quad Core (windows OS) machine, so there are total of 4 jobs can run using slot1 to slot4.

 

I installed VMWare server and running Linux Virtual Machine with 2 CPU , so two jobs can run on Linux OS, and configured  windows condor to run 2 jobs (using NUM_CPU=2).

 

And also configured VMP_HOST_MACHINE on Virtual machine and VMP_VM_LIST on Host machine. Now maximum of only one job is running if no one is using Host and Guest OS (other slots status changes to owner). It use to run max of 4 jobs when I was using condor on just Windows Host OS.

 

Could you please let me know how to configure START, SUSPEND, CONTINUE, PREEMPT, so that if nobody is using Windows Host and it is idle, then I would like two jobs to run on Windows and two jobs on Linux Virtual machine (i.e. all slots on both Host and Guest OS should run jobs). As soon as someone starts using Windows Host, then all the jobs (2 on Windows and 2 on Linux) should be suspended.

 

I have following for START, SUSPEND, CONTINUE, PREEMPT.

 

UWCS_START      = ( (KeyboardIdle > $(StartIdleTime)) \

                    && ( HOST_KeyboardIdle > $(StartIdleTime)) \

                    && ( $(CPUIdle) || \

                         (State != "Unclaimed" && State != "Owner")) \

                    && ( $(HOST_CPUIdle) || \

                         (HOST_State != "Unclaimed" && HOST_State != "Owner")) )

 

UWCS_SUSPEND = ( $(KeyboardBusy) || \

                 ( (CpuBusyTime > 2 * $(MINUTE)) \

                   && $(ActivationTimer) > 90 ) || \

                 $(HOST_KeyboardBusy) || \

                 ( (HOST_CpuBusyTime > 2 * $(MINUTE)) \

                   && $(HOST_ActivationTimer) > 90 ) )

 

UWCS_CONTINUE = ( $(CPUIdle) && ($(ActivityTimer) > 10) \

                  && (KeyboardIdle > $(ContinueIdleTime)) && \

                  $(HOST_CPUIdle) && (HOST_KeyboardIdle > $(ContinueIdleTime)) )

 

UWCS_PREEMPT = ( ((Activity == "Suspended") && \

                  ($(ActivityTimer) > $(MaxSuspendTime))) \

                 || (SUSPEND && (WANT_SUSPEND == False)) )

 

Please let me know

Thanks,

Senthil