From owner-freebsd-current Tue Mar 21 23:40:40 2000 Delivered-To: freebsd-current@freebsd.org Received: from area51.v-wave.com (area51.v-wave.com [24.108.26.39]) by hub.freebsd.org (Postfix) with SMTP id 6374537C0DE for ; Tue, 21 Mar 2000 23:40:36 -0800 (PST) (envelope-from flatline@area51.v-wave.com) Received: (qmail 82435 invoked by uid 1001); 22 Mar 2000 07:41:26 -0000 Date: Wed, 22 Mar 2000 00:41:26 -0700 From: Chris Wasser To: Richard Wendland Cc: current@FreeBSD.ORG Subject: Re: FreeBSD random I/O performance issues Message-ID: <20000322004126.A82200@area51.v-wave.com> References: <38D6BBD7.DA4B950B@originative.co.uk> <200003220022.AAA28786@ns0.netcraft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003220022.AAA28786@ns0.netcraft.com>; from richard@netcraft.com on Wed, Mar 22, 2000 at 12:22:42AM +0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 22, 2000 at 12:22:42AM +0000, Richard Wendland wrote: > Any views gratefully received. A fix would be much better :-) Not sure if my meager setup helps any, but in the interests in providing results to help the cause so-to-speak, I ran the test on my own machine (followed the instructions in the source file to the letter): (/tmp)[13]# time ./seekreadwrite xxx 10000 real 0m4.462s user 0m0.018s sys 0m1.204s Hardware information: FreeBSD 4.0-STABLE #4: Thu Mar 16 15:15:07 MST 2000 CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU) real memory = 134217728 (131072K bytes) atapci1: port 0xe000-0xe0ff,0xdc00-0xdc03,0xd800-0xd807 irq 4 at device 19.0 on pci0 ata2: at 0xd800 on atapci1 atapci2: port 0xec00-0xecff,0xe800-0xe803,0xe400-0xe407 irq 4 at device 19.1 on pci0 ata3: at 0xe400 on atapci2 ad4: 12416MB [25228/16/63] at ata2-master using UDMA66 /dev/ad4s2f on /tmp (ufs, local, soft-updates, writes: sync 19 async 10197, reads: sync 169 async 0) (/tmp)[19]# sysctl -a | grep -i vfs.write_behind vfs.write_behind: 1 Mem: 58M Active, 29M Inact, 24M Wired, 4248K Cache, 11M Buf, 8860K Free Swap: 257M Total, 257M Free 12:36AM up 1 day, 9:54, 7 users, load averages: 0.10, 0.04, 0.01 The HDD is a 5400RPM ATA-66 drive (to state the obvious) this test was conducted while I was in X (su'd to root) so there was some load on the machine. Hope this helps in some way. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message