Questions tagged [perf]
Performance analyzing tool in Linux, also called perf_events; originally "Performance Counters for Linux", PCL (not to confuse with "Printer Command Language" nor "Point Cloud Library").
11
questions
0
votes
0
answers
200
views
Using perf from a user account
I'm following admin-guide/perf-security.html from the kernel docs to set up perf with a user account. Briefly, I set up the capabilities on the binary and change group ownership to perf_users. However ...
0
votes
1
answer
40
views
nft_pipapo_avx2_scratch_index shows up on all my perf recordings
I'm investigating a performance issue on my Ubuntu 22.04.2 LTS machine. I take the following steps:
sudo perf record -g -F max -s --call-graph dwarf -e cycles -e sched:sched_switch --switch-events --...
3
votes
1
answer
761
views
Permission to use perf timechart
I am learning to use perf profiling tool on my Ubuntu 18.04.3 LTS. I know by using perf timechart you can visualize your system behavior during a workload. I tried that with my parallel program:
perf ...
3
votes
1
answer
9k
views
Unable to change kernel.perf_event_paranoid
I am trying to collect some data using perf, but whenever I try perf, I get the "You may not have permission to collect stats.", error.
I have tried changing the /proc/sys/kernel/perf_event_paranoid ...
1
vote
0
answers
171
views
Does perf work on Red Hat 6.7?
My company is stuck on Red Hat Enterprise Linux 6.7. Running perf record ls as non-root results in an error: "Perf session creation failed."
$ cat /proc/sys/kernel/perf_event_paranoid
1
$ uname -r
2....
1
vote
1
answer
7k
views
Save "perf stat" output to a file without also saving the executed command's output
I'm running perf stat on the command ./start-server.sh -f server-config.xml:
perf stat -e cache-misses ./start-server.sh -f server-config.xml
I'd like to save the perf results to a file e.g. by ...
51
votes
1
answer
72k
views
Run perf without root-rights
I'm running debian testing with the 4.1 kernel and version 4.1 of the perf tool. In this version they seem to have added some sort of protection to keep normal users from collecting data from that ...
4
votes
1
answer
3k
views
perf cannot get cache-misses for Linux VM on VMware ESX
I interested on measuring CPU cache-misses parameter and came across this tool called perf. I followed the wiki and able to get the cache-misses when this command is run on physical machine
[root@...
8
votes
1
answer
5k
views
What is exactly shown by "perf" as page-faults?
I want to count the number of disk accesses during a complete run of my script.
My bash script runs 2 other executable files locally and 2 other executable files remotely. Something like this (those ...
5
votes
1
answer
5k
views
Read and parse perf.data
I am recording a performance counters frm linux using the command perf record.
I want to use the result perf.data as an input to other programming apps. Do you know how shall I read and parse the ...
5
votes
2
answers
19k
views
installing perf on RedHat
I read about perf tool and I was interested in using in my RedHat.
On Ubuntu it is enough to call sudo apt-get install linux-tools-2.6.38-11.
What about RED HAT? I tried both:
yum install linux-...