Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Mar 2007 18:56:26 +0100
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-geom@freebsd.org
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Some Unix benchmarks for those who are interesed
Message-ID:  <45F04E4A.8040803@fer.hr>
In-Reply-To: <45F04921.8020801@fluffles.net>
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>	<esn2s6$1i9$1@sea.gmane.org>	<001601c760ee$f76fa300$0c00a8c0@Artem>	<45EF2252.1000202@fluffles.net>	<45EF253B.8030909@fer.hr>	<45EF9B8F.4000201@fluffles.net>	<45EFA0C6.3060905@freebsd.org>	<45F032B9.7090102@fluffles.net> <45F03FB9.5000602@fer.hr> <45F04921.8020801@fluffles.net>

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

Fluffles wrote:

> single drive (ad6, Maxtor MaxLine III 250GB SATA/150)
>               -------Sequential Output-------- ---Sequential Input--
> --Random--
>               -Per Char- --Block--- -Rewrite-- -Per Char- --Block---
> --Seeks---
> Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU=20
> /sec %CPU
>          20480 56395 42.7 55904 12.8 21497  5.9 56846 54.3 58328  8.2=20
> 81.2  0.3
>=20
> Here the CPU is not the bottleneck but the disk itself. CPU is AMD
> Athlon 64 3800+ (dualcore, 2.0GHz, 2x512KB cache, S939, 2x1GB DDR/400).=

> Maybe you are running a patched bonnie? By the way i'm not using
> bonnie++ but the 'original' bonnie. Maybe that changes things a bit?

Yup, that the thing.

The difference is that bonnie++ goes to the kernel for every character
read or written (in the per-char benchmark) while the old bonnie allows
for buffering in libc. At least that's the theory.

While on FreeBSD bonnie++ can get around 500 KB/s on per-chr benchmark,
on Linux it can get upto 20 MB/s:
http://fsbench.netnation.com/new_hardware/2.6.0-test9/scsi/bonnie.html

>> Fromall the benchmarks i've seen and all that i've performed myself,
> i've never seen that low per char scores like you. I cannot explain it
> except maybe a *very* slow CPU or some other obscure software issue.

Any post-Pentium 1 CPU should be fast enough to saturate disk IO in DMA
mode. The question if kernel latency is a different issue :)

Here are my "bonnie" results on the same machine (gmirror "split"
balance, 2xSATA 7.5kRPM, more than fast enough Xeon CPU):

              -------Sequential Output-------- ---Sequential Input--
--Random--
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block---
--Seeks---
Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU
/sec %CPU
         4096 56456 53.2 55344 13.4 19436  6.5 60606 46.3 61417 10.4
203.0  0.8



--------------enig76744A0BED0BD4BC2B969C69
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

iD8DBQFF8E5KldnAQVacBcgRAnioAKD1dmLUq5B2oYXklKKh+vI5AYVM0gCeJbww
a2hjvMv+7rYZA5nAi9ojSbU=
=sjr/
-----END PGP SIGNATURE-----

--------------enig76744A0BED0BD4BC2B969C69--



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