Answer the question
In order to leave comments, you need to log in
Why does raid1 slow down?
There is a server (core-i7 4 core + ht, 16GB ram) on which 2 Toshiba hdds (DT01ACA300; SATA 3.0, 6.0 Gb/s; 3TB) are combined into software raid1.
The server has ubuntu 14.10 x64 and mysql 5.5 installed.
I do:
mysql> load data infile '/home/evgeny/file1.csv' into table testtable fields terminated by ';'
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sda 1.00 7.50 3.50 39.00 576.00 4988.00 261.84 1.22 28.80 78.86 24.31 21.22 90.20
Answer the question
In order to leave comments, you need to log in
Eugene Evgenx :
10737418240 bytes (11 GB) copied, 306.82 s, 35.0 MB/s
dd if=/dev/zero of=tempfile bs=1M count=10240 oflag=dsync
more details https://romanrm.net/dd-benchmarkcat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 sda3[0] sdb3[1]
1936077760 blocks super 1.2 [2/2] [UU]
dd if=/dev/zero of=tempfile bs=1M count=10240
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB) copied, 38.7747 s, 277 MB/s
dd if=/dev/zero of=tempfile bs=1M count=10240 conv=fdatasync
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB) copied, 88.2362 s, 122 MB/s
dd if=/dev/zero of=tempfile bs=1M count=10240 oflag=dsync
10240+0 records in
10240+0 records out
10737418240 bytes (11 GB) copied, 105.152 s, 102 MB/s
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question