Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760268AbYAKJHn (ORCPT ); Fri, 11 Jan 2008 04:07:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754997AbYAKJH2 (ORCPT ); Fri, 11 Jan 2008 04:07:28 -0500 Received: from brick.kernel.dk ([87.55.233.238]:19671 "EHLO kernel.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753722AbYAKJH0 (ORCPT ); Fri, 11 Jan 2008 04:07:26 -0500 Date: Fri, 11 Jan 2008 10:07:23 +0100 From: Jens Axboe To: David Dillow Cc: Guillaume Chazarain , linux-kernel@vger.kernel.org, linux-btrace@vger.kernel.org, mingo@redhat.com, tglx@linutronix.de Subject: Re: CONFIG_NO_HZ breaks blktrace timestamps Message-ID: <20080111090723.GI6258@kernel.dk> References: <1199918912.8388.13.camel@lap75545.ornl.gov> <1199996752.9159.46.camel@lap75545.ornl.gov> <20080110234438.4826f658@inria.fr> <1200020661.5099.3.camel@obelisk.thedillows.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1200020661.5099.3.camel@obelisk.thedillows.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1870 Lines: 50 On Thu, Jan 10 2008, David Dillow wrote: > > On Thu, 2008-01-10 at 23:44 +0100, Guillaume Chazarain wrote: > > David Dillow wrote: > > > > > At the moment, I'm not sure how to track this farther, or how to fix it > > > properly. Any advice would be appreciated. > > > > Just out of curiosity, could you try the appended cumulative patch and > > report .clock_warps, .clock_overflows and .clock_underflows as you did. > > With those patches, CONFIG_NO_HZ works just fine. > > Patched kernel, nohz=off: > now at 214257.820809 msecs > .clock : 214212.727559 > .idle_clock : 0.000000 > .prev_clock_raw : 244569.402345 > .clock_warps : 0 > .clock_overflows : 577 > .clock_underflows : 213887 > .clock_deep_idle_events : 4 > .clock_max_delta : 0.999830 > > Patched kernel, nohz=on: > now at 248931.524381 msecs > .clock : 248745.808465 > .idle_clock : 0.000000 > .prev_clock_raw : 270911.098507 > .clock_warps : 0 > .clock_overflows : 69 > .clock_underflows : 784 > .clock_deep_idle_events : 4 > .clock_max_delta : 100.639397 > > Running my disk test, blktrace is getting the proper timestamps now with > CONFIG_NO_HZ. Thanks for reporting this. Guillaume, did you write this patch? We need to get it into 2.6.24-rc7 asap. Let me know if I should take care of that, or if it's already queued up elsewhere. -- Jens Axboe -- 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/