From owner-freebsd-questions Mon Sep 10 2:18:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.infowest.com (ns1.infowest.com [204.17.177.10]) by hub.freebsd.org (Postfix) with ESMTP id B0CB537B401 for ; Mon, 10 Sep 2001 02:18:16 -0700 (PDT) Received: from beware.dragonknight.net (unknown [208.186.107.165]) by ns1.infowest.com (Postfix) with SMTP id 879142100A; Mon, 10 Sep 2001 03:18:15 -0600 (MDT) Content-Type: text/plain; charset="iso-8859-1" From: Samuel Greear To: Matthias Bartels , "questions@freebsd.org" Subject: Re: harddisk performance Date: Mon, 10 Sep 2001 03:18:20 -0600 X-Mailer: KMail [version 1.2] References: In-Reply-To: MIME-Version: 1.0 Message-Id: <01091003182003.00551@beware.dragonknight.net> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 [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 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