Messages in this thread |  | | Subject | Re: Comment on patch to remove nr_async_pages limit | | From | Zlatko Calusic <> | | Date | 05 Jun 2001 18:05:04 +0200 |
| |
Marcelo Tosatti <marcelo@conectiva.com.br> writes:
[snip] > Exactly. And when we reach a low watermark of memory, we start writting > out the anonymous memory. >
Hm, my observations are a little bit different. I find that writeouts happen sooner than the moment we reach low watermark, and many times just in time to interact badly with some read I/O workload that made a virtual shortage of memory in the first place. Net effect is poor performance and too much stuff in the swap.
> > In experiments, speeding swapcache pages on their way helps. Special > > handling (swapcache bean counting) also helps. (was _really ugly_ code.. > > putting them on a seperate list would be a lot easier on the stomach:) > > I agree that the current way of limiting on-flight swapout can be changed > to perform better. > > Removing the amount of data being written to disk when we have a memory > shortage is not nice. >
OK, then we basically agree that there is a place for improvement, and you also agree that we must be careful while trying to achieve that.
I'll admit that my patch is mostly experimental, and its best effect is this discussion, which I enjoy very much. :) -- Zlatko - 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/
|  |