找回密码
 注册
查看: 658|回复: 0

磁盘读写测试

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2022-6-16 11:12:02 | 显示全部楼层 |阅读模式
[root@testssd ~]# for i in {1..5}; do dd if=/dev/zero of=/tmp/test1 bs=1M count=1000; done" b. Y' Z3 P; V3 ?
1000+0 records in  A9 N' H) Q3 v3 z7 ]' `3 m
1000+0 records out7 ?7 d5 i# @4 R6 v
1048576000 bytes (1.0 GB) copied, 6.32163 s, 166 MB/s
6 J# b2 k# {/ E) R! B! j( J6 U1000+0 records in# _. d5 M7 l8 u" T, g( w
1000+0 records out1 t; J$ ]  _5 j' h5 c: v3 @7 K$ O
1048576000 bytes (1.0 GB) copied, 5.44758 s, 192 MB/s
- F0 M. e, f% S$ N1000+0 records in' L7 G" T. ~4 j" k5 I# a2 w/ ?2 V  {
1000+0 records out
4 V, [# |+ u2 M1 B1048576000 bytes (1.0 GB) copied, 6.76302 s, 155 MB/s
2 W* {& h- o( D4 G1000+0 records in2 L# c2 D# K# O% [" }( D
1000+0 records out9 Q; M2 Q# f" W% K1 v% J
1048576000 bytes (1.0 GB) copied, 9.26751 s, 113 MB/s
/ t  e% a& L" G% o1000+0 records in# B* s$ I$ O- W  h' q
1000+0 records out" e6 P) k; p3 C) u( Z
1048576000 bytes (1.0 GB) copied, 8.68525 s, 121 MB/s- v. C$ ?; W, f
[root@testssd ~]# for i in {1..5}; do dd if=/dev/zero of=/nfstest/test1 bs=1M count=1000; done$ y+ k. ]+ l, w! L' B  C/ M
dd: failed to open ‘/nfstest/test1’: No such file or directory
! @: p. f8 e$ Xdd: failed to open ‘/nfstest/test1’: No such file or directory  M* F6 B4 M& q7 [- ]5 X1 Z1 w' f
dd: failed to open ‘/nfstest/test1’: No such file or directory
+ m4 [( e: p4 G  O, C! bdd: failed to open ‘/nfstest/test1’: No such file or directory# z3 j7 D" f( j1 U! \/ K8 C- N
dd: failed to open ‘/nfstest/test1’: No such file or directory
& T, X/ a6 `0 q% f8 W4 I- k[root@testssd ~]#  mkdir /nfstest
  S" J7 V: Z+ J& q' i6 |[root@testssd ~]# for i in {1..5}; do dd if=/dev/zero of=/nfstest/test1 bs=1M count=1000; done$ m! a: `' T5 Y& n
1000+0 records in( {, D3 T4 B$ J0 {
1000+0 records out$ E% u9 K' \8 `/ h1 {: |! u: p
1048576000 bytes (1.0 GB) copied, 10.9929 s, 95.4 MB/s
/ I7 {0 @& V0 e1 V2 V. _) O5 a1000+0 records in/ Y9 m2 v# L* a( g; e+ b& E3 R
1000+0 records out
+ B. |5 }* m2 Z1 h6 ^1048576000 bytes (1.0 GB) copied, 9.55931 s, 110 MB/s
$ E2 r2 A7 b. S2 [% L! N1000+0 records in
; y7 w& J! G8 F1 d, r4 H, Y1000+0 records out
$ a( D0 x" h; l7 z1048576000 bytes (1.0 GB) copied, 10.4851 s, 100 MB/s
9 h* g" l4 v4 Y- _* p4 y# b1000+0 records in8 `; X  v0 E/ i" u9 E! v( E* G
1000+0 records out3 H9 Q, n3 E6 r/ Z1 N  t9 g
1048576000 bytes (1.0 GB) copied, 10.3672 s, 101 MB/s
  z7 ?0 k5 `2 N! ~" k* |8 q2 S7 p8 h1000+0 records in+ y  w7 X2 m( T+ D3 V5 d& I
1000+0 records out, ^* p+ R% E; u( q2 H4 `- _, y2 U
1048576000 bytes (1.0 GB) copied, 10.7387 s, 97.6 MB/s7 R' ]; P  U: l
[root@testssd ~]# for i in {1..5}; do dd if=/dev/zero of=/tmp/test1 bs=1M count=1000 iflag=direct; done' @$ F9 W$ X$ `1 {! ^. h6 j$ }3 B9 D
dd: failed to open ‘/dev/zero’: Invalid argument
- X3 }7 X5 r( rdd: failed to open ‘/dev/zero’: Invalid argument. `! _0 ?8 }. @
dd: failed to open ‘/dev/zero’: Invalid argument% {$ r; \5 L! G$ d+ a. E
dd: failed to open ‘/dev/zero’: Invalid argument
. r. p9 M4 V+ `0 o, j2 m. B* udd: failed to open ‘/dev/zero’: Invalid argument9 t! \& P& r- C  v7 }: b3 D
[root@testssd ~]# for i in {1..5}; do dd of=/dev/null if=/tmp/test1 bs=1M count=1000; done% Y! e: \/ r% D4 X2 p
1000+0 records in0 g# l4 r: A& g$ {  l: A7 a
1000+0 records out3 s! B1 w" B* N1 t2 P4 O
1048576000 bytes (1.0 GB) copied, 1.56524 s, 670 MB/s
$ J0 o" t4 [3 w! D& T1000+0 records in. L" C1 y( I7 B6 K( J
1000+0 records out  z+ E0 G# W" V1 i" H
1048576000 bytes (1.0 GB) copied, 0.17828 s, 5.9 GB/s
4 _4 L+ R2 t2 {1000+0 records in
/ [+ e" I9 y+ ]* H" E1000+0 records out
1 \3 A% q& y! w' m1048576000 bytes (1.0 GB) copied, 0.196089 s, 5.3 GB/s7 r& }4 S! ?' _, v0 `
1000+0 records in
1 ^2 }2 ?% D7 p  \: e2 f$ J1000+0 records out
6 L* l9 ^' ?1 L8 G  y  S1048576000 bytes (1.0 GB) copied, 0.590726 s, 1.8 GB/s
9 V. I: K/ q; V3 w1000+0 records in$ M: ?3 @. w: k5 \# E8 g
1000+0 records out
# q; D$ @, A5 |0 |6 f4 L4 G, `1048576000 bytes (1.0 GB) copied, 0.219955 s, 4.8 GB/s
/ E( Z- I) P! O[root@testssd ~]# - ^& r6 K* u1 w) O5 D3 u$ g
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 01:59 , Processed in 0.022960 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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