From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754985AbdEDRnw (ORCPT ); Thu, 4 May 2017 13:43:52 -0400 Received: from mail-yw0-f195.google.com ([209.85.161.195]:33494 "EHLO mail-yw0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751333AbdEDRno (ORCPT ); Thu, 4 May 2017 13:43:44 -0400 Date: Thu, 4 May 2017 13:43:41 -0400 From: Tejun Heo To: Vincent Guittot Cc: Peter Zijlstra , Ingo Molnar , linux-kernel , Linus Torvalds , Mike Galbraith , Paul Turner , Chris Mason , kernel-team@fb.com Subject: Re: [PATCH 2/2] sched/fair: Always propagate runnable_load_avg Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks. -- tejun