Re: /proc/sys/vm/(max|min)-readahead effect????

From: Marcelo Tosatti (marcelo@conectiva.com.br)
Date: Wed Dec 05 2001 - 11:58:24 EST


On Wed, 5 Dec 2001, Roy Sigurd Karlsbakk wrote:

> > Do you also have VM pressure going on or do you have lots of free memory ?
>
> I've got a lot of memory (some 380 megs), but what is VM pressure?

VM pressure means that there is not enough free memory on the system...
Allocators have to reclaim memory.

Basically you cannot simply expect an increase in readahead size to
increase performance:

1) The files you created may not be sequential
2) The lack of memory on the system may be interfering in weird ways, and
maybe _INCREASING_ the readahead may decrease performance.
...

Also, remember: The real applications running on the system may not want
to read files sequentially, so increasing readahead is just useless.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 07 2001 - 21:00:29 EST