Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261810AbUKPUdG (ORCPT ); Tue, 16 Nov 2004 15:33:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261790AbUKPUbF (ORCPT ); Tue, 16 Nov 2004 15:31:05 -0500 Received: from natnoddy.rzone.de ([81.169.145.166]:48636 "EHLO natnoddy.rzone.de") by vger.kernel.org with ESMTP id S261809AbUKPU36 (ORCPT ); Tue, 16 Nov 2004 15:29:58 -0500 Date: Tue, 16 Nov 2004 21:29:45 +0100 From: Dominik Brodowski To: john stultz Cc: dean gaudet , lkml Subject: Re: [patch] prefer TSC over PM Timer Message-ID: <20041116202944.GA8982@dominikbrodowski.de> Mail-Followup-To: Dominik Brodowski , john stultz , dean gaudet , lkml References: <1100569104.21267.58.camel@cog.beaverton.ibm.com> <1100598645.13732.22.camel@leatherman> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1100598645.13732.22.camel@leatherman> User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1839 Lines: 40 On Tue, Nov 16, 2004 at 01:50:44AM -0800, john stultz wrote: > > > > right -- except i think the default is the opposite of what it should be > > for a generic kernel. i think more systems are served better by using tsc > > than those that need clock=pm... NUMA systems are rare (with custom > > kernels/etc), and if my experience with the centrino is valid then newer > > laptops aren't having this tsc/cpufreq problem. Oh yes, they do -- as Venkatesh pointed out, the TSC stops if the CPU is in the "deep sleep" power state. And better support for deeper sleep states is in the working... Also, the cpufreq code currently can only update the timing code with an inaccuracy of up to one jiffy. If transitions happen in between two timer ticks, timing becomes inaccurate by -0.5 Yea, no, I definitely don't like that. I know how these tricks work, > send out a worse patch to make the first look better ;) But alas, you've > worn me down! Add the comments I mentioned above and I'd go along with > it. > > Dominik: are you cool with this? I agree with handling TMTA specially, as it uses such a different approach to CPU frequency scaling _and_ gets TSC right. Therefore, ACK. Thanks, Dominik - 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/