Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755761Ab1CGLZ1 (ORCPT ); Mon, 7 Mar 2011 06:25:27 -0500 Received: from mail-ew0-f46.google.com ([209.85.215.46]:61049 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751221Ab1CGLZR (ORCPT ); Mon, 7 Mar 2011 06:25:17 -0500 MIME-Version: 1.0 In-Reply-To: <1299192176.6376.47.camel@gandalf.stny.rr.com> References: <201103021157.08260.trenn@suse.de> <201103022307.46694.trenn@suse.de> <1299192176.6376.47.camel@gandalf.stny.rr.com> Date: Mon, 7 Mar 2011 13:25:15 +0200 Message-ID: Subject: Re: [PATCH V6 0/2] tracing, perf: cpu hotplug trace events From: Amit Kucheria To: Steven Rostedt Cc: Thomas Renninger , Vincent Guittot , Ingo Molnar , linux-kernel@vger.kernel.org, linux-hotplug@vger.kernel.org, fweisbec@gmail.com, rusty@rustcorp.com.au, tglx@linutronix.de, Arjan van de Ven , Alan Cox , Peter Zijlstra , "H. Peter Anvin" , Andrew Morton , linux-perf-users@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1592 Lines: 37 On Fri, Mar 4, 2011 at 12:42 AM, Steven Rostedt wrote: > On Wed, 2011-03-02 at 23:07 +0100, Thomas Renninger wrote: > >> I doubt cpu offlining is the proper instrument to save power. >> You want to prevent the CPU of being used by ripping it out from scheduler decisions and >> make sure it doesn't get interrupts by offlining. But the (latency) price is high. > > I could imagine that a server could use this for power savings to take > down all but 1 CPU on off hours. When it knows its not going to get much > action but still needs to remain online. Then just before peak times > begin, online the other CPUs. > > But anything more dynamic than that, I can't see it really worth it. As > the latency to bring the other CPU online, may miss a peak when it was > needed. > ARM SoCs require both cores to be idle to hit the really low power retention/off states. Hoping for both cores to go idle at the same instant causes several low power opportunities to be lost. Hence the experiments with hotplug to improve the idle characteristics of the system. On our wiki page[1], you can see some results under "Idle improvement" section. But sched_mc does seem like a more appropriate way to help nudge all the workload onto a single core. Regards, Amit [1] https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/Hotplug -- 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/