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

Re: [HTCondor-users] LoadAvg vs. CondorLoadAvg



Thanks Steffen, that makes sense.

I am basically trying to write a ClassAd that spits out how many seconds that a job is effectively idle, being on the safe side, I would check whether LoadAvg <= 0.3 and then compute the number of seconds the job is in that state.

Does that seem correct to you?

Best,
Evan


Evan Sarmeinto
Sr. Systems Administrator
Harvard-MIT Data Center
T: 617-384-5876
E: esarmien@xxxxxxxxxxxxx
Follow us: @hmdcrce


On Fri, Apr 17, 2015 at 10:59 AM, Steffen Grunewald <Steffen.Grunewald@xxxxxxxxxx> wrote:

On Fri, Apr 17, 2015 at 07:45:25AM -0700, Evan Sarmiento wrote:
> Hi,
>
>
> Iâm trying to figure out how this is possible. When I run:
>
>
> condor_status -format "%d " '(LoadAvg - CondorLoadAvg)â
>
>
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Add a '\n' in the format if you want separate lines (pipe through "sort | uniq -c"
to count different results).

> In a job, when I run a CPU intensive job, like, âddâ, or âmd5sumâ, I see the LoadAvg increasing, but CondorLoadAvg always equals âLoadAvg.â This makes the CpuBusy and CpuBusyTime always equal âfalseâ

CpuBusy is meant to detect "foreign" (to Condor) activity, for example if
a machine is also used as a desktop computer or serving other tasks -
Condor can then decide not to schedule jobs to it, or even preempt
running (Condor) jobs.
So I think this is intentional and not a bug - Condor uses slots for
bookkeeping of resources and won't oversubscribe them.

- S

--
Steffen Grunewald * Cluster Admin * steffen.grunewald(*)aei.mpg.de
MPI f. Gravitationsphysik (AEI) * Am MÃhlenberg 1, D-14476 Potsdam
http://www.aei.mpg.de/ * ------- * +49-331-567-{fon:7274,fax:7298}
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/