Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RAID 5 mit 6 Platten langsamer als mit 4. [erledigt]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
root_tux_linux
l33t
l33t


Joined: 21 Dec 2003
Posts: 935

PostPosted: Fri Mar 18, 2011 6:38 am    Post subject: RAID 5 mit 6 Platten langsamer als mit 4. [erledigt] Reply with quote

Kleine Frage

Ist das normal das ein RAID 5 (mdadm) mit 6 Platten langsamer ist als mit 4?

hdparm -Tt zeigt mir bei 4 Platten gute 220MB/s an und bei 6 Platten 180MB/s.


Die 6 Platten sind jeweils identisch und alle gleich schnell.
_________________
AMD Phenom II X6 1090T BE, ASUS M3N-HT Deluxe, EVGA GTX 260 SSC, 8GB Corsair DDR2 1066Mhz | Gentoo x86_64
Intel Atom N330, Point Of View ION, Nvidia ION (GF 9400), 4GB Corsair SO-DDR2 667Mhz | Gentoo x86_64
HP Pavilion DV7-4050ez | Gentoo x86_64


Last edited by root_tux_linux on Sun Apr 17, 2011 5:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
tazinblack
l33t
l33t


Joined: 23 Jan 2005
Posts: 818
Location: Baden / Germany

PostPosted: Sun Mar 20, 2011 3:30 pm    Post subject: Reply with quote

Das verwundert mich jetzt?!?
Bricht da die CPU ein bei 6 Platten (evtl. nur auf einem Core)?
_________________
Gruß
tazinblack
_______________________________________________________
Laptop: Son olles Ding, steht Samsung drauf. Desktop: Ein altes Gehäuse aus der Pentium 2 Zeit, Inhalt fragwürdig. Sound: Manchmal macht der CPU Lüfter Krach
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1365
Location: Berlin/Germany

PostPosted: Mon Mar 21, 2011 7:59 am    Post subject: Reply with quote

Hi,

Welcher der beiden Werte von -tT ist das denn genau?

Normalerweise sollte die Ausgabe ja zwei Werte rüber reichen:

Code:

root@zeus:~# hdparm -tT /dev/md0

/dev/md0:
 Timing cached reads:   2106 MB in  2.00 seconds = 1053.27 MB/sec
 Timing buffered disk reads:  346 MB in  3.01 seconds = 114.80 MB/sec
root@zeus:~#


MfG. Stefan
_________________
1st: C2D 3GHz, 8GB, 750GB + 2x750GB RAID1, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 320GB, HD3000
4th: Athlon X2 Be-2300, 4GB, 64GB SSD + 3x1TB RAID5 GF7025
5th: Samung N350, 2GB, 250GB, HD3150
Back to top
View user's profile Send private message
root_tux_linux
l33t
l33t


Joined: 21 Dec 2003
Posts: 935

PostPosted: Tue Mar 22, 2011 11:28 pm    Post subject: Reply with quote

@tazinblack

Die CPU bricht nicht ein, ist aber auch kaum belastet mit 6%.

@bbgermany

Das wäre "Timing buffered disk reads" der mit 6 Platen schlechter ist als mit 4



Seit mein System nicht mehr auf dem RAID5 ist, ist das ganze 20MB/s schneller, aber immer noch langsamer als mit 4 Platten (da war auch das System drauf und hatte 220MB/s).

Laut dem was ich gelesen hab sollte doch ein RAID 5 schneller werden je mehr Platten daran hängen zumindest beim lesen.


Infos:
Code:
/dev/md0:
 Timing cached reads:   4800 MB in  2.00 seconds = 2400.67 MB/sec
 Timing buffered disk reads: 612 MB in  3.00 seconds = 203.96 MB/sec




Werte der Platten schwankt je nach Durchlauf +/- 20MB/s
Code:
gentoo ~ # for i in "/dev/sd[b-g]"; do hdparm -Tt $i; done;

/dev/sdb:
 Timing cached reads:   3094 MB in  2.00 seconds = 1546.47 MB/sec
 Timing buffered disk reads: 258 MB in  3.02 seconds =  85.45 MB/sec

/dev/sdc:
 Timing cached reads:   3076 MB in  2.00 seconds = 1537.04 MB/sec
 Timing buffered disk reads: 236 MB in  3.02 seconds =  78.24 MB/sec

