[lxc-users] page cache memory accounting

Mohan G mohan_gg at yahoo.com
Mon Jan 19 06:10:50 UTC 2015


Regarding the subject of page cache accounting.. Actually it does limit all memory and even page cache usage we limited with memory limit setting.
memory.limit_in_bytes=400M
 

     On Monday, January 19, 2015 11:17 AM, Mohan G <mohan_gg at yahoo.com> wrote:
   

 please don;t bother.. got the stats file.. thanks Mohan 

     On Monday, January 19, 2015 11:10 AM, Mohan G <mohan_gg at yahoo.com> wrote:
   

 Thanks.Where can find the memory usage details of a cgroup 

     On Saturday, January 17, 2015 1:03 AM, Serge Hallyn <serge.hallyn at ubuntu.com> wrote:
   

 Yes, I believe you need to use the kmem limits for that.  Those are afaik
not yet fully supported, sadly, but my ubuntu utopic host at least has
them available:  memory.kmem.limit_in_bytes etc

Quoting Mohan G (mohan_gg at yahoo.com):
> Hi,I created a cgroup and set memory limit as 400M. And i ran my test program which is under this group to create a file of size 8G. ( thinking that the amount of page cache pages needed at any point of time can exceed 400M). But i did not have any issues and the file got created. So my question is do these memory limits only apply to non file based operations. ie (page cache is not accounted for ?). The question is relevant to containers too.. ( same logic applies here too).
> RegardsMohan
> 

> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

_______________________________________________
lxc-users mailing list
lxc-users at lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

    

    

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150119/cf84ae61/attachment.html>


More information about the lxc-users mailing list