• Jeff Moyer's avatar
    cfq: merge cooperating cfq_queues · df5fe3e8
    Jeff Moyer authored
    When cooperating cfq_queues are detected currently, they are allowed to
    skip ahead in the scheduling order.  It is much more efficient to
    automatically share the cfq_queue data structure between cooperating processes.
    Performance of the read-test2 benchmark (which is written to emulate the
    dump(8) utility) went from 12MB/s to 90MB/s on my SATA disk.  NFS servers
    with multiple nfsd threads also saw performance increases.
    Signed-off-by: default avatarJeff Moyer <jmoyer@redhat.com>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    df5fe3e8
cfq-iosched.c 67.5 KB