zfs - ufs - ein kleiner Vergleich

From: Stefan Huerter <maulwurf(at)guckux.de>
Date: Sun, 03 Feb 2008 14:06:07 +0000

Guckux

Gegeben ist ein PC mit Q6600 / 4GB Ram, FreeBSD 7-STABLE 64Bit.
kern.max_vnodes wurden auf 400.000 gesetzt.

angeschlossen 2 SATA Seagate Barracuda 7200.11 (7200/32MB/SATA-300) am ICH8.

Mir aufgefallen:
- Das Schreiben unter ZFS ist "lahm"
- Das Lesen ist "viel Schneller"
- bei Random Zugriffen punktet ZFS "gigantisch"
- Die Latency ist "durchweg" höher...

Da mich einige features von ZFS doch recht "stark anmachen" - werde ich es trotzdem verwenden ;-)))
http://wiki.freebsd.org/ZFSQuickStartGuide

any comments?

folgende Benchmarks habe ich mit bonnie bekommen:

single-Platte mit Standard UFS:
Version 1.93c ------Sequential Output------ --Sequential Input- --Random-
Concurrency 1 -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
whisky 8G 510 99 96072 20 29112 9 832 98 100568 17 154.5 5
Latency 16278us 239ms 451ms 28571us 63372us 149ms

Version 1.93c ------Sequential Create------ --------Random Create--------
whisky -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
                 16 733 4 +++++ +++ 2786 10 753 4 +++++ +++ 1289 5
Latency 29609us 19us 32355us 24347us 22us 63376us

1.93c,1.93c,whisky,1,1201889858,8G,,510,99,96072,20,29112,9,832,98,100568,17,154
.5,5,16,,,,,733,4,+++++,+++,2786,10,753,4,+++++,+++,1289,5,16278us,239ms,451ms,2
8571us,63372us,149ms,29609us,19us,32355us,24347us,22us,63376us

Beide Platten unter ZFS - RAID0
Version 1.93c ------Sequential Output------ --Sequential Input- --Random-
Concurrency 1 -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
whisky 8G 114 98 66459 19 83167 23 265 99 204257 26 178.2 6
Latency 110ms 4866ms 1756ms 99112us 442ms 1161ms

Version 1.93c ------Sequential Create------ --------Random Create--------
whisky -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
                 16 19383 86 +++++ +++ 18029 97 9298 41 +++++ +++ 18455 98
Latency 22467us 196us 5007us 6196us 73us 128us

1.93c,1.93c,whisky,1,1201892318,8G,,114,98,66459,19,83167,23,265,99,204257,26,17
8.2,6,16,,,,,19383,86,+++++,+++,18029,97,9298,41,+++++,+++,18455,98,110ms,4866ms
,1756ms,99112us,442ms,1161ms,22467us,196us,5007us,6196us,73us,128us

Beide Platten unter geom-stripe - RAID0 - "newfs -i 65536 -m 5 -o time"
Version 1.93c ------Sequential Output------ --Sequential Input- --Random-
Concurrency 1 -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
whisky 8G 509 99 177578 34 39736 12 842 99 151876 25 245.8 9
Latency 16324us 312ms 170ms 20425us 37450us 1260ms
Version 1.93c ------Sequential Create------ --------Random Create--------
whisky -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
                 16 905 4 +++++ +++ 2753 9 939 4 +++++ +++ 1719 5
Latency 43099us 25us 19479us 60642us 21us 5070us

1.93c,1.93c,whisky,1,1202043570,8G,,509,99,177578,34,39736,12,842,99,151876,25,2
45.8,9,16,,,,,905,4,+++++,+++,2753,9,939,4,+++++,+++,1719,5,16324us,312ms,170ms,
20425us,37450us,1260ms,43099us,25us,19479us,60642us,21us,5070us

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sun 03 Feb 2008 - 14:06:40 CET

search this site