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

Re: [HTCondor-users] CPU usage


So do you want the full machine to be available during the day if the
machine isn't being used, or do you always want some number of slots
reserved during working hours?

If it's the first, you could do something like this:
BackgroundLoad = 0.3
NonCondorLoadAvg = (TotalLoadAvg - TotalCondorLoadAvg)
START = $(NonCondorLoadAvg) <= ((SlotID - 1) + $(BackgroundLoad))

That would cause slots to be available based on the CPU load on the
machine. The higher the load, the fewer slots available. You might
need to tune the BackgroundLoad experimentally. It also assumes static
slots (I'm not sure if your use of partitionable slots above is by
design or just an attempt to solve this particular problem).

If it's the second, you could incorporate a time of day expression
(see http://research.cs.wisc.edu/htcondor/manual/v8.2/3_5Policy_Configuration.html#SECTION00459300000000000000).

Hope this helps!

Ben Cotton
main: 888.292.5320

Cycle Computing
Better Answers. Faster.

twitter: @cyclecomputing