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

Re: [Condor-users] Use different machine ressources at different times



Hello Greg

Thank you very much for your suggestions. I will try them immediately.

As some of our machines employ dynamic provisioning, do you have any
suggestions how it may work in that case?

We have come up with a "hack". Using cron job which changes the condor
config file and then issuing a condor_reconfig. It seems to work, but
this is clearly not the way condor should be used...

Everything better will be greatly appreciated.

Best regards from Vienna,
Hermann

On Fri, 2012-07-13 at 10:20 -0500, Greg Thain wrote:
> > Hello
> >
> > We want to use a few multi-core machines with condor.
> > Due to their owners demand we can only use a certain number of cores
> > during the day, but all machine resources during the night.
> > So we would need a way to dynamically restrict resource usage of condor
> > depending on the time.
> 
> With the static slot configuration, this is relatively easy to do.  I 
> don't think there's a good way to do with with partitionable slots as 
> they exist in condor 7.8 or 7.9.
> 
> With static slots, something like this should work (though I haven't 
> tested it)
> 
> # ClockMin is the minute of the day, starting at midnight
> # 480 minutes is 8 am, 1020 is 5 pm
> START = ((ClockMin > 480) && (ClockMin < 1020)) && (slotid < 5)) || 
> (clockMin < 480) || (clockMin > 1020)
> 
> then set SUSPEND and PREEMPT to do something reasonable for your site. 
>   Probably you just want to preempt the excess jobs during work hours.
> 
> -Greg
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/
> 

-- 
-------------
DI Hermann Fuchs
Christian Doppler Laboratory for Medical Radiation Research for Radiation Oncology
Department of Radiation Oncology
Medical University Vienna
Währinger Gürtel 18-20
A-1090 Wien

Tel.  + 43 / 1 / 40 400 7271
Mail. hermann.fuchs@xxxxxxxxxxxxxxxx