You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Ian Downes <id...@twitter.com> on 2014/11/20 00:42:38 UTC

Fwd: Proposed changes to memory usage in ResourceStatistics [MESOS-2104]

---------- Forwarded message ----------
From: Ian Downes <id...@twitter.com>
Date: Tue, Nov 18, 2014 at 4:27 PM
Subject: Proposed changes to memory usage in ResourceStatistics [MESOS-2104]
To: "dev@mesos.apache.org" <de...@mesos.apache.org>


I'd like to propose changes to the protobuf:

1) Correct mem_rss_bytes to report rss from mem.stat, not the total memory
usage!
2) Naming should be consistent with the mem.stat source
3) Source actual limits from the cgroup, not from the desired resource
4) Include swap usage

(1) is particularly important because it will change the source of an
existing field.

Please take a look at all the proposed changes and comment in the ticket:

https://issues.apache.org/jira/browse/MESOS-2104

Thanks,
Ian