]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[BLOCK] cfq-iosched: seek and async performance fixes
authorJens Axboe <axboe@suse.de>
Tue, 28 Mar 2006 11:03:44 +0000 (13:03 +0200)
committerJens Axboe <axboe@suse.de>
Tue, 28 Mar 2006 11:03:44 +0000 (13:03 +0200)
commit206dc69b31ca05baac68c75b8ed2ba7dd857d273
treef9ca5d996e19cb072165b1f6474c39b59b0e7451
parent7143dd4b0127141a4f773e819d1d1f4ab82bb517
[BLOCK] cfq-iosched: seek and async performance fixes

Detect whether a given process is seeky and if so disable (mostly) the
idle window if it is. We still allow just a little idle time, just enough
to allow that process to submit a new request. That is needed to maintain
fairness across priority groups.

In some cases, we could setup several async queues. This is not optimal
from a performance POV, since we want all async io in one queue to perform
good sorting on it. It also impacted sync queues, as async io got too much
slice time.

Signed-off-by: Jens Axboe <axboe@suse.de>
block/cfq-iosched.c
include/linux/blkdev.h