Skip to content
  • Tejun Heo's avatar
    iocost: bump up default latency targets for hard disks · 7afcccaf
    Tejun Heo authored
    
    
    The default hard disk param sets latency targets at 50ms.  As the
    default target percentiles are zero, these don't directly regulate
    vrate; however, they're still used to calculate the period length -
    100ms in this case.
    
    This is excessively low.  A SATA drive with QD32 saturated with random
    IOs can easily reach avg completion latency of several hundred msecs.
    A period duration which is substantially lower than avg completion
    latency can lead to wildly fluctuating vrate.
    
    Let's bump up the default latency targets to 250ms so that the period
    duration is sufficiently long.
    
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    7afcccaf