• Shaohua Li's avatar
    cfq-iosched: quantum check tweak · abc3c744
    Shaohua Li authored
    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: default avatarShaohua Li <shaohua.li@intel.com>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    abc3c744
cfq-iosched.c 97.7 KB