lkml.org 
[lkml]   [2020]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectcpu-freq: running the perf increases the data rate?
 [ Please keep me in CC as I'm not subscribed to the list]

Hi all,

I have an application which finds the data rate over the PCIe
interface. I’m getting the lesser data rate in one of my Linux X86
systems.
When I change the scaling_governor from "powersave" to "performance"
mode for each CPU, then there is slight improvement in the PCIe data
rate.
Parallely I started profiling the workload with perf. Whenever I start
running the profile command “perf stat -a -d -p <PID>” surprisingly
the application resulted in excellent data rate over PCIe, but when I
kill the perf command again PCIe data rate drops. I am really confused
about this behavior.Any clues from this behaviour?


Also I noticed my system not having the 'cpuinfo_cur_freq' sys file.
Is that okay?
cat: /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq: No such
file or directory


--
Thanks,

\
 
 \ /
  Last update: 2020-08-27 18:56    [W:0.038 / U:1.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site