[Devel] Re: Fwd: Re: lxc-performance?
Serge E. Hallyn
serge at hallyn.com
Tue Oct 12 15:47:27 PDT 2010
Quoting MALATTAR (mouhannad.alattar at univ-fcomte.fr):
>
>
> -------- Message original --------
> Sujet: Re: lxc-performance
> Date : Thu, 07 Oct 2010 16:56:05 +0200
> De : MALATTAR <mouhannad.alattar at univ-fcomte.fr>
> Pour : MALATTAR <mouhannad.alattar at univ-fcomte.fr>
>
>
>
> Le 07/10/2010 16:43, MALATTAR a écrit :
> > ------------------------------------------------------------------------
> > 06.10.2010 23:41, MALATTAR ?????:
> >
> > >/ the container dora1, where i launch an instance of my IDS, does not take
> > />/ more than 70 MB as memory even though the memory limit for it is much
> > />/ bigger than this value,
> > /
> > How do you measure memory usage?
>
> by using the command:
> lxc-cgroup -n dora1 memory.usage_in_bytes
> > What's in memory.max_usage_in_bytes of
> > the container's cgroup?
> executing the next command lxc-cgroup -n dora1 memory.max_usage_in_bytes
> gave me 70193152 bytes
Ah, linux/Documentation/cgroups/memory.txt explains that max_usage_in_bytes
reports the maximum memory usage recorded, not the limit. Look at
lxc-cgroup -n dora1 memory.max_usage_in_bytes
-serge
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list