qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH V2 for-1.6 2/5] block: Modify the throttling cod


From: Benoît Canet
Subject: Re: [Qemu-devel] [PATCH V2 for-1.6 2/5] block: Modify the throttling code to implement the leaky bucket algorithm.
Date: Tue, 23 Jul 2013 17:14:43 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

> 1. Can we activate the timer only when requests are actually pending?
>    Imagine a host with 1000 guests, even a 1 second timer becomes
>    wasteful.

I will try to do this.

> 2. You don't vary the wait time, does this mean a throttled request must
>    wait for max 1 second?  If yes, then it introduces a big variance on
>    request latency.

If iops or bps request where done on a negligible time (very fast storage
backend) yes.
We could make the timer frequency higher though to mitigate this.

Best regards

Benoît



reply via email to

[Prev in Thread] Current Thread [Next in Thread]