From owner-freebsd-bugs Sat May 19 10:17:45 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id 6D71037B422 for ; Sat, 19 May 2001 10:17:40 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.3/8.11.3) with ESMTP id f4JHHcM10932; Sat, 19 May 2001 18:17:38 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.3/8.11.3) with ESMTP id f4JHHbb31761; Sat, 19 May 2001 18:17:37 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200105191717.f4JHHbb31761@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: S ren Schmidt Cc: achilov@granch.ru, valgog@biofrontera.de, freebsd-bugs@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: ATA driver on 4.3 is too slow In-Reply-To: Message from S ren Schmidt of "Sat, 19 May 2001 17:02:20 +0200." <200105191503.f4JF35V49854@freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Sat, 19 May 2001 18:17:37 +0100 From: Brian Somers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > It seems Rashid N. Achilov wrote: > > On Thursday 17 May 2001 18:33, S?ren Schmidt wrote: > > > It seems valgog@biofrontera.de wrote: > > > > > > Most of the impact is due to FreeBSD now shipping with Write Cachin= g > > > off as default (see man ata for details), that will hurt even if > > > you run with softupdates. If you dont care about possible dataloss > > > at power failures you can enable WC and get your performance back..= =2E > > = > > sysctl -w hw.ata.wc=3D1 > > sysctl: oid 'hw.ata.wc' is read only > = > Does that mean it still performs badly ? you give no info here... > = > If so, its hardly the ATA driver thats the problem, you could try > that by doing a 'dd if=3D/dev/ad0 of=3D/dev/null bs=3D1m count=3D1000' > and see if the transfer rate is what the drive can deliver. If > so you have to look somewhere other than the ATA subsystem. I think he's saying that he can't change the sysctl to 1. I can confirm that I get the same poor performance. I can give you = an account on the box if you're interested. It's running -current: $ pwd /spare1 $ df . Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad1s2f 33059676 1 30414901 0% /spare1 $ dmesg | fgrep ad1: ad1: 73308MB [148945/16/63] at ata1-master UDMA100 $ mount | fgrep $PWD /dev/ad1s2f on /spare1 (ufs, local, soft-updates) $ dd if=3D/dev/zero of=3Ddata bs=3D1024000 count=3D500 500+0 records in 500+0 records out 512000000 bytes transferred in 63.359681 secs (8080849 bytes/sec) $ dd if=3Ddata of=3D/dev/null bs=3D1024000 = 500+0 records in 500+0 records out 512000000 bytes transferred in 17.751130 secs (28843234 bytes/sec) $ sysctl -a | fgrep hw.ata hw.ata.ata_dma: 1 hw.ata.wc: 0 hw.ata.tags: 0 hw.ata.atapi_dma: 0 $ sudo sysctl -w hw.ata.wc=3D1 sysctl: oid 'hw.ata.wc' is read only $ sysctl -a | fgrep hw.ata hw.ata.ata_dma: 1 hw.ata.wc: 0 hw.ata.tags: 0 hw.ata.atapi_dma: 0 $ dd if=3D/dev/zero of=3Ddata bs=3D1024000 count=3D500 500+0 records in 500+0 records out 512000000 bytes transferred in 63.502042 secs (8062733 bytes/sec) $ dd if=3Ddata of=3D/dev/null bs=3D1024000 500+0 records in 500+0 records out 512000000 bytes transferred in 18.935320 secs (27039416 bytes/sec) > -S=F8ren -- = Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message