From owner-freebsd-hardware Sat Oct 17 09:30:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA29113 for freebsd-hardware-outgoing; Sat, 17 Oct 1998 09:30:19 -0700 (PDT) (envelope-from owner-freebsd-hardware@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA29079; Sat, 17 Oct 1998 09:30:07 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id CAA32472; Sun, 18 Oct 1998 02:29:44 +1000 Date: Sun, 18 Oct 1998 02:29:44 +1000 From: Bruce Evans Message-Id: <199810171629.CAA32472@godzilla.zeta.org.au> To: hardware@FreeBSD.ORG, questions@FreeBSD.ORG, roger@cs.strath.ac.uk Subject: Re: Realtek 8029 goes slow. 200k/second. Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >In my kernerl config settings I changed the IDE controller to enable >32bit transfers >with maximum sector transfers > >So, I changed > controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr > >to this > controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0x80ff80ff >vector wdintr > > >And now I can FTP files from our server at 1000k/second. Try using DMA mode (flags 0x20002000). The best case for PIO mode (16MB/sec) can barely keep up with a current fast IDE disk (14MB/sec?), and since the CPU is doing the tranfer, this matters more than when a busmastering SCSI controller can't keep up. With 16-bit transfers, the best case for PIO mode is 8MB/sec, so it couldn't even keep up with yesterday's fast IDE disk (10MB/sec). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message