[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: memory usage

From: Samuel Thibault
Subject: Re: memory usage
Date: Mon, 6 Aug 2007 21:10:02 +0200
User-agent: Mutt/1.5.12-2006-07-14

Also, something odd: say I have a big file /tmp/foo

$ cat /tmp/foo > /dev/null
... "inactive" grows in vmstat, takes some time...
$ cat /tmp/foo > /dev/null
takes almost no time since it's all cached.
$ find /var/log -printf ""
... "inactive" falls down to the original value
$ cat /tmp/foo > /dev/null
... "inactive" grows in vmstat again, takes some time...

It looks like resolving directories/files entries somehow flushes out
the page cache.  There actually doesn't seem to be any caching for
directories/files: find /var/log always reads from the disk (the led


reply via email to

[Prev in Thread] Current Thread [Next in Thread]