【读写测试】V100 vs P40

本文详细介绍了如何使用Linux下的dd命令进行硬盘读写速度的测试。通过不同的块大小(bs)参数设置,如4k、8k、1M,对比了V100和P40两种型号的硬盘读写性能,展示了不同条件下的读写速度,最高可达3.4GB/s。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Linux 中用 dd 命令来测试硬盘读写速度

bs=4k

time dd if=0300_r2_v.bmp of=/dev/null bs=4k

V100

657+1 records in
657+1 records out
2693878 bytes (2.7 MB) copied, 0.00119652 s, 2.3 GB/s
dd  of=/dev/null bs=4k  0.00s user 0.00s system 0% cpu 0.042 total

P40

657+1 records in
657+1 records out
2693878 bytes (2.7 MB) copied, 0.000802687 s, 3.4 GB/s
real    0m0.009s
user    0m0.000s
sys     0m0.000s

  • 读取速度
dd if=0300_r2_v.bmp of=/dev/null bs=4k

P40

657+1 records in
657+1 records out
2693878 bytes (2.7 MB) copied, 0.00109334 s, 2.5 GB/s

V100

657+1 records in
657+1 records out
2693878 bytes (2.7 MB) copied, 0.00101956 s, 2.6 GB/s

V100-cq

dd if=0300_r2_v.bmp of=/dev/null bs=4k count=10000
657+1 records in
657+1 records out
2693878 bytes (2.7 MB) copied, 0.00136768 s, 2.6 GB/s

bs=1M

time dd if=0300_r2_v.bmp of=/dev/null bs=1M

V100

2+1 records in
2+1 records out
2693878 bytes (2.7 MB) copied, 0.00205349 s, 1.3 GB/s
dd  of=/dev/null bs=1M  0.00s user 0.00s system 0% cpu 0.104 total

p40

2+1 records in
2+1 records out
2693878 bytes (2.7 MB) copied, 0.00165216 s, 1.6 GB/s

V100-cp

time dd if=0300_r2_v.bmp of=/dev/null bs=1M count=10000
2+1 records in
2+1 records out
2693878 bytes (2.7 MB) copied, 0.000999968 s, 2.7 GB/s

bs=8k

dd if=0300_r2_v.bmp of=/dev/null bs=8k count=10000 iflag=direct

P40

328+1 records in
328+1 records out
2693878 bytes (2.7 MB) copied, 0.310059 s, 8.7 MB/s

V100

328+1 records in
328+1 records out
2693878 bytes (2.7 MB) copied, 2.27056 s, 1.2 MB/s

V100-cq

dd if=0300_r2_v.bmp of=/dev/null bs=8k count=10000 iflag=direct
328+1 records in
328+1 records out
2693878 bytes (2.7 MB) copied, 8.83697 s, 305 kB/s
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值