All of lore.kernel.org
 help / color / mirror / Atom feed
* perf test bpf-counters failing on some hybrid machines
@ 2024-01-27 19:46 Arnaldo Carvalho de Melo
  0 siblings, 0 replies; only message in thread
From: Arnaldo Carvalho de Melo @ 2024-01-27 19:46 UTC (permalink / raw)
  To: Namhyung Kim
  Cc: Adrian Hunter, Ian Rogers, Jiri Olsa, Linux Kernel Mailing List,
	linux-perf-users

IIRC there is a patch by Thomas Richter for s390 for this? I'll check

Fails:

root@number:~# uname -a
Linux number 6.6.13-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jan 20 18:03:28 UTC 2024 x86_64 GNU/Linux
root@number:~#
root@number:~# perf test -v 106
106: perf stat --bpf-counters test                                   :
--- start ---
test child forked, pid 997337
The difference between 292281328 and 383336121 are greater than 10%.
test child finished with -1
---- end ----
perf stat --bpf-counters test: FAILED!
root@number:~# grep -m1 "model name" /proc/cpuinfo
model name	: Intel(R) Core(TM) i7-14700K
root@number:~#

Fails sometimes:

root@x1:~# uname -a
Linux x1 6.6.13-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jan 20 18:03:28 UTC 2024 x86_64 GNU/Linux
root@x1:~# perf test 106
106: perf stat --bpf-counters test                                   : Ok
root@x1:~# grep -m1 "model name" /proc/cpuinfo
model name	: 13th Gen Intel(R) Core(TM) i7-1365U
root@x1:~# perf test 106
106: perf stat --bpf-counters test                                   : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test                                   : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test                                   : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test                                   : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test                                   : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test                                   : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test                                   : FAILED!
root@x1:~# perf test 106
106: perf stat --bpf-counters test                                   : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test                                   : FAILED!
root@x1:~# perf test 106
106: perf stat --bpf-counters test                                   : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test                                   : Ok
root@x1:~# perf test 106
106: perf stat --bpf-counters test                                   : Ok
root@x1:~# perf test -v 106
106: perf stat --bpf-counters test                                   :
--- start ---
test child forked, pid 279934
test child finished with 0
---- end ----
perf stat --bpf-counters test: Ok
root@x1:~# perf test -v 106
106: perf stat --bpf-counters test                                   :
--- start ---
test child forked, pid 280029
The difference between 261175698 and 219929411 are greater than 10%.
test child finished with -1
---- end ----
perf stat --bpf-counters test: FAILED!
root@x1:~# perf test -v 106
106: perf stat --bpf-counters test                                   :
--- start ---
test child forked, pid 280124
The difference between 251455173 and 299125735 are greater than 10%.
test child finished with -1
---- end ----
perf stat --bpf-counters test: FAILED!
root@x1:~#



- Arnaldo

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-27 19:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-27 19:46 perf test bpf-counters failing on some hybrid machines Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.