Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2009 19:33:15 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-geom@freebsd.org
Subject:   Re: gjournal+gstripe+gmirror question
Message-ID:  <gv4398$kkf$1@ger.gmane.org>
In-Reply-To: <B1D3FED7-AC64-453A-99AE-A6C8F6CCC8F3@gmail.com>
References:  <B1D3FED7-AC64-453A-99AE-A6C8F6CCC8F3@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig32B150921B8278834934ECCB
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Alexei Troussov wrote:
> Hello All,
>=20
> I decided to build multi-terabyte data storage (file server) using 4 x
> 1Tb disks. No special raid controller is used, FreeBSD 7.1 is running o=
n
> another disk, so the disk array is going to be used for file storage on=
ly.
> So, I tried several combinations of gmirror/gstripe and put gjournal on=
 it:
>=20
> 1) two mirrors and stripe on them

This is RAID 10

> 2) two stripes and mirror on them

This is RAID 01. It is slightly worse because if one drive fails, no
other drive must be allowed to fail. In the RAID10 case, each drive from
the mirrored sets can fail.

> Both configurations gave excellent I/O speed (around 100Mb/sec), and I

You should get better - the total performance should be near or even
slightly above 2-drive striped (RAID-0) configuration. Modern drives
have sequential performance between 60 MB/s and 80 MB/s so you should be
getting between 120 MB/s and 160 MB/s.

> chose the first one as it needs less time to resync disks when one of
> the mirrors fails. To make picture more complete, I didn't try graid3
> because it seems to load CPU more than configs above, which is not good=

> for my barebone :)

Correct.

> Now when my top-level gstripe gets "gjournal"-ed, I see relatively poor=

> write speed around 20-30 Mb/sec.
> As far as I understand from man gjournal and some posts here,
> performance usually drops about 40-50%, but what I have is much worse..=
=2E
>=20
> Are there a better way to configure/tune the whole thing?
> Thanks in advance!
>=20
> PS Here is my current playground config:

> Stripesize: 131072

Try a stripe size of 16 kB.


--------------enig32B150921B8278834934ECCB
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoVkGIACgkQldnAQVacBcgBoACg16Xn+MqSpMh0+bbw3CFwseMv
wRwAn1Wgd5dB6R+ILxwLtbDtk30rhWPW
=EVfG
-----END PGP SIGNATURE-----

--------------enig32B150921B8278834934ECCB--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gv4398$kkf$1>