Skip to content

Instantly share code, notes, and snippets.

@bergpb
Last active November 25, 2022 12:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bergpb/d0b01b8e26dc55daf7e58cc479dd5122 to your computer and use it in GitHub Desktop.
Save bergpb/d0b01b8e26dc55daf7e58cc479dd5122 to your computer and use it in GitHub Desktop.
Speed results
----------------- SD CARD Sandisk 32GB Class 4 ----------------
pi@raspberrypi:~ $ cat /proc/cpuinfo | grep Model
Model : Raspberry Pi Zero Rev 1.3
pi@raspberrypi:~ $ ./test_disk_size.sh
Variable local not set, default will be /tmp/test_disk_speed
Variable size not set, default will be 1000
Testing writing speed...
500+0 records in
500+0 records out
524288000 bytes (524 MB, 500 MiB) copied, 67.8816 s, 7.7 MB/s
Testing reading speed...
500+0 records in
500+0 records out
524288000 bytes (524 MB, 500 MiB) copied, 23.6599 s, 22.2 MB/s
---------------------------------------------------------------
---------------- SD CARD Sandisk 32GB Class 10 ----------------
pi@raspberrypi:~ $ cat /proc/cpuinfo | grep Model
Model : Raspberry Pi Zero Rev 1.3
pi@raspberrypi:~ $ ./test_disk.sh
Variable local not set, default will be /tmp/test_disk_speed
Variable size not set, default will be 1000
Testing writing speed...
500+0 records in
500+0 records out
524288000 bytes (524 MB, 500 MiB) copied, 27.8441 s, 18.8 MB/s
Testing reading speed...
500+0 records in
500+0 records out
524288000 bytes (524 MB, 500 MiB) copied, 22.8902 s, 22.9 MB/s
---------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment