Messages in this thread | | | Date | Wed, 5 Jan 2005 21:05:39 -0800 | From | Andrew Morton <> | Subject | Re: [PATCH][5/?] count writeback pages in nr_scanned |
| |
Andrea Arcangeli <andrea@suse.de> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |