mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 13:52:50 +01:00
It turns out that a few workloads (easyWave, fio) have a fairly low success rate on newidle balance, but still benefit greatly from having it anyway. Luckliky these workloads have a faily low newidle rate, so the cost if doing the newidle is relatively low, even if unsuccessfull. Add a simple rate based part to the newidle ratio compute, such that low rate newidle will still have a high newidle ratio. This cures the easyWave and fio workloads while not affecting the schbench numbers either (which have a very high newidle rate). Reported-by: Mario Roy <[email protected]> Reported-by: "Mohamed Abuelfotoh, Hazem" <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Tested-by: Mario Roy <[email protected]> Tested-by: "Mohamed Abuelfotoh, Hazem" <[email protected]> Link: https://patch.msgid.link/[email protected]