lkml.org 
[lkml]   [2012]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRE: [RFC v3 0/3] vmpressure_fd: Linux VM pressure notifications
    Date

    -----Original Message-----
    From: ext Glauber Costa [mailto:glommer@parallels.com]
    Sent: 21 November, 2012 13:55
    ....
    So I'll say it again: if this is always global, there is no reason any
    cgroup needs to be involved. If this turns out to be per-process, as
    Anton suggested in a recent e-mail, I don't see any reason to have
    cgroups involved as well.
    -----

    Per-process memory tracking has no much sense: process should consume all available memory but work fast. Also this approach required knowledge about process deps to take into account dependencies e.g. in dbus or Xorg. If you need to know how much memory process consumed in particular moment you can use /proc/self/smaps, that is easier.

    Best Wishes,
    Leonid


    \
     
     \ /
      Last update: 2012-11-21 15:21    [W:2.132 / U:0.504 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site