Jõudluse mõõtmine: erinevus redaktsioonide vahel
Allikas: Imre kasutab arvutit
Mine navigeerimisribaleMine otsikasti
(Uus lehekülg: '===Sissejuhatus=== Muu hulgas on olemas selline tarkvara * https://wiki.ubuntu.com/PhoronixTestSuite * lmbench * sysbench ===lmbench=== TODO ===sysbench=== TODO ===PTS=== TODO ===Kasulikud lisamaterjalid=== * https://blog.cloudflare.com/ddr4-memory-organization-and-how-it-affects-memory-bandwidth * https://www.brendangregg.com/blog/2024-03-24/linux-crisis-tools.html * https://www.youtube.com/watch?v=0uu0ElnjLas') |
Resümee puudub |
||
10. rida: | 10. rida: | ||
TODO |
TODO |
||
+ | |||
+ | <pre> |
||
+ | # 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 |
||
+ | </pre> |
||
+ | |||
+ | Tulemus salvestatakse faili, muu hulgas on seal registreeritud nt |
||
+ | |||
+ | <pre> |
||
+ | 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 |
||
+ | ... |
||
+ | </pre> |
||
===sysbench=== |
===sysbench=== |
Redaktsioon: 28. juuli 2024, kell 17:48
Sissejuhatus
Muu hulgas on olemas selline tarkvara
- https://wiki.ubuntu.com/PhoronixTestSuite
- lmbench
- sysbench
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