Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2008 08:58:11 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Ferruccio Zamuner <nonsolosoft@diff.org>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: gmirror on a very slow but new HP architecture
Message-ID:  <20080409065811.GA20138@garage.freebsd.pl>
In-Reply-To: <47FA6C65.1010007@diff.org>
References:  <47F92BD9.1060207@diff.org> <47F9489C.7040602@quip.cz> <47FA6C65.1010007@diff.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 07, 2008 at 08:48:05PM +0200, Ferruccio Zamuner wrote:
> free# swapoff /dev/mirror/gm0b
> free# dd if=3D/dev/zero of=3D/dev/mirror/gm0b bs=3D8192 count=3D10000
> 10000+0 records in
> 10000+0 records out
> 81920000 bytes transferred in 2.443927 secs (33519822 bytes/sec)
> free# dd if=3D/dev/mirror/gm0b of=3D/dev/null bs=3D8192 count=3D20000
> 20000+0 records in
> 20000+0 records out
> 163840000 bytes transferred in 7.773088 secs (21077852 bytes/sec)
> free# dd if=3D/dev/mirror/gm0b of=3D/dev/null bs=3D8192 count=3D20000
> 20000+0 records in
> 20000+0 records out
> 163840000 bytes transferred in 7.444171 secs (22009167 bytes/sec)
> free# dd if=3D/dev/zero of=3D/dev/mirror/gm0b bs=3D8192 count=3D20000
> 20000+0 records in
> 20000+0 records out
> 163840000 bytes transferred in 5.668771 secs (28902208 bytes/sec)
> free# dd if=3D/dev/mirror/gm0b of=3D/dev/null bs=3D8192 count=3D20000
> 20000+0 records in
> 20000+0 records out
> 163840000 bytes transferred in 8.050144 secs (20352430 bytes/sec)

Your test is too short and you are using too small block size. Try
something like this:

	# dd if=3D/dev/zero of=3D/dev/mirror/gm0b bs=3D128k count=3D10000
	# dd if=3D/dev/mirror/gm0b of=3D/dev/null bs=3D128k count=3D10000

Also, please provide the output of:

	# bsdlabel /dev/mirror/gm0

so we know 'b' partition is not placed at the end of the disk.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFH/GkAForvXbEpPzQRAqq7AJ0TKBO7QkdlKhTY7i89d5sC32fQnQCfQYrX
HIXqohhoZ6XQcGvhUe2e99M=
=12zY
-----END PGP SIGNATURE-----

--a8Wt8u1KmwUX3Y2C--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080409065811.GA20138>