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

Re: [HTCondor-users] Condor + Docker?



On 07/10/2014 10:47 PM, Greg Thain wrote:
> On 07/10/2014 03:39 PM, Branden Timm wrote:
>> That's great, I hadn't noticed the existing cgroup support in the 
>> documentation.

Moreover there is also support for further filesystem isolation
via bind mounts:

http://osgtech.blogspot.cz/2012/02/file-isolation-using-bind-mounts-and.html

>> 2) If so, is there a way to pass options to cgcreate for the job to 
>> influence the cpu/memory/blkio share reservations?  Or is it simply 
>> used for accounting at this point?
>>
> 
> The idea is that the size of the cgroups will reflect the size of the 
> slot.  So, for memory, the cgroup memory controller limit will be based 
> on the Memory attribute of the slot.  This may be controlled 
> (indirectly) by the job with the Request_memory job attribute.

Note that Request_memory job attribute can influence the size of cgroup
memory limit only when partitionable slots are used. Which is
consistent with the fact that the cgroup memory limit of the job will
match memory of the slot.

--
Martin Bukatovic