From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751662AbcFXNpX (ORCPT ); Fri, 24 Jun 2016 09:45:23 -0400 Received: from merlin.infradead.org ([205.233.59.134]:50870 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751317AbcFXNpV (ORCPT ); Fri, 24 Jun 2016 09:45:21 -0400 Date: Fri, 24 Jun 2016 15:45:15 +0200 From: Peter Zijlstra To: Vincent Guittot Cc: Jirka Hladky , linux-kernel , Ingo Molnar , Kamil Kolakowski , Morten Rasmussen , Yuyang Du , Dietmar Eggemann , Mike Galbraith , Benjamin Segall , Paul Turner , Matt Fleming Subject: Re: Kernel 4.7rc3 - Performance drop 30-40% for SPECjbb2005 and SPECjvm2008 benchmarks against 4.6 kernel Message-ID: <20160624134515.GC30154@twins.programming.kicks-ass.net> References: <20160616172256.GJ30921@twins.programming.kicks-ass.net> <20160623183318.GN30154@twins.programming.kicks-ass.net> <20160623184318.GX30927@twins.programming.kicks-ass.net> <20160624120250.GY30154@twins.programming.kicks-ass.net> <20160624130932.GA30909@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 24, 2016 at 03:23:37PM +0200, Vincent Guittot wrote: > > It seemed like a simple and cheap way to increase accuracy, nothing more > > behind it until the commit you referred to. > > Thanks for the clarification. > I thought that the difference should always be smaller than 1/64th of > the cfs_rq->avg.load_avg thanks to update_tg_load_avg Right, another reason I just remembered is that it ensures: tg_weight >= cfs_rq_weight Because if this is the only task in the entire group and cfs_rq increased (but did not exceed the 1/64th threshold) you get the group weight being smaller than the entity weight, which would be weird.