lkml.org 
[lkml]   [2013]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PEBS bug on HSW: "Unexpected number of pebs records 10" (was: Re: [GIT PULL] perf changes for v3.12)

* Stephane Eranian <eranian@googlemail.com> wrote:

> Hi,
>
> Some updates on this problem.
> I have been running tests all week-end long on my HSW.
> I can reproduce the problem. What I know:
>
> - It is not linked with callchain
> - The extra entries are valid
> - The reset values are still zeroes
> - The problem does not happen on SNB with the same test case
> - The PMU state looks sane when that happens.
> - The problem occurs even when restricting to one CPU/core (taskset -c 0-3)
>
> So it seems like the threshold is ignored. But I don't understand where
> there reset values are coming from. So it looks more like a bug in
> micro-code where under certain circumstances multiple entries get
> written.

Either multiple entries are written, or the PMI/NMI is not asserted as it
should be?

> Something must be happening with the interrupt or HT. I will disable HT
> next and also disable the NMI watchdog.

Yes, interaction with the NMI watchdog events might also be possible.

If it's truly just the threshold that is broken occasionally in a
statistically insignificant manner then the bug is relatively benign and
we could work it around in the kernel by ignoring excess entries.

In that case we should probably not annoy users with the scary kernel
warning and instead increase a debug count somewhere so that it's still
detectable.

Thanks,

Ingo


\
 
 \ /
  Last update: 2013-09-16 18:01    [W:0.144 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site