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

Re: [HTCondor-users] Limit no of cores to be used by Condor



Thanks Guys!

Thanks,
Gagan

On Mon, Apr 17, 2023 at 11:46âPM Todd Tannenbaum via HTCondor-users <htcondor-users@xxxxxxxxxxx> wrote:
On 4/17/2023 11:52 AM, Greg Thain via HTCondor-users wrote:
On 4/17/23 11:30, gagan tiwari wrote:
Hi Guys,
          I want to reserve core 0,1 for kernel jobs on all of our execute nodes.
So, please let me know how to exclude thoseÂcores from being used by Condor jobs.


Probably the best way is to not reserve specific cores for the system or for HTCondor, but just tell HTCondor to use two fewer cores than it detects on the system, by setting NUM_CPUS to two fewer than what the execute point has.

So on all your execute points (nodes), you could have the following in an HTCondor config to achieve what Greg suggests above:

ÂÂ NUM_CPUS = $(DETECTED_CPUS) - 2

regards,
Todd


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