Re: Kernel 2.6.8.1: swap storm of death - nr_requests > 1024 on swap partition

Rik van Riel
2004-08-29T14:45:43Z

On Sun, 29 Aug 2004, Jens Axboe wrote:

> Oh, and I think the main issue is the vm. It should cope correctly no
> matter how much pending memory can be in progress on the queue, else it
> should not write out so much. CFQ is just exposing this bug because it
> defaults to bigger nr_requests.

Agreed. If the VM is short 10MB of free memory, it really
shouldn't start 200MB worth of writes.

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan