paul- wrote: > What are you using to test speed? It could be just your method of > testing.
That's certainly possible - I'll admit I don't have a good understanding of the conditions required to get an accurate result. I found the basic commands 'here' (https://elinux.org/RPi_SD_cards#Terminal_Commands), and I made the script below. Code: -------------------- # clear cache sync; echo 3 | sudo tee /proc/sys/vm/drop_caches #write test echo "Write test" sync; echo 3 |sudo dd if=/dev/zero of=./test.tmp bs=500K count=1024 # clear cache sync; echo 3 | sudo tee /proc/sys/vm/drop_caches # read test echo "Read test" sync; sudo time dd if=./test.tmp of=/dev/null bs=500K count=1024 -------------------- To run it I simply cd to the root of the drive to be tested then call the script from /home/tc. If I delete test.tmp before running the test, the write speed is somehow about twice as fast, faster even than the subsequent read speed. Code: -------------------- tc@pCPServer:/mnt/Music$ rm test.tmp rm: remove 'test.tmp'? y tc@pCPServer:/mnt/Music$ /home/tc/rwtest.sh 3 Write test 1024+0 records in 1024+0 records out 524288000 bytes (500.0MB) copied, 1.862952 seconds, 268.4MB/s 3 Read test 1024+0 records in 1024+0 records out 524288000 bytes (500.0MB) copied, 2.146489 seconds, 232.9MB/s real 0m 2.14s user 0m 0.01s sys 0m 1.15s tc@pCPServer:/mnt/Music$ /home/tc/rwtest.sh 3 Write test 1024+0 records in 1024+0 records out 524288000 bytes (500.0MB) copied, 2.997269 seconds, 166.8MB/s 3 Read test 1024+0 records in 1024+0 records out 524288000 bytes (500.0MB) copied, 2.119096 seconds, 235.9MB/s real 0m 2.12s user 0m 0.01s sys 0m 1.14s tc@pCPServer:/mnt/Music$ /home/tc/rwtest.sh 3 Write test 1024+0 records in 1024+0 records out 524288000 bytes (500.0MB) copied, 3.249851 seconds, 153.9MB/s 3 Read test 1024+0 records in 1024+0 records out 524288000 bytes (500.0MB) copied, 2.139627 seconds, 233.7MB/s real 0m 2.14s user 0m 0.01s sys 0m 1.15s -------------------- Before flashing the new firmware, I ran this test a few times (without deleting test.tmp) and obtained write speeds ranging from 210-245MB/s, and read speeds ranging from 255-300MB/s. Looking at the second and third tests above (after flashing the firmware) the write speed is around 160MB/s and the read speed is around 235MB/s. ------------------------------------------------------------------------ chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113575 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
