Re: [PATCH V5 16/17] blk-throttle: add a mechanism to estimate IO latency

2017-01-09 Thread Tejun Heo
Hello, On Thu, Dec 15, 2016 at 12:33:07PM -0800, Shaohua Li wrote: > User configures latency target, but the latency threshold for each > request size isn't fixed. For a SSD, the IO latency highly depends on > request size. To calculate latency threshold, we sample some data, eg, > average latency

[PATCH V5 16/17] blk-throttle: add a mechanism to estimate IO latency

2016-12-15 Thread Shaohua Li
User configures latency target, but the latency threshold for each request size isn't fixed. For a SSD, the IO latency highly depends on request size. To calculate latency threshold, we sample some data, eg, average latency for request size 4k, 8k, 16k, 32k .. 1M. The latency threshold of each requ