/dev/sdd:
 Timing cached reads:   3134 MB in  2.00 seconds = 1566.96 MB/sec
 Timing buffered disk reads: 322 MB in  3.01 seconds = 106.96 MB/sec

/dev/sde:
 Timing cached reads:   3018 MB in  2.00 seconds = 1508.87 MB/sec
 Timing buffered disk reads: 248 MB in  3.01 seconds =  82.41 MB/sec

/dev/sdf:
 Timing cached reads:   3080 MB in  2.00 seconds = 1539.95 MB/sec
 Timing buffered disk reads: 334 MB in  3.00 seconds = 111.18 MB/sec

/dev/sdg:
 Timing cached reads:   3010 MB in  2.00 seconds = 1504.97 MB/sec
 Timing buffered disk reads: 332 MB in  3.01 seconds = 110.18 MB/sec

_________________
AMD Phenom II X6 1090T BE, ASUS M3N-HT Deluxe, EVGA GTX 260 SSC, 8GB Corsair DDR2 1066Mhz | Gentoo x86_64
Intel Atom N330, Point Of View ION, Nvidia ION (GF 9400), 4GB Corsair SO-DDR2 667Mhz | Gentoo x86_64
HP Pavilion DV7-4050ez | Gentoo x86_64
Back to top
View user's profile Send private message
py-ro
Veteran
Veteran


Joined: 24 Sep 2002
Posts: 1123
Location: St. Wendel

PostPosted: Tue Mar 22, 2011 11:36 pm    Post subject: Reply with quote

Eine Erklärung dazu:

http://www.linuxquestions.org/questions/linux-software-2/raid-5-with-even-number-of-drives-gives-bad-write-performance-why-840866/

Py
Back to top
View user's profile Send private message
root_tux_linux
l33t
l33t


Joined: 21 Dec 2003
Posts: 935

PostPosted: Wed Mar 23, 2011 9:00 pm    Post subject: Reply with quote

py-ro wrote:
Eine Erklärung dazu:

http://www.linuxquestions.org/questions/linux-software-2/raid-5-with-even-number-of-drives-gives-bad-write-performance-why-840866/

Py



Da gehts aber um die write und nicht read performance.
_________________
AMD Phenom II X6 1090T BE, ASUS M3N-HT Deluxe, EVGA GTX 260 SSC, 8GB Corsair DDR2 1066Mhz | Gentoo x86_64
Intel Atom N330, Point Of View ION, Nvidia ION (GF 9400), 4GB Corsair SO-DDR2 667Mhz | Gentoo x86_64
HP Pavilion DV7-4050ez | Gentoo x86_64
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1365
Location: Berlin/Germany

PostPosted: Thu Mar 24, 2011 7:21 am    Post subject: Reply with quote

Ok,

dann beginnen wir einfach nochmal von vorn ;)

1. Was für ein Controller?
2. Hängt die OS Platte mit dran? Wenn ja, ist das OS mit auf dem RAID?
3. Was für Platten sind das genau? (z.B. Wie groß is der Plattencache? Hersteller?)

MfG. Stefan
_________________
1st: C2D 3GHz, 8GB, 750GB + 2x750GB RAID1, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 320GB, HD3000
4th: Athlon X2 Be-2300, 4GB, 64GB SSD + 3x1TB RAID5 GF7025
5th: Samung N350, 2GB, 250GB, HD3150
Back to top
View user's profile Send private message
root_tux_linux
l33t
l33t


Joined: 21 Dec 2003
Posts: 935

PostPosted: Thu Mar 24, 2011 8:02 pm    Post subject: Reply with quote

bbgermany wrote:
Ok,

dann beginnen wir einfach nochmal von vorn ;)

1. Was für ein Controller?


Wurde schon beantwortet ---> MDADM ---> Software RAID ---> Nix RAID Controller
Quote:


2. Hängt die OS Platte mit dran? Wenn ja, ist das OS mit auf dem RAID?


Wurde schon beantwortet

System auf dem RAID ---> 180MB/s (6 Platten) bzw 220MB/s (4 Platten).
Ohne System auf dem RAID ---> 200MB/s (6 Platten) bzw 240MB/s (4 Platten)

Quote:

3. Was für Platten sind das genau? (z.B. Wie groß is der Plattencache? Hersteller?)


