Welcome to the Linux Foundation Forum!

Perf tool, used for profiling, crashes on heavy load

Hi,
When I am using "perf record -F 99 -g -p -- sleep 300" during normal load, perf.data file is generated without any problem. But when the load is high, it is crashing. The only way to get an ok result is to reduce the frequency to around 30, which is terrible.

Ideally, the rate should be high to get better results(about 997 samples/sec). Is there any solution to this.

I think that the issue might be related to the Linux kernel space. If so, what would I have to do to solve this issue?

Below is the stack trace that i got :

[root@finesse25 ~]# perf record -F 9997 -g -p 23675 -v
Warning:
The cycles event is not supported, trying to fall back to cpu-clock-ticks
Using CPUID GenuineIntel-6-3E-4
mmap size 528384B
couldn’t open /proc/14480/status

*Note that I have used -v (perf record -F 9997 -g -p 23675 -v) as an extra argument to the one mentioned above (perf record -F 99 -g -p – sleep 300)

Is this the right forum to know about Linux Perf tool? If not, please suggest another forum where i can ask queries related to Linux perf tool.

Categories

Upcoming Training