sync; dd if=/dev/zero of=oktempfile bs=1M count=1024; sync ; echo 3 > /proc/sys/vm/drop_caches; dd if=oktempfile of=/dev/null bs=1M count=1024 ; rm -f oktempfile
sudo hdparm -Tt /dev/sda
twix@twixed ~ sync; dd if=/dev/zero of=oktempfile bs=1M count=1024; sync ; echo 3 > /proc/sys/vm/drop_caches; dd if=oktempfile of=/dev/null bs=1M count=1024 ; rm -f oktempfile 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 0.557555 s, 1.9 GB/s zsh: permission denied: /proc/sys/vm/drop_caches 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 0.144089 s, 7.5 GB/s
twix@twixed ~ sudo hdparm -Tt /dev/sda /dev/sda: Timing cached reads: 18540 MB in 2.00 seconds = 9278.00 MB/sec Timing buffered disk reads: 428 MB in 3.00 seconds = 142.43 MB/sec
root@video:/mnt/fc0162bb-bd5f-45a3-8ec7-6326ad5427fd# sync; dd if=/dev/zero of=oktempfile bs=1M count=1024; sync ; echo 3 > /proc/sys/vm/drop_caches; dd if=oktempfile of=/dev/null bs=1M count=1024 ; rm -f oktempfile 1024+0 records in 1024+0 records out 1073741824 bytes (1,1 GB) copied, 0,683376 s, 1,6 GB/s 1024+0 records in 1024+0 records out 1073741824 bytes (1,1 GB) copied, 5,18899 s, 207 MB/s
/dev/sdb: Timing cached reads: 19828 MB in 2.00 seconds = 9924.10 MB/sec Timing buffered disk reads: 608 MB in 3.00 seconds = 202.35 MB/sec
10240+0 records in 10240+0 records out 10737418240 bytes (11 GB) copied, 44,1081 s, 243 MB/s 10240+0 records in 10240+0 records out 10737418240 bytes (11 GB) copied, 70,0589 s, 153 MB/s