Skip to content
  • Corrado Zoccolo's avatar
    cfq-iosched: idling on deep seeky sync queues · 76280aff
    Corrado Zoccolo authored
    
    
    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: default avatarVivek Goyal <vgoyal@redhat.com>
    Signed-off-by: default avatarCorrado Zoccolo <czoccolo@gmail.com>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    76280aff