lkml.org 
[lkml]   [2014]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: perf samples too long without perf running (?!?)
On Sat, Mar 8, 2014 at 1:13 AM, Markus Trippelsdorf
<markus@trippelsdorf.de> wrote:
> On 2014.03.08 at 08:51 +0100, Mike Galbraith wrote:
>> On Fri, 2014-03-07 at 17:57 -0800, Andy Lutomirski wrote:
>> > On recent (3.13) kernels, I'm frequently getting messages like:
>> >
>> > perf samples too long (2503 > 2500), lowering
>> > kernel.perf_event_max_sample_rate to 50000
>> >
>> > a few seconds to minutes after bootup. As far as I know, I'm not
>> > using perf. What's going on here?
>>
>> 14c63f17b1
>>
>> I get those all the time too, just building kernels.
>
> I have:
> echo 0 > /proc/sys/kernel/perf_cpu_time_max_percent
> in my local startup script since that commit.

...so the NMI watchdog (which happens IIRC once every two minutes)
takes more than 0.4ms or so, so perf flips out, changes its parameters,
and writes a log message.

Is it just me or is this whole situation screwed up for multiple reasons?

--Andy

>
> --
> Markus



--
Andy Lutomirski
AMA Capital Management, LLC


\
 
 \ /
  Last update: 2014-03-08 18:01    [W:0.036 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site