Thread (4 messages) 4 messages, 3 authors, 2018-08-09

Re: [PATCH] Blk-throttle: reduce tail io latency when iops limit is enforced

From: Liu Bo <hidden>
Date: 2018-08-09 17:25:06

On Thu, Aug 9, 2018 at 10:22 AM, Jens Axboe [off-list ref] wrote:
On 7/20/18 6:29 PM, Liu Bo wrote:
quoted
When an application's iops has exceeded its cgroup's iops limit, surely it
is throttled and kernel will set a timer for dispatching, thus IO latency
includes the delay.

However, the dispatch delay which is calculated by the limit and the
elapsed jiffies is suboptimal.  As the dispatch delay is only calculated
once the application's iops is (iops limit + 1), it doesn't need to wait
any longer than the remaining time of the current slice.
Looks good to me - can you resend against my for-4.19/block branch, as
it doesn't apply.
Sure, I'll rebase against it.

thanks,
liubo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help