Re: VM disk cache behavior.

2005-02-08 Thread Kevin Puetz
Andy Isaacson wrote: > Most likely is that your app isn't behaving in a cache-friendly way.ÂÂIf > your file will fit in memory, just fault it in sequentially (wc -l file) > and then your app should cook.ÂÂIfÂyou'reÂnotÂgoingÂtoÂfitÂinÂmemory, > the vm caching will probably only help if you have

Re: VM disk cache behavior.

2005-02-08 Thread Andy Isaacson
On Tue, Feb 08, 2005 at 12:06:14PM -0500, jon ross wrote: > 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

Re: VM disk cache behavior.

2005-02-08 Thread Chris Wedgwood
On Tue, Feb 08, 2005 at 12:06:14PM -0500, jon ross wrote: > 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

Re: VM disk cache behavior.

2005-02-08 Thread Robert Love
On Tue, 2005-02-08 at 12:06 -0500, jon ross wrote: > 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

VM disk cache behavior.

2005-02-08 Thread jon ross
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

VM disk cache behavior.

2005-02-08 Thread jon ross
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

Re: VM disk cache behavior.

2005-02-08 Thread Robert Love
On Tue, 2005-02-08 at 12:06 -0500, jon ross wrote: 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

Re: VM disk cache behavior.

2005-02-08 Thread Chris Wedgwood
On Tue, Feb 08, 2005 at 12:06:14PM -0500, jon ross wrote: 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

Re: VM disk cache behavior.

2005-02-08 Thread Andy Isaacson
On Tue, Feb 08, 2005 at 12:06:14PM -0500, jon ross wrote: 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

Re: VM disk cache behavior.

2005-02-08 Thread Kevin Puetz
Andy Isaacson wrote: Most likely is that your app isn't behaving in a cache-friendly way.If your file will fit in memory, just fault it in sequentially (wc -l file) and then your app should cook.Ifyou'renotgoingtofitinmemory, the vm caching will probably only help if you have some reuse; you