Message ID | 20170831064631.2223-1-paolo.valente@linaro.org |
---|---|
Headers | show |
Series | three bfq fixes restoring service guarantees with random sync writes in bg | expand |
On 08/31/2017 12:46 AM, Paolo Valente wrote: > [SECOND TAKE, with just the name of one of the tester fixed] > > Hi, > while testing the read-write unfairness issues reported by Mel, I > found BFQ failing to guarantee good responsiveness against heavy > random sync writes in the background, i.e., multiple writers doing > random writes and systematic fdatasync [1]. The failure was caused by > three related bugs, because of which BFQ failed to guarantee to > high-weight processes the expected fraction of the throughput. > > The three patches in this series fix these bugs. These fixes restore > the usual BFQ service guarantees (and thus optimal responsiveness > too), against the above background workload and, probably, against > other similar workloads. Applied for 4.14, thanks Paolo. -- Jens Axboe
On Thu, Aug 31, 2017 at 08:46:28AM +0200, Paolo Valente wrote: > [SECOND TAKE, with just the name of one of the tester fixed] > > Hi, > while testing the read-write unfairness issues reported by Mel, I > found BFQ failing to guarantee good responsiveness against heavy > random sync writes in the background, i.e., multiple writers doing > random writes and systematic fdatasync [1]. The failure was caused by > three related bugs, because of which BFQ failed to guarantee to > high-weight processes the expected fraction of the throughput. > Queued on top of Ming's most recent series even though that's still a work in progress. I should know in a few days how things stand. -- Mel Gorman SUSE Labs
On Thu, 2017-08-31 at 15:42 +0100, Mel Gorman wrote: > On Thu, Aug 31, 2017 at 08:46:28AM +0200, Paolo Valente wrote: > > [SECOND TAKE, with just the name of one of the tester fixed] > > > > Hi, > > while testing the read-write unfairness issues reported by Mel, I > > found BFQ failing to guarantee good responsiveness against heavy > > random sync writes in the background, i.e., multiple writers doing > > random writes and systematic fdatasync [1]. The failure was caused by > > three related bugs, because of which BFQ failed to guarantee to > > high-weight processes the expected fraction of the throughput. > > > > Queued on top of Ming's most recent series even though that's still a work > in progress. I should know in a few days how things stand. It seems to have cured an interactivity issue I regularly meet during kbuild final link/depmod phase of fat kernel kbuild, especially bad with evolution mail usage during that on spinning rust. Can't really say for sure given this is not based on measurement. -Mike
> Il giorno 31 ago 2017, alle ore 19:06, Mike Galbraith <efault@gmx.de> ha scritto: > > On Thu, 2017-08-31 at 15:42 +0100, Mel Gorman wrote: >> On Thu, Aug 31, 2017 at 08:46:28AM +0200, Paolo Valente wrote: >>> [SECOND TAKE, with just the name of one of the tester fixed] >>> >>> Hi, >>> while testing the read-write unfairness issues reported by Mel, I >>> found BFQ failing to guarantee good responsiveness against heavy >>> random sync writes in the background, i.e., multiple writers doing >>> random writes and systematic fdatasync [1]. The failure was caused by >>> three related bugs, because of which BFQ failed to guarantee to >>> high-weight processes the expected fraction of the throughput. >>> >> >> Queued on top of Ming's most recent series even though that's still a work >> in progress. I should know in a few days how things stand. > > It seems to have cured an interactivity issue I regularly meet during > kbuild final link/depmod phase of fat kernel kbuild, especially bad > with evolution mail usage during that on spinning rust. Can't really > say for sure given this is not based on measurement. > Great! Actually, when I found these bugs, I thought also about the issues you told me you experienced with updatedb running. But then I forgot to tell you that these fixes might help. Thanks, Paolo > -Mike
On Thu, 2017-08-31 at 19:12 +0200, Paolo Valente wrote: > > Il giorno 31 ago 2017, alle ore 19:06, Mike Galbraith <efault@gmx.de> ha scritto: > > > > On Thu, 2017-08-31 at 15:42 +0100, Mel Gorman wrote: > >> On Thu, Aug 31, 2017 at 08:46:28AM +0200, Paolo Valente wrote: > >>> [SECOND TAKE, with just the name of one of the tester fixed] > >>> > >>> Hi, > >>> while testing the read-write unfairness issues reported by Mel, I > >>> found BFQ failing to guarantee good responsiveness against heavy > >>> random sync writes in the background, i.e., multiple writers doing > >>> random writes and systematic fdatasync [1]. The failure was caused by > >>> three related bugs, because of which BFQ failed to guarantee to > >>> high-weight processes the expected fraction of the throughput. > >>> > >> > >> Queued on top of Ming's most recent series even though that's still a work > >> in progress. I should know in a few days how things stand. > > > > It seems to have cured an interactivity issue I regularly meet during > > kbuild final link/depmod phase of fat kernel kbuild, especially bad > > with evolution mail usage during that on spinning rust. Can't really > > say for sure given this is not based on measurement. > > > > > Great! Actually, when I found these bugs, I thought also about the > issues you told me you experienced with updatedb running. But then I > forgot to tell you that these fixes might help. I'm going to actively test that, because that is every bit as infuriating as the evolution thing, only updatedb is nukable. In fact, it infuriated me to the point that it no longer has a crontab entry, runs only when I decide to run it. At this point, I'll be pretty surprised if that rotten <naughty words> is still alive. -Mike
On Thu, Aug 31, 2017 at 03:42:57PM +0100, Mel Gorman wrote: > On Thu, Aug 31, 2017 at 08:46:28AM +0200, Paolo Valente wrote: > > [SECOND TAKE, with just the name of one of the tester fixed] > > > > Hi, > > while testing the read-write unfairness issues reported by Mel, I > > found BFQ failing to guarantee good responsiveness against heavy > > random sync writes in the background, i.e., multiple writers doing > > random writes and systematic fdatasync [1]. The failure was caused by > > three related bugs, because of which BFQ failed to guarantee to > > high-weight processes the expected fraction of the throughput. > > > > Queued on top of Ming's most recent series even though that's still a work > in progress. I should know in a few days how things stand. > The problems with parallel heavy writers seem to have disappeared with this series. There are still revisions taking place on Ming's to overall setting of legacy vs mq is still a work in progress but this series looks good. Thanks. -- Mel Gorman SUSE Labs
> Il giorno 04 set 2017, alle ore 10:14, Mel Gorman <mgorman@techsingularity.net> ha scritto: > > On Thu, Aug 31, 2017 at 03:42:57PM +0100, Mel Gorman wrote: >> On Thu, Aug 31, 2017 at 08:46:28AM +0200, Paolo Valente wrote: >>> [SECOND TAKE, with just the name of one of the tester fixed] >>> >>> Hi, >>> while testing the read-write unfairness issues reported by Mel, I >>> found BFQ failing to guarantee good responsiveness against heavy >>> random sync writes in the background, i.e., multiple writers doing >>> random writes and systematic fdatasync [1]. The failure was caused by >>> three related bugs, because of which BFQ failed to guarantee to >>> high-weight processes the expected fraction of the throughput. >>> >> >> Queued on top of Ming's most recent series even though that's still a work >> in progress. I should know in a few days how things stand. >> > > The problems with parallel heavy writers seem to have disappeared with this > series. There are still revisions taking place on Ming's to overall setting > of legacy vs mq is still a work in progress but this series looks good. > Great news! Thanks for testing, Paolo > Thanks. > > -- > Mel Gorman > SUSE Labs
On Mon, Sep 4, 2017 at 4:14 PM, Mel Gorman <mgorman@techsingularity.net> wrote: > On Thu, Aug 31, 2017 at 03:42:57PM +0100, Mel Gorman wrote: >> On Thu, Aug 31, 2017 at 08:46:28AM +0200, Paolo Valente wrote: >> > [SECOND TAKE, with just the name of one of the tester fixed] >> > >> > Hi, >> > while testing the read-write unfairness issues reported by Mel, I >> > found BFQ failing to guarantee good responsiveness against heavy >> > random sync writes in the background, i.e., multiple writers doing >> > random writes and systematic fdatasync [1]. The failure was caused by >> > three related bugs, because of which BFQ failed to guarantee to >> > high-weight processes the expected fraction of the throughput. >> > >> >> Queued on top of Ming's most recent series even though that's still a work >> in progress. I should know in a few days how things stand. >> > > The problems with parallel heavy writers seem to have disappeared with this > series. There are still revisions taking place on Ming's to overall setting > of legacy vs mq is still a work in progress but this series looks good. Hi Mel and Paolo, BTW, no actual functional change in V4. Also could you guys provide one tested-by since looks you are using it in your test? Thanks, Ming Lei