From: Shaohua Li Date: Mon, 1 Mar 2010 08:20:54 +0000 (+0100) Subject: cfq-iosched: quantum check tweak X-Git-Tag: v2.6.34-rc1~242^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abc3c744d0d7f4ad710a948ae73852ffea5fbc3b;p=pandora-kernel.git cfq-iosched: quantum check tweak Currently a queue can only dispatch up to 4 requests if there are other queues. This isn't optimal, device can handle more requests, for example, AHCI can handle 31 requests. I can understand the limit is for fairness, but we could do a tweak: if the queue still has a lot of slice left, sounds we could ignore the limit. Test shows this boost my workload (two thread randread of a SSD) from 78m/s to 100m/s. Thanks for suggestions from Corrado and Vivek for the patch. Signed-off-by: Shaohua Li Signed-off-by: Jens Axboe --- Reading git-diff-tree failed