From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18025 invoked by alias); 23 Sep 2008 19:03:00 -0000 Received: (qmail 18008 invoked by uid 22791); 23 Sep 2008 19:02:59 -0000 X-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,KAM_MX,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 23 Sep 2008 19:02:17 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m8NJ2Fh6013103 for ; Tue, 23 Sep 2008 15:02:15 -0400 Received: from mail.boston.redhat.com (mail.boston.redhat.com [10.16.255.12]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m8NJ2DDS030646; Tue, 23 Sep 2008 15:02:13 -0400 Received: from [10.16.3.219] (dhcp-100-3-219.bos.redhat.com [10.16.3.219]) by mail.boston.redhat.com (8.13.1/8.13.1) with ESMTP id m8NJ2Cvb012965; Tue, 23 Sep 2008 15:02:12 -0400 Message-ID: <48D93CAF.8070000@redhat.com> Date: Tue, 23 Sep 2008 19:03:00 -0000 From: Masami Hiramatsu User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: Thomas Gleixner CC: Linus Torvalds , Mathieu Desnoyers , Martin Bligh , Linux Kernel Mailing List , Steven Rostedt , darren@dvhart.com, "Frank Ch. Eigler" , systemtap-ml Subject: Re: Unified tracing buffer References: <33307c790809191433w246c0283l55a57c196664ce77@mail.gmail.com> <48D7F5E8.3000705@redhat.com> <33307c790809221313s3532d851g7239c212bc72fe71@mail.gmail.com> <48D81B5F.2030702@redhat.com> <33307c790809221616h5e7410f5gc37c262d83722111@mail.gmail.com> <48D832B6.3010409@redhat.com> <33307c790809221712x4fbd9781u958c98d4585e92a9@mail.gmail.com> <48D901FE.5060604@redhat.com> <20080923150410.GA28341@Krystal> <48D90B84.4030905@redhat.com> <48D921B3.2060809@redhat.com> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-IsSubscribed: yes 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: 2008-q3/txt/msg00778.txt.bz2 Hi Thomas, Thomas Gleixner wrote: > > Do you have C-States enabled on that machine ? > > ls /sys/devices/system/cpu/cpu0/cpuidle/ > > has it more than a state0 entry ? Yes, there are state0 to state3 # ls /sys/devices/system/cpu/cpu0/cpuidle/ state0 state1 state2 state3 > If yes, please do: > > cat /sys/devices/system/cpu/cpu0/cpuidle/stateX/usage > > where X is the highest number in there. # cat /sys/devices/system/cpu/cpu0/cpuidle/state3/usage 171210 > > cat /proc/acpi/processor/CPU0/power > > might be useful as well. # cat /proc/acpi/processor/CPU0/power active state: C0 max_cstate: C8 bus master activity: 00000000 maximum allowed latency: 2000000000 usec states: C1: type[C1] promotion[--] demotion[--] latency[001] usage[00000016] duration[00000000000000000000] C2: type[C2] promotion[--] demotion[--] latency[001] usage[00037969] duration[00000000000024288003] C3: type[C3] promotion[--] demotion[--] latency[057] usage[00171818] duration[00000000001881257636] Could these help you? Thank you, > > Thanks, > > tglx -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America) Inc. Software Solutions Division e-mail: mhiramat@redhat.com