Time is used for timing. dd is used for copying, reading from if, and writing to. If/dev/zero does not produce IO, so it can be used to test the pure write speed. Similarly, of/dev/null does not generate IO and can be used to test the pure read speed. Bs is the size of each read or write, that is, the size of a block. count is the number of read/write blocks...
Time is used for timing. dd is used for copying, reading from if, and writing to. If =/dev/zero does not produce IO, so it can be used to test the pure write speed. Similarly, of =/dev/null does not generate IO and can be used to test the pure read speed. Bs indicates the size of each read or write, that is, the size of a block. count indicates the number of read/write blocks. 1. test/directory disk write speed: time dd if =/dev/zero bs = 1024 count = 1000000 of =/1 GB. file 2. test/directory disk's pure read speed: www.2cto.com time dd if =/1Gb. file bs = 64 k | dd of =/dev/null 3. read/write speed: time dd if =/1 GB. file of =/data0/2. gb. file bs = 64 k the larger the theoretical copy volume, the more accurate the test. Iloveyin
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.