On Wed, Apr 14, 2010 at 02:23:50PM +0100, Mel Gorman wrote:
[ nods ]
The big gain from the helper threads is that storage operates at a
roughly fixed iop rate. This is true for ssd as well, it's just a much
higher rate. So the threads can send down 4K ios and recover clean pages at
exactly the same rate it would sending down 64KB ios.
I know that for lumpy purposes it might not be the best 64KB, but the
other side of it is that we have to write those pages eventually anyway.
We might as well write them when it is more or less free.
The per-bdi writeback threads are a pretty good base for changing the
ordering for writeback, it seems like a good place to integrate requests
from the VM about which files (and which offsets in those files) to
write back first.
-chris
--