Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Mar 2007 20:13:09 +0100
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-stable@freebsd.org
Cc:        freebsd-geom@freebsd.org
Subject:   Re: Some Unix benchmarks for those who are interesed
Message-ID:  <esn2s6$1i9$1@sea.gmane.org>
In-Reply-To: <005b01c760e6$9a798bf0$0c00a8c0@Artem>
References:  <20070306020826.GA18228@nowhere>	<45ECF00D.3070101@samsco.org><20070306050312.GA2437@nowhere><008101c75fcc$210c74a0$0c00a8c0@Artem>	<esk9vq$uhh$1@sea.gmane.org><001a01c7601d$5d635ee0$0c00a8c0@Artem>	<eskka8$adn$1@sea.gmane.org><001801c7603a$5339e020$0c00a8c0@Artem>	<eskpd1$sm4$1@sea.gmane.org>	<20070307105144.1d4a382f@daydream.goid.lan><002801c760e2$5cb5eb50$0c00a8c0@Artem>	<esmvnp$khs$1@sea.gmane.org> <005b01c760e6$9a798bf0$0c00a8c0@Artem>

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

Artem Kuchin wrote:
> Hmm. what kind of HDD, RAID or whatever are you using?
> My raid pretty much sucks. It is build it on the intel motherboard
> LSI Megaraid. But i still get 81Mb/sec when doing
> dd if=3D/dev/ar0 of=3D/dev/null bs=3D1M
>=20
> How much do you get on this?

geom_mirror on 2 desktop SATA drives, but the results of dd are pretty lo=
w:

# dd if=3D/dev/mirror/data of=3D/dev/null bs=3D1m count=3D1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 17.817686 secs (58850290 bytes/sec)

As you can see, results with a single drive are better:

# dd if=3D/dev/ad4 of=3D/dev/null bs=3D1m count=3D1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 16.219518 secs (64649023 bytes/sec)

The mirror algorithm is "split":

# gmirror list
Geom name: data
State: COMPLETE
Components: 2
Balance: split
Slice: 16384
Flags: NONE
GenID: 0
SyncID: 1
ID: 1455065622
Providers:
1. Name: mirror/data
   Mediasize: 249999999488 (233G)
   Sectorsize: 512
   Mode: r7w7e8
Consumers:
1. Name: ad4
   Mediasize: 250000000000 (233G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: DIRTY
   GenID: 0
   SyncID: 1
   ID: 2273811345
2. Name: ad6
   Mediasize: 250000000000 (233G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: DIRTY
   GenID: 0
   SyncID: 1
   ID: 926967552

Setting the algorithm back to "load" gives the performance similar to
that of a single drive:

# dd if=3D/dev/mirror/data of=3D/dev/null bs=3D1m count=3D1000
1000+0 records in
1000+0 records out
1048576000 bytes transferred in 16.551914 secs (63350740 bytes/sec)

It's really unusual that geom_mirror cannot benefit from splitting reques=
ts.


--------------enig4D33CC9435532B7BB57A0350
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.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF7w7FldnAQVacBcgRAt/PAJ4w/yfGDX74ZsAPpW7CvMbtr2TOjwCgw3Fe
WMTd/zsuDoIdwU23na/gw5g=
=DtQB
-----END PGP SIGNATURE-----

--------------enig4D33CC9435532B7BB57A0350--




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