Jõudluse mõõtmine

Allikas: Imre kasutab arvutit
Redaktsioon seisuga 28. juuli 2024, kell 17:48 kasutajalt Imre (arutelu | kaastöö)
Mine navigeerimisribaleMine otsikasti

Sissejuhatus

Muu hulgas on olemas selline tarkvara

lmbench

TODO

# apt-get install lmbench

root@imre-ubuntu-2024-dpdk-01:/usr/lib/lmbench/scripts# ./config-run

root@imre-ubuntu-2024-dpdk-01:/usr/lib/lmbench/scripts# lmbench-run bw_pipe -m 10k -M 10M -P 2
/usr/bin/lmbench-run: 1: /var/lib/lmbench/config: Permission denied
Using config in CONFIG.imre-ubuntu-2024-dpdk-01
Sun Jul 28 12:48:06 UTC 2024
Latency measurements
Sun Jul 28 12:48:38 UTC 2024
Calculating file system latency
Sun Jul 28 12:48:39 UTC 2024
Local networking
Sun Jul 28 12:51:47 UTC 2024
Bandwidth measurements
Sun Jul 28 12:54:24 UTC 2024
Calculating context switch overhead
Sun Jul 28 12:54:28 UTC 2024
Calculating effective TLB size
Sun Jul 28 12:54:30 UTC 2024
Calculating memory load parallelism
Sun Jul 28 13:01:38 UTC 2024
McCalpin's STREAM benchmark
Sun Jul 28 13:01:46 UTC 2024
Calculating memory load latency
Sun Jul 28 13:43:20 UTC 2024
Benchmark run finished....
Remember you can find the results of the benchmark 
under /var/lib/lmbench/results

Tulemus salvestatakse faili, muu hulgas on seal registreeritud nt

root@imre-ubuntu-2024-dpdk-01:~# grep -A 8 "libc bcopy unaligned" /var/lib/lmbench/results/x86_64-linux-gnu/imre-ubuntu-2024-dpdk-01.0 
"libc bcopy unaligned
0.000512 112923.37
0.001024 109816.96
0.002048 114732.77
0.004096 99844.64
0.008192 109028.73
0.016384 109222.73
0.032768 59181.28
0.065536 58554.25
...

sysbench

TODO

PTS

TODO

Kasulikud lisamaterjalid