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

Re: [HTCondor-users] CPUs total for machines with Partitionable Slots?



Angel,

Unfortunately, this is not a current feature within condor. You can run: `condor_status -af state activity TotalSlotCPUs` will give you the raw data, and then you can run it through some tool to sum it.

Therefore, we will take this as a feature request, and consider adding this functionality within HTCondor. Sorry we could not help you much further.

Best,
Joe Reuss

From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Angel de Vicente <angel.vicente.garrido@xxxxxxxxx>
Sent: Friday, April 5, 2024 4:40 PM
To: htcondor-users@xxxxxxxxxxx <htcondor-users@xxxxxxxxxxx>
Subject: Re: [HTCondor-users] CPUs total for machines with Partitionable Slots?
 
Hello,

Joe Reuss via HTCondor-users
<htcondor-users@xxxxxxxxxxx> writes:

> We're not super sure what you are asking here, do you think you could
> elaborate more on it? Are you asking if there is a way to do
> condor_status for each CPU instead of for each slot? What information
> are you trying to get specifically?

not really. I would like to have a way so that the summary information
provided by condor_status does not take into account Slots, but rather
CPUs. So, going back to my previous example, now I get:

> ,----
> | $ condor_status --constraint 'Machine == "xxxx.xxx.xxx.xx" || Machine == "xxxx.xxx.xxx.xx"' -compact
> | Machine          Platform     Slots Cpus Gpus  TotalGb FreCpu  FreeGb  CpuLoad ST Jobs/Min MaxSlotGb
> |
> | xxxx.xxx.xxx.xx  x64/Ubuntu22    0   128        503.43    128   503.43    1.59 Oi     0.00 *      
> | xxxx.xxx.xxx.xx  x64/Ubuntu22    8S    1          7.84      8    62.71    0.53 Oi     0.00      7.84
> |
> |                Total Owner Claimed Unclaimed Matched Preempting  Drain Backfill BkIdle
> |
> |   x64/Ubuntu22     9     9       0         0       0          0      0        0      0
> |
> |          Total     9     9       0         0       0          0      0        0      0
> `----

while I imagine something like the following, where the summary
information counts CPUs and not Slots

> ,----
> | $ condor_status --cpus --constraint 'Machine == "xxxx.xxx.xxx.xx" || Machine == "xxxx.xxx.xxx.xx"' -compact
> | Machine          Platform     Slots Cpus Gpus  TotalGb FreCpu  FreeGb  CpuLoad ST Jobs/Min MaxSlotGb
> |
> | xxxx.xxx.xxx.xx  x64/Ubuntu22    0   128        503.43    128   503.43    1.59 Oi     0.00 *      
> | xxxx.xxx.xxx.xx  x64/Ubuntu22    8S    1          7.84      8    62.71    0.53 Oi     0.00      7.84
> |
> |         (CPUs)   Total   Owner Claimed Unclaimed Matched Preempting  Drain Backfill BkIdle
> |
> |   x64/Ubuntu22     136     136       0         0       0          0      0        0      0
> |
> |          Total     136     136       0         0       0          0      0        0      0
> `----


I hope it is clearer now.

Cheers,
--
Ángel de Vicente                 -- (GPG: 0x64D9FDAE7CD5E939)
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://urldefense.com/v3/__https://www.iac.es/en__;!!Mak6IKo!M7wP_q3ZXi2UGj6xfVrLhhx3-ZKoqaIC5FVJSWES6xgXkhZ-wamavBUT8xoZ7sr9u3LnZCdciQxmnL6fz6TtRczIig$ )

_______________________________________________
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/