Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

DD testing disk read-write performance

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Test the write-only performance of the disk dd if=/dev/zero of=/file

[oracle@11g ~] $touch ddTest

[oracle@11g ~] $time dd if=/dev/zero of=/home/oracle/ddTest bs=1k count=1024

1024000 records in

1024000 records out

1048576 bytes (1.0 MB) copied, 0.0261858 s, 40.0 MB/s

Real 0m0.029s

User 0m0.009s

Sys 0m0.017s

[oracle@11g ~] $du-h ddTest

1.0M ddTest

2. Test the pure read performance of the disk dd if=/file of=/dev/null

[oracle@11g ~] $time dd if=/dev/ Zero ^ CF = / home/oracle/ddTest bs=1k count=1024

[oracle@11g ~] $touch test1

[oracle@11g ~] $time dd if=/home/oracle/test1 of=/dev/null bs=1k count=1024

0500 records in

0500 records out

0 bytes (0 B) copied, 0.000124694 s, 0.0 kB/s

Real 0m0.001s

User 0m0.000s

Sys 0m0.000s

[oracle@11g] $du-h / home/oracle/test1

0 / home/oracle/test1

3. Test the read and write performance of the disk dd if=/file1 of=/file2

[oracle@11g ~] $time dd if=/home/oracle/test1 of=/home/oracle/test bs=1k count=1024

0500 records in

0500 records out

0 bytes (0 B) copied, 0.000124904 s, 0.0 kB/s

Real 0m0.002s

User 0m0.001s

Sys 0m0.000s

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 293

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report