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

Re: [HTCondor-users] how to get current 'fair share' quota/weight of a group?



Prior to 8.5.3 there is no ad that has the scalar values.   

But in 8.4.x you can get condor_userprio to generate something that look like a per-user ad on the fly when you use the -af argument 

condor_userprio -constraint 'name=="bob@xxxxxxxxx"' -af:lrng Name AccountingGroup AccumulatedUsage

-tj

-----Original Message-----
From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Thomas Hartmann
Sent: Monday, September 26, 2016 9:46 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] how to get current 'fair share' quota/weight of a group?

Hi all,

on a user's question [1], I am currently looking for a ClassAd with the current weighting/fair share quota of a given group?

I.e.,
we have several dynamic quota groups. If I remember correctly, by default the resource usage over the last three days is taken into account for weighting quotas.
So, I have been skimming, so far unsuccessfully, through
  -state
  -collector
looking for an ad with a flat value of the current quota.
But is there actually such a 'scalar' ad?

If not, I assume, that the quota is calculated by the collector each negotiation cycle anew for any queued job with its resource requests (including ConcurrencyLimits, ChildAccountingGroup,...)?
And if so, is there an 'easy' algorithm to calculate oneself the collector's hypothetical current quota for a job against everybody else being queued?

Cheers and thanks,
  Thomas


[1]
who would like to try to 'safe up' its fair share quota for some more higher priority work load - which is from my point of view really *not* a good approach, i.e., folding some oscillating behaviour into the system,...