| 1 | = Benchmark SD card = |
| 2 | |
| 3 | Testing is done with the script on the end of this page. |
| 4 | |
| 5 | == Samsung == |
| 6 | Write Test Running. Please Wait... |
| 7 | Unable to purge disk buffers: Operation not permitted |
| 8 | |
| 9 | Read Test Running. Please Wait... |
| 10 | |
| 11 | |
| 12 | Read Speed is: 460.111 MB/sec |
| 13 | Write Speed is: 7.68433 MB/sec |
| 14 | --------------------- |
| 15 | |
| 16 | |
| 17 | == Test Script == |
| 18 | |
| 19 | {{{ |
| 20 | #!/bin/bash |
| 21 | echo "---------------------" |
| 22 | echo "Write Test Running. Please Wait..." |
| 23 | write=$(dd if=/dev/zero bs=2048k of=tstfile count=1024 2>&1 | grep sec | awk '{print $1 / 1024 / 1024 / $5, "MB/sec" }') |
| 24 | purge |
| 25 | echo "" |
| 26 | echo "Read Test Running. Please Wait..." |
| 27 | read=$(dd if=tstfile bs=2048k of=/dev/null count=1024 2>&1 | grep sec | awk '{print $1 / 1024 / 1024 / $5, "MB/sec" }') |
| 28 | clear |
| 29 | echo "" |
| 30 | echo "Read Speed is: $read" |
| 31 | echo "Write Speed is: $write" |
| 32 | echo "---------------------" |
| 33 | echo "Cleaning up. Please Wait..." |
| 34 | purge |
| 35 | rm tstfile |
| 36 | echo "" |
| 37 | exit 0 |
| 38 | }}} |
| 39 | |