dd command test read and write speed of disk in linux
Test 64K read speed with system cache
dd if=/dev/zero of=/…/test bs=64k count=100000
Test 64K read speed without system cache
dd if=/dev/zero of=/…/test bs=64k count=100000 oflag=direct
Test 64K write speed with system cache
dd if=/dev/zero of=/…/test bs=64k count=10000
Test 64K write speed without system cache
dd if=/dev/zero of=/…/test bs=8k count=10000 oflag=direct