Re: block/throttle and burst bucket

2021-03-08 Thread Alberto Garcia
On Mon 01 Mar 2021 01:11:55 PM CET, Peter Lieven wrote: > Why we talk about throttling I still do not understand the following part in > util/throttle.c function throttle_compute_wait > > >     if (!bkt->max) { >     /* If bkt->max is 0 we still want to allow short bursts of I/O > *

Re: block/throttle and burst bucket

2021-03-01 Thread Peter Lieven
Am 01.03.21 um 11:59 schrieb Kevin Wolf: > Am 26.02.2021 um 13:33 hat Peter Lieven geschrieben: >> Am 26.02.21 um 10:27 schrieb Alberto Garcia: >>> On Thu 25 Feb 2021 06:34:48 PM CET, Peter Lieven wrote: I was wondering if there is a way to check from outside (qmp etc.) if a throttled bl

Re: block/throttle and burst bucket

2021-03-01 Thread Kevin Wolf
Am 26.02.2021 um 13:33 hat Peter Lieven geschrieben: > Am 26.02.21 um 10:27 schrieb Alberto Garcia: > > On Thu 25 Feb 2021 06:34:48 PM CET, Peter Lieven wrote: > >> I was wondering if there is a way to check from outside (qmp etc.) if > >> a throttled block device has exceeded the iops_max_length

Re: block/throttle and burst bucket

2021-02-26 Thread Peter Lieven
Am 26.02.21 um 10:27 schrieb Alberto Garcia: > On Thu 25 Feb 2021 06:34:48 PM CET, Peter Lieven wrote: >> I was wondering if there is a way to check from outside (qmp etc.) if >> a throttled block device has exceeded the iops_max_length seconds of >> time bursting up to iops_max and is now hard li

Re: block/throttle and burst bucket

2021-02-26 Thread Alberto Garcia
On Thu 25 Feb 2021 06:34:48 PM CET, Peter Lieven wrote: > I was wondering if there is a way to check from outside (qmp etc.) if > a throttled block device has exceeded the iops_max_length seconds of > time bursting up to iops_max and is now hard limited to the iops limit > that is supplied? > > Wo

block/throttle and burst bucket

2021-02-25 Thread Peter Lieven
Hi, I was wondering if there is a way to check from outside (qmp etc.) if a throttled block device has exceeded the iops_max_length seconds of time bursting up to iops_max and is now hard limited to the iops limit that is supplied? Would it be also a good idea to exetend the accounting to ac