Linux/Benchmarks: Difference between revisions

From Wiki
mNo edit summary
Line 43: Line 43:
|+
|+
!
!
!nucserver
!ml-nuc i7
!nucserver i3
!
!
!
!
|-
|-
|fio write throughput BW
|fio write throughput BW
|6341 MB/s
|443 MB/s
|443 MB/s
|
|
Line 53: Line 55:
|-
|-
|fio read throughput BW
|fio read throughput BW
|
|539 MB/s
|539 MB/s
|
|
Line 58: Line 61:
|-
|-
|fio read iops
|fio read iops
|
|91.0k
|91.0k
|
|
Line 63: Line 67:
|-
|-
|fio write iops
|fio write iops
|
|73.2k
|73.2k
|
|

Revision as of 15:08, 18 November 2023

  • bonnie++ (disk benchmark)
sudo bonnie -d /mnt/hdd -s 4000 -u root
  • fio
  • sysbench (generals systembenchmark) [1]



  • sysbench
sudo apt install sysbench

sysbench cpu run
sysbench --cpu-max-prime=20000 --threads=6 cpu run
  • stress-ng
sudo apt install stress-ng

stress-ng --cpu 1 --cpu-method matrixprod --metrics-brief --perf -t 60

Mysql

apt install sysbench


prepare (ca. 2GB data):

sysbench --db-driver=mysql --mysql-host='vm-docker' --mysql-db=maria --mysql-user=maria --mysql-password=maria --tables=16 --table-size=1000000 /usr/share/sysbench/oltp_read_write.lua prepare


benchmark:

sysbench --db-driver=mysql --mysql-host='vm-docker' --mysql-db=maria --mysql-user=maria --mysql-password=maria --tables=16 --table-size=1000000 --threads=8 --time=60 --events=0 --report-interval=2 /usr/share/sysbench/oltp_read_write.lua run

Benchmarks

ml-nuc i7 nucserver i3
fio write throughput BW 6341 MB/s 443 MB/s
fio read throughput BW 539 MB/s
fio read iops 91.0k
fio write iops 73.2k