Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756090AbYAEQ1e (ORCPT ); Sat, 5 Jan 2008 11:27:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755106AbYAEQ1Z (ORCPT ); Sat, 5 Jan 2008 11:27:25 -0500 Received: from rtr.ca ([76.10.145.34]:1203 "EHLO mail.rtr.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753907AbYAEQ1Y (ORCPT ); Sat, 5 Jan 2008 11:27:24 -0500 Message-ID: <477FAFE9.6090809@rtr.ca> Date: Sat, 05 Jan 2008 11:27:21 -0500 From: Mark Lord User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: "Pallipadi, Venkatesh" Cc: Arjan van de Ven , Andrew Morton , abelay@novell.com, lenb@kernel.org, Ingo Molnar , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, rjw@sisk.pl Subject: Re: + restore-missing-sysfs-max_cstate-attr.patch added to -mm tree References: <20071130142058.816d1693.akpm@linux-foundation.org> <924EFEDD5F540B4284297C4DC59F3DEE2FAEAF@orsmsx423.amr.corp.intel.com> <4750CC78.9070105@rtr.ca> <20071130190227.1976e682@laptopd505.fenrus.org> <4750D180.6080001@rtr.ca> <20071130191816.3e744205@laptopd505.fenrus.org> <4750D585.1030200@rtr.ca> <477C2143.8090406@rtr.ca> <924EFEDD5F540B4284297C4DC59F3DEE4FC485@orsmsx423.amr.corp.intel.com> <477C622F.6010304@rtr.ca> <20080104021619.GA15409@linux-os.sc.intel.com> <477DA529.4000500@rtr.ca> <477EAAB0.1000101@rtr.ca> <924EFEDD5F540B4284297C4DC59F3DEE4FCC51@orsmsx423.amr.corp.intel.com> In-Reply-To: <924EFEDD5F540B4284297C4DC59F3DEE4FCC51@orsmsx423.amr.corp.intel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1732 Lines: 45 Pallipadi, Venkatesh wrote: >> -----Original Message----- >> From: Mark Lord [mailto:lkml@rtr.ca] .. >> Okay, with !CONFIG_CPU_IDLE, this works fine -- same as 2.6.23 >> and earlier. >> > > Good to know. Atleast we do not have a regression for 2.6.24 now. .. Agreed. We're happy here, for now. >>> Meanwhile, can you give a short summary of how behaviour differs >>> between CONFIG_CPU_IDLE and !CONFIG_CPU_IDLE ?? >>> >>> I'm not at all clear on how this really affects things. > > With CPU_IDLE, the C-state policy is removed from acpi driver. Ideally > policy should have nothing to do with ACPI, as ACPI only provides the > C-state mechanisms. So, with CPU_IDLE, it is not easy to control this > variable through a acpi driver module at run time. Also, the latency > interface that was mentioned before is to serve the same purpose in a > more clear manner (based on the wakeup latency) instead of a C-state > number which may not mean much from the end user point of view. > > I will look at why latency does not work on a single core system > soon(Was that with UP kernel or SMP kernel?). That way we will have a > proper cover for this with CPU_IDLE in future. .. That was with a UP kernel on a UP box. The latency thingie really seemed to have little or no effect, whereas setting max_cstate=1 has a quite noticeable positive impact. Things seemed okay (with the latency thingie) on the SMP machine, but with two cores it is probably simply more forgiving. cheers -- 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/