mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Pekka Enberg" <penberg@cs.helsinki.fi>
To: "Eric Dumazet" <dada1@cosmosbay.com>
Cc: "linux kernel" <linux-kernel@vger.kernel.org>,
	"Andi Kleen" <ak@linux.intel.com>,
	robert.richter@amd.com, "Ingo Molnar" <mingo@elte.hu>
Subject: Re: linux-2.6.28-rc2 regression : oprofile doesnt work anymore ?
Date: Fri, 31 Oct 2008 16:21:21 +0200	[thread overview]
Message-ID: <84144f020810310721x1d1eccbeica5d10608d7b2e57@mail.gmail.com> (raw)
In-Reply-To: <4909F690.9090208@cosmosbay.com>

(adding some more cc's)

On Thu, Oct 30, 2008 at 8:01 PM, Eric Dumazet <dada1@cosmosbay.com> wrote:
> I tried to start my favorite tool, and discovered it wont fly on my HP
> BL460C G1
>
> It samples few events then, seems to stop (no more NMI), other than that,
> machine
> still running correctly.
>
> (8 cpus like that one
>
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 6
> model           : 23
> model name      : Intel(R) Xeon(R) CPU           E5450  @ 3.00GHz
> stepping        : 6
> cpu MHz         : 3000.253
> cache size      : 6144 KB
> physical id     : 0
> siblings        : 4
> core id         : 0
> cpu cores       : 4
> apicid          : 0
> initial apicid  : 0
> fdiv_bug        : no
> hlt_bug         : no
> f00f_bug        : no
> coma_bug        : no
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 10
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
> constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx est tm2
> ssse3 cx16 xtpr pdcm dca sse4_1 lahf_lm tpr_shadow vnmi flexpriority
> bogomips        : 6000.50
> clflush size    : 64
> power management:
>
> It is working correctly on 2.6.27
>
> I tried a git bisect but quickly found a point where machine was not
> useable...
> (partly because of the problem with the VPD problem on 5708S (PCI: Limit VPD
> length for Broadcom 5708S)
>
> # opcontrol --deinit
> Stopping profiling.
> Killing daemon.
> # rm -rf /var/lib/oprofile/samples/current
> # opcontrol --vmlinux=vmlinux --start
> Using 2.6+ OProfile kernel interface.
> Reading module info.
> Using log file /var/lib/oprofile/samples/oprofiled.log
> Daemon started.
> Profiler running.
>
> # opcontrol --dump; opreport
> CPU: Core 2, speed 3000.25 MHz (estimated)
> Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit
> mask of 0x00 (Unhalted core cycles) count 10000
> CPU_CLK_UNHALT...|
>  samples|      %|
> ------------------
>      17 80.9524 vmlinux
>       2  9.5238 libc-2.3.4.so
>       1  4.7619 bash
>       1  4.7619 ld-2.3.4.so
> # opcontrol --dump; opreport
> CPU: Core 2, speed 3000.25 MHz (estimated)
> Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit
> mask of 0x00 (Unhalted core cycles) count 10000
> CPU_CLK_UNHALT...|
>  samples|      %|
> ------------------
>      17 80.9524 vmlinux
>       2  9.5238 libc-2.3.4.so
>       1  4.7619 bash
>       1  4.7619 ld-2.3.4.so
> # opcontrol --dump; opreport
> CPU: Core 2, speed 3000.25 MHz (estimated)
> Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit
> mask of 0x00 (Unhalted core cycles) count 10000
> CPU_CLK_UNHALT...|
>  samples|      %|
> ------------------
>      17 80.9524 vmlinux
>       2  9.5238 libc-2.3.4.so
>       1  4.7619 bash
>       1  4.7619 ld-2.3.4.so
>
> # grep NMI /proc/interrupts
> NMI:          8          2          2          6         11          7
>    6          5   Non-maskable interrupts
> # grep NMI /proc/interrupts
> NMI:          8          2          2          6         11          7
>    6          5   Non-maskable interrupts
> # grep NMI /proc/interrupts
> NMI:          8          2          2          6         11          7
>    6          5   Non-maskable interrupts
> # grep NMI /proc/interrupts
> NMI:          8          2          2          6         11          7
>    6          5   Non-maskable interrupts

I'm seeing the same thing on my 2-way x86-64. Here's my /proc/cpuinfo
in case it helps:

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
stepping	: 6
cpu MHz		: 2000.000
cache size	: 4096 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor
ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips	: 3989.97
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
stepping	: 6
cpu MHz		: 2000.000
cache size	: 4096 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor
ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips	: 3989.97
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

  reply	other threads:[~2008-10-31 14:21 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-30 18:01 Eric Dumazet
2008-10-31 14:21 ` Pekka Enberg [this message]
2008-11-04 18:18   ` Robert Richter
2008-11-04 19:19     ` Pekka J Enberg
2008-11-04 22:32       ` Eric Dumazet
2008-11-05  6:09         ` Eric Dumazet
2008-11-06 15:00           ` Eric Dumazet
2008-11-07 13:02             ` Andi Kleen
2008-11-07 15:13               ` Eric Dumazet
2008-11-07 16:05                 ` Andi Kleen
2008-11-07 16:12                   ` Eric Dumazet
2008-11-07 16:47                     ` Andi Kleen
2008-11-07 16:51                       ` Eric Dumazet
2008-11-07 16:26               ` Robert Richter
2008-11-04 22:58       ` Andi Kleen
2008-11-04 20:09     ` Andi Kleen
2008-10-31 16:08 ` Jesper Dangaard Brouer
2008-11-01  2:29 ` Robert Richter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84144f020810310721x1d1eccbeica5d10608d7b2e57@mail.gmail.com \
    --to=penberg@cs.helsinki.fi \
    --cc=ak@linux.intel.com \
    --cc=dada1@cosmosbay.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=robert.richter@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®