[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
- [Qemu-devel] [PATCH V2 for-1.6 0/5] Leaky bucket throttling and features, Benoît Canet, 2013/07/23
- [Qemu-devel] [PATCH V2 for-1.6 1/5] block: Repair the throttling code., Benoît Canet, 2013/07/23
- [Qemu-devel] [PATCH V2 for-1.6 3/5] block: Add support for throttling burst threshold in QMP and the co mmand line., Benoît Canet, 2013/07/23
- [Qemu-devel] [PATCH V2 for-1.6 2/5] block: Modify the throttling code to implement the leaky bucket algorithm., Benoît Canet, 2013/07/23
- [Qemu-devel] [PATCH V2 for-1.6 4/5] block: Add iops_sector_count to do the iops accounting for a gi ven io size., Benoît Canet, 2013/07/23
- [Qemu-devel] [PATCH V2 for-1.6 5/5] block: Add throttling percentage metrics., Benoît Canet, 2013/07/23