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

Re: [Condor-users] Job Configuration


I have condor installed on Quad Core Windows machine, so four jobs are running fine using slots 1 to 4.


Instead of running 4 windows jobs, I was trying to run 2 Windows jobs and 2 Linux jobs. So I am running Linux Virtual Machine with 2 CPU to run two Linux jobs.


How to configure in such a way that two jobs should run on Windows Host and two jobs should run on Linux Guest OS, but as soon as the windows user try to use windows machine, the jobs on both Windows and Linux OS should be suspended.


Right now I have configured VMP_HOST_MACHINE on Virtual machine and VMP_VM_LIST on Host machine, the problem is if no one is using the machine, only one job (either Linux or Windows job) is running, other slots changes to Owner status.


Please let me know.





From: Natarajan, Senthil
Sent: Wednesday, March 24, 2010 3:08 PM
To: 'Condor-Users Mail List'
Subject: Job Configuration



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.




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