Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Limit no of cores to be used by Condor
- Date: Mon, 17 Apr 2023 13:15:45 -0500
- From: Todd Tannenbaum <tannenba@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Limit no of cores to be used by Condor
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