lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <ZbVdsbIUQMqHol7V@kernel.org>
Date: Sat, 27 Jan 2024 16:46:57 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Namhyung Kim <namhyung@...nel.org>
Cc: Adrian Hunter <adrian.hunter@...el.com>,
	Ian Rogers <irogers@...gle.com>, Jiri Olsa <jolsa@...nel.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	linux-perf-users@...r.kernel.org
Subject: perf test bpf-counters failing on some hybrid machines

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

Fails:

root@...ber:~# 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@...ber:~#
root@...ber:~# 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@...ber:~# grep -m1 "model name" /proc/cpuinfo
model name	: Intel(R) Core(TM) i7-14700K
root@...ber:~#

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