DD test io, often used, is used to simply test the read and write performance of a directory.
This test environment: your own computer's Ubuntu system ~ Other Unix/linux system can also use DD.
TIPS:DD operation need to think twice, make clear confirm no problem and then operate! Once the direction is reversed the data is gone.
①/var Directory write speed test, write a 800M size iotest file time Test in the/var directory
DD if=/dev/zero of=/var/iotest bs=8k count=102400102400+0in102400 +0 Recordsout838860800 bytes (8393.50779239 MB/
②/var directory read speed test, read the Iotest file time test in the/var directory
DD if=/var/iotest of=/dev/null1638400+0in1638400+0 Records out 838860800 bytes (8394.44191189 mb/s#
③/var directory reading and writing speed comprehensive test, read the Iotest file under the/var directory, write to the Rwtest file in the/var directory.
DD if=/var/iotest of=/var/rwtest1638400+0in1638400+0 Recordsout838860800 bytes (83911.076475.7 mb/s#
Linux demo dd Test IO