From owner-freebsd-questions Sat Oct 17 08:33:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA23352 for freebsd-questions-outgoing; Sat, 17 Oct 1998 08:33:42 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from fleming.cs.strath.ac.uk (fleming.cs.strath.ac.uk [130.159.196.126]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA23346; Sat, 17 Oct 1998 08:33:39 -0700 (PDT) (envelope-from roger@cs.strath.ac.uk) Received: from cs.strath.ac.uk (posh.dmem.strath.ac.uk [130.159.202.3]) by fleming.cs.strath.ac.uk (8.8.8/8.8.8) with ESMTP id QAA01410 Sat, 17 Oct 1998 16:33:16 +0100 (BST) Message-ID: <3628B8B8.BDAA6939@cs.strath.ac.uk> Date: Sat, 17 Oct 1998 16:33:12 +0100 From: Roger Hardiman Organization: Strathclyde Uni X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 3.0-980520-SNAP i386) MIME-Version: 1.0 To: hardware@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: Realtek 8029 goes slow. 200k/second. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Recently I posted this problem. I have a solution which I am posting for future reference. > I have a couple of PCI network cards with the Realtek 8029 chip. > (a no-name and a Genuis) > > Both these cards give 1000k / sec on all of my FreeBSD machines except > my new one. > > My new PII400 (BX chipset) gives just 200k / second on our lab network. > Perfect test conditions - no other network traffic. The test I was performing was to FTP a gzipped file from our server to my new PC. The Realtek 8029 is a PCI card and I am using an IDE hard drive (just the BX chipset's controller) 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. I connected an ethernet load monitor (on a 3com hub) and noticed the PC was downloading a burst of data and then waiting before downloading the next burst. The PC was downloading data and then spending a long time writing to the disk and then fetching more data. Bye Roger Hardiman Strathclyde University Telepresence Research Group To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message