From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753840Ab3A2CjO (ORCPT ); Mon, 28 Jan 2013 21:39:14 -0500 Received: from mail-lb0-f177.google.com ([209.85.217.177]:37231 "EHLO mail-lb0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751351Ab3A2CjL (ORCPT ); Mon, 28 Jan 2013 21:39:11 -0500 MIME-Version: 1.0 In-Reply-To: <1359426979.17639.10.camel@gandalf.local.home> References: <1359399845-10568-1-git-send-email-fweisbec@gmail.com> <1359417749.17639.6.camel@gandalf.local.home> <1359426979.17639.10.camel@gandalf.local.home> Date: Tue, 29 Jan 2013 03:39:10 +0100 Message-ID: Subject: Re: [GIT PULL] cputime: Full dynticks task/cputime accounting v7 From: Frederic Weisbecker To: Steven Rostedt Cc: Ingo Molnar , LKML , Andrew Morton , Li Zhong , Namhyung Kim , "Paul E. McKenney" , Paul Gortmaker , Peter Zijlstra , Thomas Gleixner , Sedat Dilek , Gleb Natapov , Marcelo Tosatti , Tony Luck , Fenghua Yu 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 2013/1/29 Steven Rostedt : > On Mon, 2013-01-28 at 19:02 -0500, Steven Rostedt wrote: > >> I've ran these through some basic tests and I don't see any issues. But >> why did you drop the 'comment' patch that you had in v6? >> >> Acked-by: Steven Rostedt >> > > I'm sorry but I need to un-Ack. Due to a test machine setup error, I've > been testing the same config over and over and not other configs. > > Everything works great up until I enabled the dynamic tick and force > context tracking. > > User time seems to be pretty much the same, but the kernel time is > screwed: > > For all my other tests (I finally tested other configs and without your > patches) I had my kernel time test report something like this: > > [root@bxtest ~]# time /work/c/kernelspin 10 > > real 0m10.001s > user 0m1.114s > sys 0m8.886s > > > But after enabling the force context_tracking I get this: > > [root@bxtest ~]# time /work/c/kernelspin 10 > > real 0m10.001s > user 0m3.769s > sys 0m6.203s > > > Consistently. All the other runs always had a 1.X 8.X ratio. This seems > to give 3.7x 6.2x ratio consistently. Maybe it's more accurate then the > others. Or something else is broken. > > I'll look deeper into it. Please send me your kernelspin so I can test as well. Thanks. > > -- Steve > >