易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 654|回复: 0
收起左侧

磁盘读写测试

[复制链接]
发表于 2022-6-16 11:12:02 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
[root@testssd ~]# for i in {1..5}; do dd if=/dev/zero of=/tmp/test1 bs=1M count=1000; done
; l$ i9 A/ t$ h" D2 c: v1000+0 records in
( W, z. y) |& m5 r1000+0 records out1 N+ h8 D) O- k* H$ R; l) X
1048576000 bytes (1.0 GB) copied, 6.32163 s, 166 MB/s
; t$ o6 `$ s& Z" w1000+0 records in" e3 J; ^7 ^/ X2 Z" c
1000+0 records out2 L4 r) g/ F0 [+ o' y; z* y
1048576000 bytes (1.0 GB) copied, 5.44758 s, 192 MB/s# m* y: ?- p: M9 L; S* c
1000+0 records in
! X5 O! [* L# I/ Y4 v; V& _1000+0 records out
5 z/ A4 H: M, D4 C! f1048576000 bytes (1.0 GB) copied, 6.76302 s, 155 MB/s3 k7 m; \9 `* e( q' }3 V2 j& `
1000+0 records in
% k2 j* [1 \% w1000+0 records out8 s5 G& S" L0 J
1048576000 bytes (1.0 GB) copied, 9.26751 s, 113 MB/s
$ d( W% \, _1 J! u" Y1000+0 records in% j0 |4 q7 S3 z2 }! j
1000+0 records out
3 ^& Z6 S4 z* v1 E; w) f1048576000 bytes (1.0 GB) copied, 8.68525 s, 121 MB/s5 i8 J/ Y7 B! ]# r1 [4 j
[root@testssd ~]# for i in {1..5}; do dd if=/dev/zero of=/nfstest/test1 bs=1M count=1000; done
% _8 q3 ?2 i0 _# p' Pdd: failed to open ‘/nfstest/test1’: No such file or directory4 s6 n* Y/ {3 ]; a/ U. b) m
dd: failed to open ‘/nfstest/test1’: No such file or directory/ n5 Q, R& y6 R1 e/ l6 B( I
dd: failed to open ‘/nfstest/test1’: No such file or directory
8 d/ V; Q$ R# Q9 O0 j% mdd: failed to open ‘/nfstest/test1’: No such file or directory
0 X  a/ p: q. A5 h* x" Y" \5 Jdd: failed to open ‘/nfstest/test1’: No such file or directory
4 a: a8 R: O! z8 K' m0 C% m[root@testssd ~]#  mkdir /nfstest/ _# e! }5 D: s, @) k
[root@testssd ~]# for i in {1..5}; do dd if=/dev/zero of=/nfstest/test1 bs=1M count=1000; done
1 l* m  g/ ?! w$ E1 D! e1000+0 records in/ `: S: ^7 ]9 b7 ]) P& p) f, t
1000+0 records out
  h1 q' A: _* B7 [7 a1048576000 bytes (1.0 GB) copied, 10.9929 s, 95.4 MB/s* M; }! u  E$ L+ l; I0 L; M
1000+0 records in
. {8 m: _8 |$ G' }: u2 P1000+0 records out
* Y+ ~  h- r4 `+ M! b1048576000 bytes (1.0 GB) copied, 9.55931 s, 110 MB/s
0 F# R" m. p' P5 G! ?  q3 J( [1000+0 records in2 Q) |/ x1 ?' [/ A7 Z
1000+0 records out, D; l, {, M3 }& `6 |8 M% p8 g. \4 W2 D
1048576000 bytes (1.0 GB) copied, 10.4851 s, 100 MB/s
' h! C+ \6 F" H$ C$ S7 }; _# Q1000+0 records in  ?" W3 n6 K0 D0 M9 F. W
1000+0 records out
, j- d4 k6 k1 ^9 d" P5 U1048576000 bytes (1.0 GB) copied, 10.3672 s, 101 MB/s
& I7 G6 b7 r& q- I5 f9 u6 w1000+0 records in7 W  a0 Z* u1 W; N: q7 G
1000+0 records out
6 e, b+ [+ i  R* x, B! S+ [1048576000 bytes (1.0 GB) copied, 10.7387 s, 97.6 MB/s
, B- i! ?1 _0 e5 l) ^  p8 l[root@testssd ~]# for i in {1..5}; do dd if=/dev/zero of=/tmp/test1 bs=1M count=1000 iflag=direct; done6 x% @" }+ W' ^6 {
dd: failed to open ‘/dev/zero’: Invalid argument7 b, {' t% X) Y
dd: failed to open ‘/dev/zero’: Invalid argument  ^& J' a- ]& z0 S  G2 i) J; ]% v
dd: failed to open ‘/dev/zero’: Invalid argument
, M) ~& F$ X& F! Zdd: failed to open ‘/dev/zero’: Invalid argument1 N( t, Q; Z3 V+ \
dd: failed to open ‘/dev/zero’: Invalid argument9 _+ k+ w( L: j) I# \
[root@testssd ~]# for i in {1..5}; do dd of=/dev/null if=/tmp/test1 bs=1M count=1000; done; H/ o, N' a. b7 h# f, d9 U: Z
1000+0 records in) I" z  `, I6 J( [. c" I" _5 ~7 l
1000+0 records out& H4 C) ?. g/ e* J+ R* q" X# }
1048576000 bytes (1.0 GB) copied, 1.56524 s, 670 MB/s9 C7 M: D8 Q6 P8 D% ?
1000+0 records in8 U4 P8 Q; m6 a0 U
1000+0 records out
. E2 r* L+ k. \: I& A1048576000 bytes (1.0 GB) copied, 0.17828 s, 5.9 GB/s
. F: P9 ~  h3 t  A- Q1000+0 records in$ G- S* }; V3 f
1000+0 records out- H9 v# [0 R" O& {( k
1048576000 bytes (1.0 GB) copied, 0.196089 s, 5.3 GB/s
% u9 a# N7 G3 c3 T) O: q1000+0 records in8 o' U# U- V$ w- {. p9 ~  P/ O
1000+0 records out
1 n  e6 C7 F6 V5 I1048576000 bytes (1.0 GB) copied, 0.590726 s, 1.8 GB/s  }( O, A0 s. G# w) @' \4 C1 E  w
1000+0 records in
; X% g; J) X# }2 q" D) }1000+0 records out# ^) A9 O4 T2 f* f& h
1048576000 bytes (1.0 GB) copied, 0.219955 s, 4.8 GB/s
, B: P8 h+ N+ g) i2 F[root@testssd ~]#
3 P1 R  z' @/ c: _: U" ~% M% u
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-9 00:02 , Processed in 0.049149 second(s), 25 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

快速回复 返回顶部 返回列表