From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753369AbdEEIrQ (ORCPT ); Fri, 5 May 2017 04:47:16 -0400 Received: from mail-io0-f169.google.com ([209.85.223.169]:35947 "EHLO mail-io0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751458AbdEEIrO (ORCPT ); Fri, 5 May 2017 04:47:14 -0400 MIME-Version: 1.0 In-Reply-To: <20170504202838.GA2647@htj.duckdns.org> References: <20170504202838.GA2647@htj.duckdns.org> From: Vincent Guittot Date: Fri, 5 May 2017 10:46:53 +0200 Message-ID: Subject: Re: [RFC PATCHSET v2] sched/fair: fix load balancer behavior when cgroup is in use To: Tejun Heo Cc: Ingo Molnar , Peter Zijlstra , 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 22:28, Tejun Heo wrote: > Hello, > > v1 posting can be found at > > http://lkml.kernel.org/r/20170424201344.GA14169@wtj.duckdns.org > > The patchset is still RFC and based on v4.11. I used Peter's updated > calc_cfs_shares() instead of scaling manually and updated so that > runnable_load_avg is propagated independently from load_avg. Due to > the way sched_entity and cfs_rq loads are calculated, this requires an > extra runnable_load_avg calculation for group sched_entities, but the > end result is cleaner and actually makes sense. > > Vincent, can you please verify whether the regression that you see is > gone with this version? schbench results looks better with this version Latency percentiles (usec) 50.0000th: 212 75.0000th: 292 90.0000th: 385 95.0000th: 439 *99.0000th: 671 99.5000th: 7992 99.9000th: 12176 min=0, max=14855 p99 is back to a normal value but p99.5 stays higher than mainline I have also checked load_avg and runnable_load_avg value and there is something incorrect. I will provide details on the related patch Regards, Vincent > > Thanks. > > -- > tejun