From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756243AbdEDTDJ (ORCPT ); Thu, 4 May 2017 15:03:09 -0400 Received: from mail-it0-f54.google.com ([209.85.214.54]:35887 "EHLO mail-it0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751515AbdEDTDB (ORCPT ); Thu, 4 May 2017 15:03:01 -0400 MIME-Version: 1.0 In-Reply-To: <20170504174341.GC7288@htj.duckdns.org> References: <20170428203347.GC19364@htj.duckdns.org> <20170502215054.GC5335@htj.duckdns.org> <20170503093723.tnt53ppb23tn6buz@hirez.programming.kicks-ass.net> <20170503130938.44rftdivrlpz4p3b@hirez.programming.kicks-ass.net> <20170503214913.GB7451@htj.duckdns.org> <20170504174341.GC7288@htj.duckdns.org> From: Vincent Guittot Date: Thu, 4 May 2017 21:02:39 +0200 Message-ID: Subject: Re: [PATCH 2/2] sched/fair: Always propagate runnable_load_avg To: Tejun Heo Cc: Peter Zijlstra , Ingo Molnar , linux-kernel , Linus Torvalds , Mike Galbraith , Paul Turner , Chris Mason , kernel-team@fb.com Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tejun, On 4 May 2017 at 19:43, Tejun Heo wrote: > Hello, > > On Thu, May 04, 2017 at 10:19:46AM +0200, Vincent Guittot wrote: >> > schbench inside a cgroup and have some base load, it is actually >> > expected to show worse latency. You need to give higher weight to the >> > cgroup matching the number of active threads (to be accruate, scaled >> > by duty cycle but shouldn't matter too much in practice). >> >> I don't have to change anything cgroup weight with mainline to get >> good number which means that the base load which is quite close to >> null, is probably not the problem > > So, while that *could* be the case, it could also be the baseline > incorrectly favoring the nested cfs_rqs over other tasks because of > the nested runnables being inflated with blocked load avgs. I think > it'd be a good idea to test with matching weight to put things on the > even ground. In the trace i have uploaded, you will see that regressions happen whereas there is no other runnable threads around so it's not a matter of background activities that disturbs schbench Thanks Vincent > > Thanks. > > -- > tejun