[Regression][stable] Major hackbench pipes regression due to commit 'sched/fair: Search a task from the tail of the queue'

From: Shile Zhang
Date: Fri Apr 26 2019 - 04:09:41 EST


Hi, Uladzislau

We found a major regression (more than -40%) of hackbench on 2VCPU (skylake) virtual machine, with LTS kernel v4.19.36. Following commit be bisect by test 'hackbench --thread --pipe --group 1 --loop 60000'

---

commit 93824900a2e242766f5fe6ae7697e3d7171aa234
Author: Uladzislau Rezki <urezki@xxxxxxxxx>
Date:ÂÂ Wed Sep 13 12:24:30 2017 +0200

ÂÂÂ sched/fair: Search a task from the tail of the queue

---

-default: 21.048

-revert: 14.385


It said that the hackbench has slightly better performance with 40 groups in the commit log, but it seems more performance dropped with less groups, such as less than 32 group. I also tried this benchmark with newest v5.1-rc6 kernel, same regression was found.

Could you please also have a check?

Thanks!

BRs/Shile