Skip to content

Instantly share code, notes, and snippets.

@DmitryMyadzelets
Last active June 16, 2020 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save DmitryMyadzelets/9c3b4f63c629fb15c367df7c2eb821ca to your computer and use it in GitHub Desktop.
Save DmitryMyadzelets/9c3b4f63c629fb15c367df7c2eb821ca to your computer and use it in GitHub Desktop.
Performance Tests

Performance tests

I compare performance of my devices with common tools.

For the storage and overall cpu-memory-storage performance:

hdparm -tT /dev/sd?

For the memory:

mbw 100 | grep AVG

Rock64 v2 with SSD on USB3

/dev/sda:
 Timing cached reads:       1674 MB in  2.00 seconds = 837.16 MB/sec
 Timing buffered disk reads: 780 MB in  3.00 seconds = 259.71 MB/sec
MEMCPY	Elapsed: 0.08145	MiB: 100.00000	Copy: 1227.699 MiB/s
DUMB	Elapsed: 0.08961	MiB: 100.00000	Copy: 1115.902 MiB/s
MCBLOCK	Elapsed: 0.03009	MiB: 100.00000	Copy: 3323.805 MiB/

Raspberry PI 3

/dev/mmcblk0:
 Timing cached reads:       1248 MB in  2.00 seconds = 623.82 MB/sec
 Timing buffered disk reads:  68 MB in  3.02 seconds =  22.54 MB/sec
MEMCPY	Elapsed: 0.10468	MiB: 100.00000	Copy: 955.336 MiB/s
DUMB	Elapsed: 0.09871	MiB: 100.00000	Copy: 1013.038 MiB/s
MCBLOCK	Elapsed: 0.06056	MiB: 100.00000	Copy: 1651.260 MiB/s

HP 6710 b

 Timing cached reads:       2114 MB in  2.00 seconds = 1058.37 MB/sec
 Timing buffered disk reads: 380 MB in  3.01 seconds = 126.18 MB/sec

Sony Vaio VPCW21S11E

/dev/sda:
 Timing cached reads:       1438 MB in  2.00 seconds = 719.17 MB/sec
 Timing buffered disk reads: 132 MB in  3.00 seconds =  43.95 MB/sec
MEMCPY	Elapsed: 0.10666	MiB: 100.00000	Copy: 937.557 MiB/s
DUMB	Elapsed: 0.06547	MiB: 100.00000	Copy: 1527.503 MiB/s
MCBLOCK	Elapsed: 0.03526	MiB: 100.00000	Copy: 2835.850 MiB/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment