What does perf interrupt mean?

I am working on my computer, trying to write some device code. I checked into dmesg to get some info, and saw this:

perf interrupt took too long (2507 > 2500), lowering kernel.perf_event_max_sample_rate to 50000

what does this event mean? Cause? Concern?

2 Answers

This should not be a concern. perf is a tool to handle CPU performance. The kernel is capable of automatically determining the sample rate without affecting the performance of the system. Here is a thread on this from the Arch forum.

1

This answer from the Arch Forum sums it up:

This message is informational and nothing to worry about.

It has to do with the Linux perf tool which is included in the kernel. The kernel automagically determines the sample rate that could be used without impacting system performance too much; and it logs this even when perf isn't active, or even installed.

Messages like this are triggered by high(er) system load or a cpu that is scaling.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like