Re: [Qemu-devel] [PATCH] ratelimit: don't align wait time with slices

2018-02-07 Thread Stefan Hajnoczi
On Wed, Feb 07, 2018 at 08:17:58AM +0100, Wolfgang Bumiller wrote: > It is possible for rate limited writes to keep overshooting a slice's > quota by a tiny amount causing the slice-aligned waiting period to > effectively halve the rate. > > Signed-off-by: Wolfgang Bumiller > --- > Copied the Ccs

Re: [Qemu-devel] [PATCH] ratelimit: don't align wait time with slices

2018-02-07 Thread Alberto Garcia
On Wed 07 Feb 2018 08:17:58 AM CET, Wolfgang Bumiller wrote: > It is possible for rate limited writes to keep overshooting a slice's > quota by a tiny amount causing the slice-aligned waiting period to > effectively halve the rate. > > Signed-off-by: Wolfgang Bumiller > --- > Copied the Ccs from t

[Qemu-devel] [PATCH] ratelimit: don't align wait time with slices

2018-02-06 Thread Wolfgang Bumiller
It is possible for rate limited writes to keep overshooting a slice's quota by a tiny amount causing the slice-aligned waiting period to effectively halve the rate. Signed-off-by: Wolfgang Bumiller --- Copied the Ccs from the discussion thread, hope that's fine, as I also just noticed that for my