From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17374 invoked by alias); 23 Feb 2009 23:29:36 -0000 Received: (qmail 17331 invoked by uid 48); 23 Feb 2009 23:29:23 -0000 Date: Tue, 24 Feb 2009 02:45:00 -0000 Message-ID: <20090223232923.17330.qmail@sourceware.org> From: "jistone at redhat dot com" To: systemtap@sources.redhat.com In-Reply-To: <20090204222045.9822.fche@redhat.com> References: <20090204222045.9822.fche@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug runtime/9822] reduce timer load X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q1/txt/msg00508.txt.bz2 ------- Additional Comments From jistone at redhat dot com 2009-02-23 23:29 ------- (In reply to comment #1) > > - the runtime/time.c timekeeping widgetry that uses jiffies to keep the > > per-cpu khz estimates updated > > This ensures the accuracy of the self-own version of gettimeofday_*. > - if the script doesn't use gettimeofday_*, just disable timer. I just committed a change to this effect, so we should be in a lot better shape. For an idle script that doesn't call gettimeofday, powertop tells me that I went from 88.9% C3 residency to 97.1% (vs. 98.3% without stap). Many of the other suggestions here are still valid, but I think this was the biggest step. -- http://sourceware.org/bugzilla/show_bug.cgi?id=9822 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.