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

Re: [HTCondor-users] Fractional CPU resources possible?



Hi Carsten,


Hmm, thus in the slot definition

NUM_SLOTS_TYPE_1 = 1
SLOT_TYPE_1 @=slot
 Âcpus = 16
 Âram = 45%
 Âswap = 0%
 ÂGPUS = auto : Regexp("0000:[04][89CD]:00.0", DevicePciBusId)
@slot

I would exchange `cpus = 16` by `cpus = 160` and maybe add something like

MODIFY_REQUEST_EXPR_REQUESTCPUS = quantize( RequestCpus * IfTheElse( isUndefined(Target.TinyJob), 10.0, 1.0), {1})

yes, I would try something in that direction - but tbh I have not done it here ð
...but I would expect it to work "in principle" (fingers crossed...)


Thinking about it - maybe instead coming from the slot side, you could try to tweak the core count and increase it for Condor via something like

NUM_CPUS = $INT($(DETECTED_CPUS) * N)
MEMORY = $(DETECTED_MEMORY)
SLOT_WEIGHT = Cpus * (1.0/N)

(and then on the submitted side some quantization/re-scaling if necessary)

I would be curious how it works out :)

Cheers,
  Thomas


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature