Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2001 03:18:20 -0600
From:      Samuel Greear <dragonk@mato.com>
To:        Matthias Bartels <mbartels@genie.de>, "questions@freebsd.org" <questions@freebsd.org>
Subject:   Re: harddisk performance
Message-ID:  <01091003182003.00551@beware.dragonknight.net>
In-Reply-To: <B3005358253@i01sv4107.ids1.intelonline.com>
References:  <B3005358253@i01sv4107.ids1.intelonline.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 10 September 2001 01:46 am, Matthias Bartels wrote:
> Servus,
>
> hi some weeks ago i kicked my linux and became a freebsd user and i am
> really happy with my decision.
>
> But i have still one problem, my harddisk performance.
>
> i am using a maxtor U/DMA 100 drive, and freebsd is using U/DMA 100
> Kernelmessage:
>
> ad0: 38182MB <MAXTOR 4K040H2> [77578/16/63] at ata0-master UDMA100
>
> my problem is performance when writing to the disk, that's why i made
> a benchmark with bonnie
>
> this are the results:
>
> Machine    MB 100
>
> -------Sequential Output-----
> ----Per Char- --Block--- -Rewrite--
>  K/sec %CPU    K/sec %CPU  K/sec %CPU
>  7628 13.5     8434  5.5   8746  6.9
>
> ---Sequential Inp
> ut--
> -Per Char- --Block---
> K/sec %CPU  K/sec  %CPU
> 42264 100.0 235777 100.0
>
> --Random--
> /sec    %CPU
> 27737.9 99.8
>
>
> as you can see, the reading performance is ok, but writing
> performance? :(
>
> does anybody know what i am doing wrong??
> Thank you
>
> M.Bartels
>
>
> Ringtones, Logos und crazy Mailbox Ansagen für Dein Nokia-Handy @
> www.genie.de
>


Well, first off...   bonnie isn't really that great a benchmark application.
It tends to be too cpu-bound to give an accurate representation of
disk I/O speeds.   Also, seeing the read performance it seems as if
your test file is too small.  Try bonnie with a 1GB (or larger) test file,
your write speeds should remain pretty consistent with what you have
already seen, but your read performance will be significantly lower.
The read speeds you are seeing are rather high, this is due to caching.
Those write speeds are nothing to be ashamed of, either...  8MB/s is
very respectable.   To give you some indication, I see results of about 2.5
MB/s to-the-disk, and around 12MB/s from-the-disk running bonnie with
a 2GB test file on a RAID-5 array consiting of 5 7200 RPM SCSI disks.
Results on my desktop using a 7200RPM IDE drive are around 12MB/s
output, and 20MB/s input (w/softupdates).  If you really need a little bit 
more speed you can try enabling IDE write caching, I'll let you figure out 
how to do this as it can cause data loss...  Or buy a faster hard disk.

-- 
  Samuel J. Greear  <dragonk@evilcode.net>
  Developer - GetMegabits, Inc.  http://www.itmom.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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