On Fri, Oct 05, 2007 at 08:30:28PM +0800, Fengguang Wu wrote:Careful. kswapd is much less efficient at writeout than pdflush because it does not do low->high offset writeback per address space. It just flushes the pages in LRU order and that turns writeback into a non-sequential mess. I/O sizes decrease substantially and throughput falls through the floor. So if you want kswapd to take over all the writeback, it needs to do writeback in the same manner as the background flushes. i.e. by grabbing page->mapping and flushing that in sequential order rather than just the page on the end of the LRU.... I documented the effect of kswapd taking over writeback in this paper (section 5.3): http://oss.sgi.com/projects/xfs/papers/ols2006/ols-2006-paper.pdf Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group -
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Kamalesh Babulal | [BUG] Linux 2.6.25-rc2 - Kernel Ooops while running dbench |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Paul Jackson | Re: cpuset-remove-sched-domain-hooks-from-cpusets |
git: | |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Steven Rostedt | Re: -rt scheduling: wakeup bug? |
| David Miller | Re: [GIT]: Networking |
