I did experiments and a minimal amount of surface research on this and
found out the following items at least tangentially related to OPs question:

   1. CGroups treats paged-in memory mapped files TOWARDS your memory
   limit, even if they are mapped shared. I have not yet tested what happens
   if tasks from different cgroups map the same file, but it *might* over
   account memory usage in such a case.
   2. CPUs really stands for CPUshares. (assuming you don't enable CFS
   limiting) If you give a task 0.1 or 1M CPU shares it won't make a
   difference until the resource is under contention, only then will the CFS
   enforce the share ratio.
   3. Linux kernel has overcommitting of memory
   https://www.kernel.org/doc/Documentation/vm/overcommit-accounting  but I
   have not experimented with tweaking this setting and adjusting mesos
   resources.

Cheers,
Charles Allen

On Sat, Apr 11, 2015 at 1:41 AM, Adam Bordelon <[email protected]> wrote:

> See also the Optimistic Offers JIRA:
> https://issues.apache.org/jira/browse/MESOS-1607
>
> On Fri, Apr 10, 2015 at 12:21 PM, Benjamin Mahler <
> [email protected]> wrote:
>
>> There is a really stale one here:
>> https://issues.apache.org/jira/browse/MESOS-354
>>
>> It's either going to get converted to an epic, or we can replace it with
>> a fresh epic with a design and eventually a work breakdown. Add yourself to
>> the watchers for updates.
>>
>> On Fri, Apr 10, 2015 at 12:03 PM, Tom Arnfeld <[email protected]> wrote:
>>
>>> Is there a ticket for this specific bit of work, Ben?
>>>
>>> --
>>>
>>> Tom Arnfeld
>>> Developer // DueDil
>>>
>>> (+44) 7525940046
>>> 25 Christopher Street, London, EC2A 2BS
>>>
>>>
>>> On Fri, Apr 10, 2015 at 6:28 PM, Eduardo JimĂ©nez <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Does mesos today overcommit server resources if the current offers that
>>>> have been accepted are not being used?
>>>>
>>>> I have cpu/mem cgroup isolators turned on, and I see the cluster
>>>> running out of resources to offer, even if the applications accepting the
>>>> current offers aren't fully using them. I'm wondering if choosing to enable
>>>> the isolators causes this behavior.
>>>>
>>>> Thanks,
>>>>
>>>> Eduardo
>>>>
>>>>
>>>>
>>>
>>
>

Reply via email to