[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V7 0/5] Continuous Leaky Bucket Throttling
From: |
Benoît Canet |
Subject: |
Re: [Qemu-devel] [PATCH V7 0/5] Continuous Leaky Bucket Throttling |
Date: |
Thu, 29 Aug 2013 11:37:20 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
> 1. We keep modifying the timer in bdrv_io_limits_intercept() on each
> request even when it has already been set. I think we'll set it to
> the same absolute timestamp, modulo numerical issues. Should we
> avoid doing this?
I could check that the timer is not pending before setting it.
>
> 2. bdrv_io_limits_resched() only wakes up requests of the same type
> (read/write). Does this mean that BPS_TOTAL/IOPS_TOTAL requests
> will have to wait until the other request type timer expires instead
> of piggybacking on request completion?
>
> Is this a problem? If no, then why piggyback on request completion
> at all since apparently it works fine when we don't wake up the other
> request type?
It only wakes up the same request type to be coherent with the two requests
queues and two timers strategy.
The ultimate goal of this is to be able to do:
block_set_io_throttle virtio1 0 0 0 0 3000 1
The code can cope with this and do independent throttling for reads and
writes.
Best regards
Benoît
- [Qemu-devel] [PATCH V7 0/5] Continuous Leaky Bucket Throttling, Benoît Canet, 2013/08/28
- [Qemu-devel] [PATCH V7 1/5] throttle: Add a new t hrottling API implementing continuous leaky bucket., Benoît Canet, 2013/08/28
- [Qemu-devel] [PATCH V7 2/5] throttle: Add units t ests, Benoît Canet, 2013/08/28
- [Qemu-devel] [PATCH V7 3/5] block: Enable the new throttling code in the block layer., Benoît Canet, 2013/08/28
- [Qemu-devel] [PATCH V7 4/5] block: Add support fo r throttling burst max in QMP and the command line., Benoît Canet, 2013/08/28
- [Qemu-devel] [PATCH V7 5/5] block: Add iops_siz e to do the iops accounting for a given io size., Benoît Canet, 2013/08/28
- Re: [Qemu-devel] [PATCH V7 0/5] Continuous Leaky Bucket Throttling, Stefan Hajnoczi, 2013/08/29
- Re: [Qemu-devel] [PATCH V7 0/5] Continuous Leaky Bucket Throttling,
Benoît Canet <=
- Re: [Qemu-devel] [PATCH V7 0/5] Continuous Leaky Bucket Throttling, Benoît Canet, 2013/08/29