Re: drop_caches ...
From: Markus
Date: Thu Mar 05 2009 - 08:50:38 EST
Am Donnerstag, 5. März 2009 schrieb Wu Fengguang:
> Hi Markus,
>
> On Thu, Mar 05, 2009 at 01:55:35PM +0200, Markus wrote:
> > > Markus, you may want to try this patch, it will have better chance
to figure out
> > > the hidden file pages.
> > >
> > > 1) apply the patch and recompile kernel with
CONFIG_PROC_FILECACHE=m
> > > 2) after booting:
> > > modprobe filecache
> > > cp /proc/filecache filecache-`date +'%F'`
> > > 3) send us the copied file, it will list all cached files,
including
> > > the normally hidden ones.
> >
> > The file consists of 674 lines. If I interpret it right, "size" is
the
> > filesize and "cached" the amount of the file being in cache (why can
> > this be bigger than the file?!).
>
> size = file size in bytes
> cached = cached pages
>
> So it's normal that (size > cached).
Yeah, I just wondered because sometimes its size < cached, buts thats
because cached must obviously be a multiple of 4 KB. So no problem
here ;)
Thanks,
Markus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/