Subject: Re: Bad response...
To: Richard Earnshaw <rearnsha@buzzard.freeserve.co.uk>
From: Chuck Silvers <chuq@chuq.com>
List: current-users
Date: 08/28/2004 06:28:19
On Fri, Aug 27, 2004 at 10:49:54PM +0100, Richard Earnshaw wrote:
> > if I add up the "Npage" column, I only get 1731 pages, which is 6924KB
> > (I'm assuming this is a pc).  where's the other 10MB hiding?
...
> Top reports the kernel as using about 205M of ram and sum(npage) * 4096 
> comes to a mere (!) 84013056 bytes (~84M).
> 
> So somewhere the pools have 'lost' 100M of memory.

I figured out where it's hiding.  the buf*k pools are using a different
allocator which has a pool page size of MAXBSIZE instead of PAGE_SIZE.
the pool page size isn't displayed by "vmstat -m" currently.

-Chuck