Re: committed memory, mmaps and shms

2015-06-03 Thread Marcos Dione
On Fri, Mar 13, 2015 at 11:58:51AM -0300, Marcos Dione wrote: > On Thu, Mar 12, 2015 at 01:56:00PM -0300, Marcos Dione wrote: > > On Thu, Mar 12, 2015 at 11:35:13AM -0400, Michal Hocko wrote: > > > On Wed 11-03-15 19:10:44, Marcos Dione wrote: > > > I also read Documentation/vm/overcommit-accountin

Re: committed memory, mmaps and shms

2015-03-13 Thread Marcos Dione
On Fri, Mar 13, 2015 at 03:09:58PM +0100, Michal Hocko wrote: > Well, the memory management subsystem is rather complex and it is not > really trivial to match all the possible combinations into simple > counters. Yes, I imagine. > I would be interested in the particular usecase where you wan

Re: committed memory, mmaps and shms

2015-03-13 Thread Marcos Dione
On Thu, Mar 12, 2015 at 01:56:00PM -0300, Marcos Dione wrote: > On Thu, Mar 12, 2015 at 11:35:13AM -0400, Michal Hocko wrote: > > > > On Wed 11-03-15 19:10:44, Marcos Dione wrote: > I think that what I'm trying to do is figure out what each value > represents and where it's incuded, as if to ma

Re: committed memory, mmaps and shms

2015-03-13 Thread Michal Hocko
On Thu 12-03-15 13:56:00, Marcos Dione wrote: > On Thu, Mar 12, 2015 at 11:35:13AM -0400, Michal Hocko wrote: > > > > On Wed 11-03-15 19:10:44, Marcos Dione wrote: > > [...] > > > > > $ free > > > > > total used free sharedbuffers > > > > > cached > > > > > Mem

Re: committed memory, mmaps and shms

2015-03-12 Thread Marcos Dione
On Thu, Mar 12, 2015 at 11:35:13AM -0400, Michal Hocko wrote: > > > On Wed 11-03-15 19:10:44, Marcos Dione wrote: > [...] > > > > $ free > > > > total used free sharedbuffers > > > > cached > > > > Mem: 396895176 395956332 938844 0 8972

Re: committed memory, mmaps and shms

2015-03-12 Thread Michal Hocko
On Thu 12-03-15 11:54:22, Marcos Dione wrote: > On Thu, Mar 12, 2015 at 08:40:53AM -0400, Michal Hocko wrote: > > [CCing MM maling list] > > Shall we completely migrate the rest of the conversation there? It is usually better to keep lkml on the cc list for a larger audience. > > On Wed 11-

Re: committed memory, mmaps and shms

2015-03-12 Thread Michal Hocko
On Thu 12-03-15 08:40:53, Michal Hocko wrote: [...] > I think it would make more sense to add something like easily > reclaimable chache to the output of free (pagecache-shmem-dirty > basically). That would give an admin a better view on immediatelly > re-usable memory. Ohh, I have just learned th

Re: committed memory, mmaps and shms

2015-03-12 Thread Marcos Dione
On Thu, Mar 12, 2015 at 08:40:53AM -0400, Michal Hocko wrote: > [CCing MM maling list] Shall we completely migrate the rest of the conversation there? > On Wed 11-03-15 19:10:44, Marcos Dione wrote: > > > > Hi everybody. First, I hope this is the right list for such > > questions; I sea

Re: committed memory, mmaps and shms

2015-03-12 Thread Michal Hocko
[CCing MM maling list] On Wed 11-03-15 19:10:44, Marcos Dione wrote: > > Hi everybody. First, I hope this is the right list for such > questions; I searched in the list of lists[1] for a MM specific one, but > didn't find any. Second, I'm not subscribed, so please CC me and my other > addres

Re: committed memory, mmaps and shms

2015-03-11 Thread Martin Steigerwald
Hi Marcos, Am Mittwoch, 11. März 2015, 19:10:44 schrieb Marcos Dione: > Hi everybody. First, I hope this is the right list for such > questions; I searched in the list of lists[1] for a MM specific one, > but didn't find any. Second, I'm not subscribed, so please CC me and my > other address

committed memory, mmaps and shms

2015-03-11 Thread Marcos Dione
Hi everybody. First, I hope this is the right list for such questions; I searched in the list of lists[1] for a MM specific one, but didn't find any. Second, I'm not subscribed, so please CC me and my other address when answering. I'm trying to figure out how Linux really accounts for me