public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* VM disk cache behavior.
@ 2005-02-08 17:06 jon ross
  2005-02-08 17:18 ` Robert Love
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: jon ross @ 2005-02-08 17:06 UTC (permalink / raw)
  To: linux-kernel

I have an app with a small fixed memory footprint that does a lot of
random reads from a large file. I thought if I added more memory to
the machine the VM would do more caching of the disk, but added memory
does not seem to make any difference. I played with some of the params
in /proc/sys/vm and none of them seem to have any effect.

I tired both a 2.4.20 & 2.6.10 kernels with no difference.

The machine is a Dell 2560. I tired memory configs of 512M, 1G, 4G and
the average read-times do not change.

Do I need to set/compile anything to allow the VM to use the memory?
If is was a way to tell how much memory the VM is using for a drive
cache I could at least tell if my kernel is miss-configured or my app
sucks.

Thanks,

-Jon

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-02-09  5:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-08 17:06 VM disk cache behavior jon ross
2005-02-08 17:18 ` Robert Love
2005-02-08 20:07 ` Chris Wedgwood
2005-02-09  0:37 ` Andy Isaacson
2005-02-09  5:03   ` Kevin Puetz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox