From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752872Ab3AVJwa (ORCPT ); Tue, 22 Jan 2013 04:52:30 -0500 Received: from mout.gmx.net ([212.227.17.20]:65175 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751764Ab3AVJw2 (ORCPT ); Tue, 22 Jan 2013 04:52:28 -0500 X-Authenticated: #14349625 X-Provags-ID: V01U2FsdGVkX1/RTuwczFfRwmODlZLDnvx6HlC2oF+XXT81XxzMRY hHvc1Epg68P48H Message-ID: <1358848338.5782.331.camel@marge.simpson.net> Subject: Re: [PATCH v3 09/22] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task From: Mike Galbraith To: Alex Shi Cc: Paul Turner , Ingo Molnar , Peter Zijlstra , Linus Torvalds , Thomas Gleixner , Andrew Morton , Arjan van de Ven , Borislav Petkov , namhyung@kernel.org, Vincent Guittot , Greg Kroah-Hartman , preeti@linux.vnet.ibm.com, Linux Kernel Mailing List Date: Tue, 22 Jan 2013 10:52:18 +0100 In-Reply-To: <50FE44B5.6020004@intel.com> References: <1357375071-11793-1-git-send-email-alex.shi@intel.com> <1357375071-11793-10-git-send-email-alex.shi@intel.com> <50E7EAB1.6020302@intel.com> <50E92DC3.4050906@intel.com> <50EFB1DB.7090804@intel.com> <50FD54EA.4060804@intel.com> <50FE0575.6090005@intel.com> <1358837740.5782.209.camel@marge.simpson.net> <50FE44B5.6020004@intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Y-GMX-Trusted: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2013-01-22 at 15:50 +0800, Alex Shi wrote: > Thanks for your suggestions and example, Mike! > I just can't understand the your last words here, Sorry. what the > detailed concern of you on 'both performance profiles with either > metric'? Could you like to give your preferred solutions? Hm.. I'll try rephrasing. Any power saving gain will of necessity be paid for in latency currency. I don't have a solution other than make a button, let the user decide whether history influences fast path task placement or not. Any other decision maker will get it wrong. -Mike