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

Re: [HTCondor-users] how to limit number of cores for condor to use per machine



Use the following in your condor_config file:

 

NUM_CPUS = N

where N = the number of cpus or cores that you want HTcondor to use.

 

Mark Glowka

Sr. Infrastructure Analyst

The Hartford

 

 

 

From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Alex
Sent: Sunday, January 31, 2016 3:04 PM
To: htcondor-users@xxxxxxxxxxx
Subject: [HTCondor-users] how to limit number of cores for condor to use per machine

 

Hello! Is there a way to tell condor to not use more than N cores per machine (with more than N cores available) to execute a particular set of jobs? The actual problem is that each of my jobs requires a lot of memory, so to get a better throughout it probably makes sense to prevent condor from executing more than so and so many jobs on different cores of the same machine because then all of the machine's memory will be exhausted, causing the jobs to use the harddrive which is much much slower.

Thanks much,

Alex

************************************************************
This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information.  If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited.  If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies.
************************************************************