summaryrefslogtreecommitdiff
path: root/lib/syscall.c
diff options
context:
space:
mode:
authorCorrado Zoccolo <czoccolo@gmail.com>2009-11-26 10:02:58 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-11-26 10:39:31 +0100
commit76280aff1c7e9ae761cac4b48591c43cd7d69159 (patch)
treef8b354746a96cf45a4d0fc980df4e37e3c37b173 /lib/syscall.c
parente4a229196a7c676514c78f6783f8994f64bf681c (diff)
downloadlwn-76280aff1c7e9ae761cac4b48591c43cd7d69159.tar.gz
lwn-76280aff1c7e9ae761cac4b48591c43cd7d69159.zip
cfq-iosched: idling on deep seeky sync queues
Seeky sync queues with large depth can gain unfairly big share of disk time, at the expense of other seeky queues. This patch ensures that idling will be enabled for queues with I/O depth at least 4, and small think time. The decision to enable idling is sticky, until an idle window times out without seeing a new request. The reasoning behind the decision is that, if an application is using large I/O depth, it is already optimized to make full utilization of the hardware, and therefore we reserve a slice of exclusive use for it. Reported-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Corrado Zoccolo <czoccolo@gmail.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions