Sanfeng cloud disk evaluation

Keywords: Linux Ubuntu

Apply for a free virtual host or free ECS address
https://www.sanfengyun.com

write

Test with dd command to write 8k data each time, execute 300000 times, time command shows the time of execution process, generate test.disk file after execution, the size is 2.3G, the following is the write speed of Sanfeng cloud free ECS:

root@ubuntu:~# rm -rf /tmp/test.disk* && date && time dd if=/dev/zero of=/tmp/test.disk bs=8k count=300000
2019 Monday, July 8, 2013:36:05 CST
300000+0 records in
300000+0 records out
2457600000 bytes (2.5 GB, 2.3 GiB) copied, 2.92944 s, 839 MB/s

real    0m2.931s
user    0m0.068s
sys 0m2.328s
root@ubuntu:~# rm -rf /tmp/test.disk* && date && time dd if=/dev/zero of=/tmp/test.disk bs=8k count=300000
2019 Monday, July 8, 2013:36:56 CST
300000+0 records in
300000+0 records out
2457600000 bytes (2.5 GB, 2.3 GiB) copied, 3.95943 s, 621 MB/s

real    0m3.961s
user    0m0.060s
sys 0m2.280s
root@ubuntu:~# rm -rf /tmp/test.disk* && date && time dd if=/dev/zero of=/tmp/test.disk bs=8k count=300000
2019 Monday, July 8, 2013:37:02 CST
300000+0 records in
300000+0 records out
2457600000 bytes (2.5 GB, 2.3 GiB) copied, 2.974 s, 826 MB/s

real    0m2.986s
user    0m0.052s
sys 0m2.340s

read

Use dd command to read test.disk file

root@ubuntu:~# date && time dd if=/tmp/test.disk of=/dev/null bs=8k
2019 Monday, July 8, 2013:45:16 CST
300000+0 records in
300000+0 records out
2457600000 bytes (2.5 GB, 2.3 GiB) copied, 5.8166 s, 423 MB/s

real    0m5.825s
user    0m0.044s
sys 0m0.984s
root@ubuntu:~# date && time dd if=/tmp/test.disk of=/dev/null bs=8k
2019 Monday, July 8, 2013:45:25 CST
300000+0 records in
300000+0 records out
2457600000 bytes (2.5 GB, 2.3 GiB) copied, 6.09449 s, 403 MB/s

real    0m6.097s
user    0m0.024s
sys 0m1.004s
root@ubuntu:~# date && time dd if=/tmp/test.disk of=/dev/null bs=8k
2019 Monday, July 8, 2013:45:32 CST
300000+0 records in
300000+0 records out
2457600000 bytes (2.5 GB, 2.3 GiB) copied, 6.10982 s, 402 MB/s

real    0m6.112s
user    0m0.036s
sys 0m0.992s

read & write

Use the test.disk file with the size of 2.3G just generated from the above test write speed, and copy it to the test.disk1 file to test the speed of disk reading and writing.

root@ubuntu:~# rm -f /tmp/test.disk1 && date && time dd if=/tmp/test.disk of=/tmp/test.disk1 bs=8k
2019 Monday, July 8, 2013:51:52 CST
300000+0 records in
300000+0 records out
2457600000 bytes (2.5 GB, 2.3 GiB) copied, 9.93151 s, 247 MB/s

real    0m9.933s
user    0m0.064s
sys 0m3.116s
root@ubuntu:~# rm -f /tmp/test.disk1 && date && time dd if=/tmp/test.disk of=/tmp/test.disk1 bs=8k
2019 Monday, July 8, 2013:52:11 CST
300000+0 records in
300000+0 records out
2457600000 bytes (2.5 GB, 2.3 GiB) copied, 10.032 s, 245 MB/s

real    0m10.034s
user    0m0.052s
sys 0m3.220s
root@ubuntu:~# rm -f /tmp/test.disk1 && date && time dd if=/tmp/test.disk of=/tmp/test.disk1 bs=8k
2019 Monday, July 8, 2013:52:24 CST
300000+0 records in
300000+0 records out
2457600000 bytes (2.5 GB, 2.3 GiB) copied, 10.5639 s, 233 MB/s

real    0m10.593s
user    0m0.064s
sys 0m3.112s

Posted by tomz0r on Fri, 01 Nov 2019 07:37:58 -0700