Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751561Ab0DSUps (ORCPT ); Mon, 19 Apr 2010 16:45:48 -0400 Received: from ozlabs.org ([203.10.76.45]:52286 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751201Ab0DSUpr (ORCPT ); Mon, 19 Apr 2010 16:45:47 -0400 From: Michael Neuling To: Peter Zijlstra cc: Benjamin Herrenschmidt , linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org, Ingo Molnar , Suresh Siddha , Gautham R Shenoy Subject: Re: [PATCH 1/5] sched: fix capacity calculations for SMT4 In-reply-to: <1271688543.1488.253.camel@laptop> References: <20100409062118.D4096CBB6C@localhost.localdomain> <1271161766.4807.1280.camel@twins> <2906.1271219317@neuling.org> <1271426308.1674.429.camel@laptop> <28214.1271626457@neuling.org> <1271688543.1488.253.camel@laptop> Comments: In-reply-to Peter Zijlstra message dated "Mon, 19 Apr 2010 16:49:03 +0200." X-Mailer: MH-E 8.2; nmh 1.3; GNU Emacs 23.1.1 Date: Tue, 20 Apr 2010 06:45:45 +1000 Message-ID: <715.1271709945@neuling.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1412 Lines: 37 In message <1271688543.1488.253.camel@laptop> you wrote: > On Mon, 2010-04-19 at 07:34 +1000, Michael Neuling wrote: > > > Are there any numbers available on how much they gain? It might be worth > > > to stick in real numbers instead of this alleged 15%. > > > > I get some gain numbers but obviously the workloads makes a huge > > difference. From a scheduler perspective, I assume an > > average/representative gain is best rather than an optimistic or > > pessimistic one? > > Yeah, average would be best. Ok. > > We'll have different gains for SMT2 and SMT4, so we could change the > > gain dynamically based on which SMT mode we are in. Does that seem like > > something we should add as an arch hook? > > That's the sort of thing you can use arch_scale_smt_power() for. But be > weary to not fall into the same trap I did with x86, where I confused > actual gain with capacity (When idle the actual gain is 0, but the > capacity is not). Oops, yes of course :-) > Hrmm, my brain seems muddled but I might have another solution, let me > ponder this for a bit.. Let me know if/when you come up this solution or if I can help. Mikey -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/