From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755146AbYIDDQU (ORCPT ); Wed, 3 Sep 2008 23:16:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753417AbYIDDQL (ORCPT ); Wed, 3 Sep 2008 23:16:11 -0400 Received: from casper.infradead.org ([85.118.1.10]:33087 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753382AbYIDDQK (ORCPT ); Wed, 3 Sep 2008 23:16:10 -0400 Date: Wed, 3 Sep 2008 20:16:02 -0700 From: Arjan van de Ven To: Linus Torvalds Cc: Alok Kataria , Thomas Gleixner , Larry Finger , LKML , "Rafael J. Wysocki" , Michael Buesch , Dan Hecht Subject: Re: [PATCH] Fix TSC calibration issues Message-ID: <20080903201602.2ab6c449@infradead.org> In-Reply-To: References: <48BB2116.1060904@lwfinger.net> <1220490884.22734.83.camel@alok-dev1> Organization: Intel X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 3 Sep 2008 19:56:10 -0700 (PDT) Linus Torvalds wrote: > > > On Wed, 3 Sep 2008, Alok Kataria wrote: > > > > As Linus suggested, we should be moving the tsc_read_refs outside > > of the loop, this gives us more accurate TSC calibration when > > calibrating against hpet/pmtimer, since we are now calibrating over > > a period of 250ms. > > Side note: I'd like to change that. > > 250ms is a _loong_ time. It's a really really long time. It's > human-noticeable. A quarter of a second at boot is just too long. yeah it's insane ;-( (since we boot a kernel in 1 second and a full OS including the kernel in 5) > - do other things while calibrating. one option for that is the fastboot patchkit in -next ;-) but at some point, even doing things in parallel/asynchronous isn't helping, "parallel shit is still shit" :) -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org