Re: [Qemu-devel] [PATCH 08/13] throttle: Add support for burst periods

2016-02-16 Thread Alberto Garcia
On Tue 16 Feb 2016 11:45:32 AM CET, Kevin Wolf wrote: >> +/* If the bucket is not full yet we have to make sure that we >> + * fulfill the goal of bkt->max units per second. */ >> +if (bkt->burst_length > 1) { >> +/* We use 1/10 of the max value to smooth the throttling. >> +

Re: [Qemu-devel] [PATCH 08/13] throttle: Add support for burst periods

2016-02-16 Thread Kevin Wolf
Am 05.02.2016 um 11:59 hat Alberto Garcia geschrieben: > This patch adds support for burst periods to the throttling code. > With this feature the user can keep performing bursts as defined by > the LeakyBucket.max rate for a configurable period of time. > > Signed-off-by: Alberto Garcia > --- >

[Qemu-devel] [PATCH 08/13] throttle: Add support for burst periods

2016-02-05 Thread Alberto Garcia
This patch adds support for burst periods to the throttling code. With this feature the user can keep performing bursts as defined by the LeakyBucket.max rate for a configurable period of time. Signed-off-by: Alberto Garcia --- include/qemu/throttle.h | 41 +++ util/throt