linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cpu-freq: running the perf increases the data rate?
@ 2020-08-27 16:55 Subhashini Rao Beerisetty
  2020-08-28 12:34 ` Artem Bityutskiy
  0 siblings, 1 reply; 3+ messages in thread
From: Subhashini Rao Beerisetty @ 2020-08-27 16:55 UTC (permalink / raw)
  To: linux-pm, kernelnewbies, LKML

 [ 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,

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-31 16:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-27 16:55 cpu-freq: running the perf increases the data rate? Subhashini Rao Beerisetty
2020-08-28 12:34 ` Artem Bityutskiy
2020-08-31 16:22   ` Subhashini Rao Beerisetty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).