6x Samsung SpinPoint F4 320GB / 16MB Cache / 7200RPM
_________________
AMD Phenom II X6 1090T BE, ASUS M3N-HT Deluxe, EVGA GTX 260 SSC, 8GB Corsair DDR2 1066Mhz | Gentoo x86_64
Intel Atom N330, Point Of View ION, Nvidia ION (GF 9400), 4GB Corsair SO-DDR2 667Mhz | Gentoo x86_64
HP Pavilion DV7-4050ez | Gentoo x86_64
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1365
Location: Berlin/Germany

PostPosted: Mon Apr 04, 2011 8:22 am    Post subject: Reply with quote

Hi,

ich habe nicht danach gefragt, was es für ein "RAID Controller" ist, sondern von welchem Hersteller der Controller ist, an dem die Platten hängen. (Intel, NVidia...?). Einige Controller skalieren einfach schlecht, vor allem, wenn viel Datenverkehr durchgehen soll. Mehr Platten am selben Controller bedeutet mehr Overhead in der Verteilung der Daten, die zu Performanceeinbußen führt.

BTW, wenn der Platten-Cache groß ist, versucht er vieles von dort erst zu lesen, vor allem bei hdparm. Hast du mal einen realistischeren Test wie bonnie oder dd versucht?

MfG. Stefan
_________________
1st: C2D 3GHz, 8GB, 750GB + 2x750GB RAID1, HD4850
2nd: Celeron 2.6GHz, 2GB, 500GB, HD4350
3rd: TP X220, 2,5GHz, 8GB, 320GB, HD3000
4th: Athlon X2 Be-2300, 4GB, 64GB SSD + 3x1TB RAID5 GF7025
5th: Samung N350, 2GB, 250GB, HD3150
Back to top
View user's profile Send private message
root_tux_linux
l33t
l33t


Joined: 21 Dec 2003
Posts: 935

PostPosted: Mon Apr 11, 2011 9:58 pm    Post subject: Reply with quote

bbgermany wrote:
Hi,

ich habe nicht danach gefragt, was es für ein "RAID Controller" ist, sondern von welchem Hersteller der Controller ist, an dem die Platten hängen. (Intel, NVidia...?). Einige Controller skalieren einfach schlecht, vor allem, wenn viel Datenverkehr durchgehen soll. Mehr Platten am selben Controller bedeutet mehr Overhead in der Verteilung der Daten, die zu Performanceeinbußen führt.

BTW, wenn der Platten-Cache groß ist, versucht er vieles von dort erst zu lesen, vor allem bei hdparm. Hast du mal einen realistischeren Test wie bonnie oder dd versucht?

MfG. Stefan



Achso, Nvidia bzw nForce 780a.

DD lahmt auch :/
_________________
AMD Phenom II X6 1090T BE, ASUS M3N-HT Deluxe, EVGA GTX 260 SSC, 8GB Corsair DDR2 1066Mhz | Gentoo x86_64
Intel Atom N330, Point Of View ION, Nvidia ION (GF 9400), 4GB Corsair SO-DDR2 667Mhz | Gentoo x86_64
HP Pavilion DV7-4050ez | Gentoo x86_64
Back to top
View user's profile Send private message
Qubit
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2002
Posts: 136
Location: /dev/urandom

PostPosted: Tue Apr 12, 2011 8:56 pm    Post subject: Reply with quote

Hi,

wie wärs mit einem Raid10 aus entweder 4 (+HotSpare) o. 6 Disks?

Gruß Daniel
_________________
©Qubit
Back to top
View user's profile Send private message
root_tux_linux
l33t
l33t


Joined: 21 Dec 2003
Posts: 935

PostPosted: Sun Apr 17, 2011 5:54 pm    Post subject: Reply with quote

Qubit wrote:
Hi,

wie wärs mit einem Raid10 aus entweder 4 (+HotSpare) o. 6 Disks?

Gruß Daniel



Daran hatte ich auch schon gedacht nur geht dann zuviel Speicher flöten :/


Naja egal ich setz mal solved :)
_________________
AMD Phenom II X6 1090T BE, ASUS M3N-HT Deluxe, EVGA GTX 260 SSC, 8GB Corsair DDR2 1066Mhz | Gentoo x86_64
Intel Atom N330, Point Of View ION, Nvidia ION (GF 9400), 4GB Corsair SO-DDR2 667Mhz | Gentoo x86_64
HP Pavilion DV7-4050ez | Gentoo x86_64
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum