On Wed, Dec 16, 2009 at 8:32 PM, Nagaprabhanjan Bellari <nagp....@gmail.com>wrote:
> I learn a trick from Con Kolivas to purge cache...hopefully I recall >> it correctly: >> # tail /dev/zero >> >> wait for few seconds...watch out to not make it OOM....and most likely >> some (if not at all) page cache will be purged out. >> > > Are you sure? Does page cache get involved at all while reading this pseudo > device? > I ask this because /dev/zero is a character device, so wondering where will page cache come in. tomahawk>ls -l /dev/zero crw-rw-rw- 1 root root 1, 5 Nov 13 02:45 /dev/zero Thanks, -nagp