Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 1998 02:29:44 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        hardware@FreeBSD.ORG, questions@FreeBSD.ORG, roger@cs.strath.ac.uk
Subject:   Re: Realtek 8029 goes slow. 200k/second.
Message-ID:  <199810171629.CAA32472@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>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



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