易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 655|回复: 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% H/ |  B2 h8 t* O, J3 P
1000+0 records in/ G/ }9 i* M- M& P. H
1000+0 records out/ B! \; e# K/ s( R4 S
1048576000 bytes (1.0 GB) copied, 6.32163 s, 166 MB/s- m5 P! E2 s3 Z5 B5 r; n
1000+0 records in- v- @; l) j# ?1 ~" j* W) t( @3 U
1000+0 records out
  G/ k+ ~; s0 g1048576000 bytes (1.0 GB) copied, 5.44758 s, 192 MB/s
  p7 J; I# O9 v$ ]0 ^) h1000+0 records in7 a9 z; P/ Q0 X. e
1000+0 records out2 n1 @$ @9 H" {4 ]2 \
1048576000 bytes (1.0 GB) copied, 6.76302 s, 155 MB/s! a- G$ d- Q2 v# s; q
1000+0 records in
' T8 c& P# X( @1000+0 records out
+ p% ?5 J# d$ @1 x% \1 W" U6 w1048576000 bytes (1.0 GB) copied, 9.26751 s, 113 MB/s
- y; T- D. a# N1000+0 records in5 k; R" B. i+ d4 u
1000+0 records out
! c# u% }( e3 {- a4 ~1048576000 bytes (1.0 GB) copied, 8.68525 s, 121 MB/s: M3 Z0 L* w- X- w+ A: G8 G, }
[root@testssd ~]# for i in {1..5}; do dd if=/dev/zero of=/nfstest/test1 bs=1M count=1000; done- ~1 y! _) M9 s2 K6 X$ A( m( `: U
dd: failed to open ‘/nfstest/test1’: No such file or directory
9 [5 f: T9 M" `, Z5 K6 l8 @dd: failed to open ‘/nfstest/test1’: No such file or directory
' l& D" ]2 p: r+ X4 |dd: failed to open ‘/nfstest/test1’: No such file or directory
* G3 T. l) O# m, Ydd: failed to open ‘/nfstest/test1’: No such file or directory
3 y/ f! h) X4 _/ hdd: failed to open ‘/nfstest/test1’: No such file or directory
- S' |. C7 j1 Z1 k; v  ]0 I[root@testssd ~]#  mkdir /nfstest, B- z& }- u9 O( D; r
[root@testssd ~]# for i in {1..5}; do dd if=/dev/zero of=/nfstest/test1 bs=1M count=1000; done+ `% H: O3 T: ^  R: f0 S
1000+0 records in
+ ~* U4 b% s! H- \  o1000+0 records out
6 Y, v, }# T5 s0 x) Q9 V1048576000 bytes (1.0 GB) copied, 10.9929 s, 95.4 MB/s
9 E8 H* y; n; _, X' X( M( t/ J1000+0 records in! a$ N1 t' @+ Q) |( z# m( F& o
1000+0 records out
, N4 }1 ^; `& \' l! ?  ]1048576000 bytes (1.0 GB) copied, 9.55931 s, 110 MB/s
& G0 D, }" n/ H1000+0 records in; l9 T! {: _4 w3 j! y' [
1000+0 records out
& N: i) C( U1 ?" B: }! a1048576000 bytes (1.0 GB) copied, 10.4851 s, 100 MB/s# G) E$ ]4 e6 p
1000+0 records in% s( y& U* Q. g) k4 \. O
1000+0 records out$ k8 W% T: G, O
1048576000 bytes (1.0 GB) copied, 10.3672 s, 101 MB/s- a" u* V! A( }( f* t2 O, g
1000+0 records in
% ?* k/ Z- {1 K# t" R4 ?1000+0 records out4 u& J6 r5 \; h9 [' ^& U
1048576000 bytes (1.0 GB) copied, 10.7387 s, 97.6 MB/s4 B+ K' Z5 @. @: _! O2 ?% N% k
[root@testssd ~]# for i in {1..5}; do dd if=/dev/zero of=/tmp/test1 bs=1M count=1000 iflag=direct; done
  i$ k8 U$ s) O4 ?: ~3 a3 F5 Mdd: failed to open ‘/dev/zero’: Invalid argument3 O- @) m: ^! |1 l+ f
dd: failed to open ‘/dev/zero’: Invalid argument  c6 b/ p8 J0 A9 L
dd: failed to open ‘/dev/zero’: Invalid argument
; n  y0 V6 B% C3 _4 @. Z8 o/ fdd: failed to open ‘/dev/zero’: Invalid argument
5 Z9 A" T3 \. n* Sdd: failed to open ‘/dev/zero’: Invalid argument
  `" a9 _1 n, ^3 \[root@testssd ~]# for i in {1..5}; do dd of=/dev/null if=/tmp/test1 bs=1M count=1000; done
! |! x8 e5 P" v; V" l( |1000+0 records in6 e" g' K# o* o$ f; ?. b4 T
1000+0 records out. W  x& J, X2 e3 ^* H+ @) j7 e
1048576000 bytes (1.0 GB) copied, 1.56524 s, 670 MB/s5 O! z4 G/ [" r# }  J
1000+0 records in
( o2 }( F$ R4 C/ s3 z6 t1000+0 records out
8 R  Y1 {8 l+ Y8 G! P0 c1048576000 bytes (1.0 GB) copied, 0.17828 s, 5.9 GB/s9 C0 s: p! Y3 j% d% J4 ?
1000+0 records in
! h/ f6 M* }6 _( O& O0 N' H1000+0 records out
% k& I: O- r5 \0 P2 F) S, \$ U3 A1048576000 bytes (1.0 GB) copied, 0.196089 s, 5.3 GB/s, P4 @) ?! X% V! s9 p3 d( y
1000+0 records in* H& _7 j& K" l, v: s6 _
1000+0 records out1 F+ O  ]; Z( R
1048576000 bytes (1.0 GB) copied, 0.590726 s, 1.8 GB/s: u9 x2 y" o, X, A
1000+0 records in% ^5 k( \: d9 i8 y" D* n0 w
1000+0 records out
2 C% K2 f, g* t7 \0 d4 ^3 Y0 l1048576000 bytes (1.0 GB) copied, 0.219955 s, 4.8 GB/s& q6 L0 ]1 B4 |1 ]3 z
[root@testssd ~]# % ^5 F# t/ x4 @9 J+ Z4 T
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

GMT+8, 2026-4-9 00:03 , Processed in 0.043594 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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