[linux-l] Software-Raid Fragen
Soeren Sonnenburg
linux at nn7.de
Di Sep 16 21:23:47 CEST 2003
On Tue, 2003-09-16 at 15:17, Robert Sander wrote:
> On Tue, 16 Sep 2003 13:06:03 +0000 (UTC),
> Peter Ross <Peter.Ross at alumni.tu-berlin.de> wrote:
> > On Tue, 16 Sep 2003, Soeren Sonnenburg wrote:
> >
> >> aber wenn du willst kann ich gerne mal einen benchmark machen.. womit
> >> soll ich einen load von 10 erzeugen ?
> >
> > Bei mir waren das vorallem schoen viele mySQL-Zugriffe. War wirklich "real
> > world", mit gleichzeitigen selects und Updates, auch mit Indizes, auf
> > verschiedene Tabellen.
> >
> > Ich weiss nicht, ob Du das auch hinbekommst. Vielleicht klappt's ja.
> >
> > Wenn nicht, koente ich mir vorstellen, dass Du mit begrenzt-rekursiven
> > perl-Interpreter-Starts das hinkriegst. Mit perl kriegt man eigentlich
> > jede Kiste zum Stillstand, wenn man nur "dumm" genug programmiert;-)
>
> Naja, man kann aber auch tbench und dbench nehmen. Oder bonnie++
ok, der rechner ist ein athlonxp 2.4GHz+ der untertaktet auf 1.0Ghz
laeuft (bus auch leicht untertaktet) spart ne menge strom/kuehlung und
ist ehh schnell genug. ide controller ist der im asus a7v8x sesshafte
via chipsatz, sowie 2 dawicontrol dc-100 (hpt 370). platten sind eine
bunte mischung aus 3x80G (maxtor) und 2x160G (wdc)... die wdc sind
schnell (so um die 40M/s, die maxtor platten sind reichlich alt, kaum
eine sollte >>20M/s schaffen). leider ist das raid5 bis zum rand voll
und ich kann es nur mit 2 bonnie prozessen ausprobieren... ausserdem
duerfte das die performance ganz schoen runter druecken. filesystem ist
reiserfs kern 2.4.22rc2 gepatcht so dass reiserfs auch den data ordered
mode nimmt.
die tests:
1. bonnie standard (ein prozess)
2. bonnie zwei prozess die immer alles gleichzeitig tun ( -p2 und dann
-y)
3. bonnie mit -b (kein write buffer,immer dir/fsync)
bonnie++ sagt:
/usr/sbin/bonnie++ -d ./ -f
Writing intelligently...done
Rewriting...done
Reading intelligently...done
start 'em...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.03 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
machine 2G 22984 24 12793 11 46450 27 259.2 1
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 3305 26 +++++ +++ 4508 37 4645 38 +++++ +++ 3382 32
machine,2G,,,22984,24,12793,11,,,46450,27,259.2,1,16,3305,26,+++++,+++,4508,37,4645,38,+++++,+++,3382,32
for i in 1 2; do cd ~/tmp/; mkdir $i ; cd $i && (/usr/sbin/bonnie++ -u sonne -d ./ -f -y &) ; done
Using uid:1000, gid:1000.
Using uid:1000, gid:1000.
Writing intelligently...Writing intelligently...done
done
Rewriting...Rewriting...done
done
Reading intelligently...Reading intelligently...done
done
start 'em...start 'em...done...done...done...
done...done...done...
Create files in sequential order...Create files in sequential order...done.
Stat files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Delete files in sequential order...done.
done.
Create files in random order...Create files in random order...done.
Stat files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Delete files in random order...done.
Version 1.03 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
machine 2G 11401 12 6143 5 24448 13 106.3 0
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 2587 24 +++++ +++ 2814 25 1795 16 +++++ +++ 2314 22
machine,2G,,,11401,12,6143,5,,,24448,13,106.3,0,16,2587,24,+++++,+++,2814,25,1795,16,+++++,+++,2314,22
done.
Version 1.03 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
machine 2G 11315 12 6014 5 24612 14 100.4 0
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 3049 23 +++++ +++ 2813 26 1731 16 +++++ +++ 2162 22
machine,2G,,,11315,12,6014,5,,,24612,14,100.4,0,16,3049,23,+++++,+++,2813,26,1731,16,+++++,+++,2162,22
/usr/sbin/bonnie++ -u sonne -d ./ -f -b
Using uid:1000, gid:1000.
Writing intelligently...done
Rewriting...done
Reading intelligently...done
start 'em...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.03 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
machine 2G 19991 23 21167 18 45660 27 223.5 2
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 30 2 +++++ +++ 30 2 29 2 +++++ +++ 28 2
machine,2G,,,19991,23,21167,18,,,45660,27,223.5,2,16,30,2,+++++,+++,30,2,29,2,+++++,+++,28,2
Soeren.
Mehr Informationen über die Mailingliste linux-l