Re: drop_caches ...

From: Wu Fengguang
Date: Thu Mar 05 2009 - 08:37:12 EST


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).

Thanks,
Fengguang
--
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/