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

Re: [HTCondor-users] How to modify cpus



Hi Stephen,

Have you restarted condor after the config change?

Any changes involving slot type or num_cpus requires a restart of condor.

Sent from Nine

From: Stephen Jones <sjones@xxxxxxxxxxxxxxxx>
Sent: 16 May 2016 04:02
To: HTCondor-Users Mail List
Subject: Re: [HTCondor-users] How to modify cpus

On 05/13/2016 02:48 PM, Rich Pieri wrote:
> On 5/13/16 9:08 AM, sjones wrote:
>> Yet the system continues to run the previous number, cpus=24.
> Try "NUM_CPUS = 32" to override the detected CPU count. As a rule of thumb, though, you should not allocate more CPUs or cores than you actually have.

Thanks. There are 2 cpus in the system, and each has 8 cores; so, with
hyperthreads, the system sees 32 processors:

# cat /proc/cpuinfo  | grep processor | tail -n 1
processor    : 31

I.e. 0 .. 31 = 32.

It was set up with cpus=24, but changed to cpus=32 (config file is
below). The trouble is, is still acts as if it has 24; e.g. it will run
3 x 8 core jobs, or 24 x 1  core jobs or anything between, but does not
run (e.g.) 4 x 8 core jobs or 32 x 1 core jobs etc.

Cheers,

Ste

# cat /etc/condor/config.d/00-node_parameters
RalNodeLabel = E52630V3
RalScaling =  1.295
NUM_SLOTS = 1
SLOT_TYPE_1               = cpus=32,mem=auto,disk=auto
NUM_SLOTS_TYPE_1          = 1
SLOT_TYPE_1_PARTITIONABLE = TRUE
# processors : 32
# numberOfCpus : 2




--
Steve Jones                             sjones@xxxxxxxxxxxxxxxx
Grid System Administrator               office: 220
High Energy Physics Division            tel (int): 43396
Oliver Lodge Laboratory                 tel (ext): +44 (0)151 794 3396
University of Liverpool                 http://www.liv.ac.uk/physics/hep/

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