J’ai debian squeeze xfce. J’utilise mdadm, /dev/sdc et /dev/sdd, sont mes 2 disques sata pour l’Install de debian et la config raid0. Sinon, 3 autres disques : /dev/sda interne ext4, /dev/sdb interne ext4, /dev/sde externe usb ntfs…
Donc:
/dev/md0 = raid0 /
/dev/md1 = raid0 /home
/dev/sda = ext4 /media/Data1
/dev/sdb = ext4 /media/Data2
/dev/sdc et /dev/sdd = 2 disque sata pour l’install du system et raid0…
/dev/sde = disque externe ntfs
Lecture avec la commande : hdparm -Tt
/dev/md0:
Timing cached reads: 1420 MB in 2.00 seconds = 710.20 MB/sec
Timing buffered disk reads: 226 MB in 3.00 seconds = 75.24 MB/sec
root@debian:/home/libre# hdparm -Tt /dev/md1
/dev/md1:
Timing cached reads: 1410 MB in 2.00 seconds = 705.33 MB/sec
Timing buffered disk reads: 226 MB in 3.01 seconds = 75.19 MB/sec
root@debian:/home/libre# hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads: 1454 MB in 2.00 seconds = 726.64 MB/sec
Timing buffered disk reads: 164 MB in 3.01 seconds = 54.53 MB/sec
root@debian:/home/libre# hdparm -Tt /dev/sdb
/dev/sdb:
Timing cached reads: 1416 MB in 2.00 seconds = 707.60 MB/sec
Timing buffered disk reads: 200 MB in 3.03 seconds = 66.06 MB/sec
root@debian:/home/libre# hdparm -Tt /dev/sdc
/dev/sdc:
Timing cached reads: 1404 MB in 2.00 seconds = 701.61 MB/sec
Timing buffered disk reads: 206 MB in 3.02 seconds = 68.16 MB/sec
root@debian:/home/libre# hdparm -Tt /dev/sdd
/dev/sdd:
Timing cached reads: 1326 MB in 2.00 seconds = 663.08 MB/sec
Timing buffered disk reads: 206 MB in 3.02 seconds = 68.29 MB/sec
root@debian:/home/libre# hdparm -Tt /dev/sde
/dev/sde:
Timing cached reads: 1388 MB in 2.00 seconds = 693.83 MB/sec
Timing buffered disk reads: 92 MB in 3.03 seconds = 30.34 MB/sec
Donc en lecture /dev/md0-1, sont un peu plus rapide…
Écriture avec la commande : dd if=/dev/zero of=/tmp/test.data bs=1M count=1024 conv=fdatasync
libre@debian:~$ dd if=/dev/zero of=/tmp/test.data bs=1M count=1024 conv=fdatasync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 8.3033 s, 129 MB/s
libre@debian:~$ rm -f /tmp/test.dat
libre@debian:~$ dd if=/dev/md0 of=/tmp/test.data bs=1M count=1024 conv=fdatasync
root@debian:/home/libre# dd if=/dev/md0 of=/tmp/test.data bs=1M count=1024 conv=fdatasync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 22.4534 s, 47.8 MB/s
root@debian:/home/libre# dd if=/dev/md1 of=/tmp/test.data bs=1M count=1024 conv=fdatasync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 34.7144 s, 30.9 MB/s
root@debian:/home/libre# dd if=/dev/sda of=/tmp/test.data bs=1M count=1024 conv=fdatasync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 19.1622 s, 56.0 MB/s
root@debian:/home/libre# dd if=/dev/sdb of=/tmp/test.data bs=1M count=1024 conv=fdatasync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 15.9025 s, 67.5 MB/s
root@debian:/home/libre# dd if=/dev/sdc of=/tmp/test.data bs=1M count=1024 conv=fdatasync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 27.4164 s, 39.2 MB/s
root@debian:/home/libre# dd if=/dev/sdd of=/tmp/test.data bs=1M count=1024 conv=fdatasync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 24.6973 s, 43.5 MB/s
root@debian:/home/libre# dd if=/dev/sde of=/tmp/test.data bs=1M count=1024 conv=fdatasync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 35.1688 s, 30.5 MB/s
J’écris plus vite avec /dev/sda-b, qui sont 2 disque normal different en ext4…
/dev/md0-1 qui sont /dev/sdc et /dev/sdd (2 disque sata), sont similaire en performance…
Est-ce qui à quelque chose qui cloche?
Merci de me répondre, même si ça fait bien longtemps que j’ai créer ce fil!!! Occuper à apprendre plus sur gnu/linux 