On Wed, Jul 07, 2010 at 01:24:58AM +0100, Mel Gorman wrote: > What I have now is direct writeback for anon files. For files be it from > kswapd or direct reclaim, I kick writeback pre-emptively by an amount based > on the dirty pages encountered because monitoring from systemtap indicated > that we were getting a large percentage of the dirty file pages at the end > of the LRU lists (bad). Initial tests show that page reclaim writeback is > reduced from kswapd by 97% with this sort of pre-emptive kicking of flusher > threads based on these figures from sysbench. That sounds like yet another bad aid to me. Instead it would be much better to not have so many file pages at the end of LRU by tuning the flusher threads and VM better. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>