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

Re: [HTCondor-users] CPU usage

So I have been playing with using backgroundload=0.3. What does the backgroundload mean? Is that a percent? I'm not familiar with that term.



On Wed, Jun 24, 2015 at 8:54 AM, Ben Cotton <ben.cotton@xxxxxxxxxxxxxxxxxx> wrote:

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
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: