Re: what is using memory?

Ed Tomlinson (tomlins@cam.org)
Mon, 11 Jun 2001 07:37:46 -0400


On Monday 11 June 2001 04:20, Jonathan Morton wrote:
> >My box has
> >
> >320280K
> >
> >from proc/meminfo
> >
> > 17140 buffer
> >123696 cache
> > 32303 free
> >
> >leaving unaccounted
> >
> >123627K
>
> This is your processes' memory, the inode and dentry caches, and possibly
> some extra kernel memory which may be allocated after boot time. It is
> *very* much accounted for.

No its not. For instance the slab caches encompass the inode and dentry
caches. Point I was/am tring to make is not that this memory is lost or
not need, but that is it _not_ accounted. ie. There is not way to tell
what is using it, hense we cannot see leaks or places that could be
optimized.

I have attempted to count all memory I could. The 123M is what is left in
the kernel overhead bucket...

Ed Tomlinson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/