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

Re: [HTCondor-users] cpu affinity



Hi Stefan,

I encountered the same thing when we switched to partitionable slots.  I was
advised by the HTCondor team to use ASSIGN_CPU_AFFINITY instead.  I can confirm
that this does work as expected, at least on Linux.

Thanks,

Anthony Tiradani

On 03/31/2015 10:10 PM, stefan harjes wrote:
> Hi,
> 
> I run lots of vanilla jobs, where I request 4 cpus. When the four cpus are
> claimed my process can only use them when the ENFORCE_CPU_AFFINITY flag is set
> to False. If it is set to True, my jobs only use one cpu even though 4 cpus are
> claimed.
> 
> From my understanding cpu affinity would mean that the process can not claim
> more cpu resources than claimed, but in my case the process is always restricted
> to one cpu. I have observed this on linux and windows with version 8.25 through
> 8.27.
> 
> Any hints?
> Thanks
> Stefan
> 
> 
> 
> 
> _______________________________________________
> 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/
> 

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