Re: [PATCH][5/?] count writeback pages in nr_scanned

From: Andrew Morton
Date: Thu Jan 06 2005 - 00:07:51 EST


Andrea Arcangeli <andrea@xxxxxxx> wrote:
>
> The fix is very simple and it is to call wait_on_page_writeback on one
> of the pages under writeback.

eek, no. That was causing waits of five seconds or more. Fixing this
caused the single greatest improvement in page allocator latency in early
2.5. We're totally at the mercy of the elevator algorithm this way.

If we're to improve things in there we want to wait on _any_ eligible page
becoming reclaimable, not on a particular page.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/