From owner-freebsd-current@FreeBSD.ORG Wed May 18 02:40:11 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 811DE16A4CE for ; Wed, 18 May 2005 02:40:11 +0000 (GMT) Received: from s1tank.virtdom.com (s1tank.virtdom.com [12.26.83.50]) by mx1.FreeBSD.org (Postfix) with SMTP id A061C43D77 for ; Wed, 18 May 2005 02:40:10 +0000 (GMT) (envelope-from brian@aljex.com) Received: (qmail 83690 invoked by uid 89); 18 May 2005 02:49:06 -0000 Received: from ool-43552092.dyn.optonline.net (HELO venti) (brian@aljex.com@67.85.32.146) by s1tank.virtdom.com with SMTP; 18 May 2005 02:49:06 -0000 Message-ID: <095501c55b52$de38afb0$6b00000a@venti> From: "Brian K. White" To: "FreeBSD-Current" References: <200505172132.42322.nb_root@videotron.ca> Date: Tue, 17 May 2005 22:39:25 -0400 Organization: Aljex Software MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: sk interface (Marvell 88E8001) sluggish? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2005 02:40:11 -0000 ----- Original Message ----- From: "Nicolas Blais" To: "FreeBSD-Current" Sent: Tuesday, May 17, 2005 9:32 PM Subject: sk interface (Marvell 88E8001) sluggish? > Hi, > > I have a popular Marvell 88E8001 on my A8V-Deluxe (Rev2) which doesn't > work > like it should in FreeBSD. Whenever accessing anything on the network > (whether local or internet), there is a 2-3 second delay before anything > gets > thru. Data transfer with small files or large files on the internet is > slow > (800 K/s avg in Win*XP compared to a seemingly random amount from 200-600 > K/s > avg in FreeBSD from the same source). My cable modem test (available at > http://speedtest.cogeco.net) is much slower in FreeBSD than in XP for some > reason (3025 kbps down, 118 kbps up compared to 6404 kbps down and 825 > kbps > up in XP). Data transfer in the LAN is also much slower in FreeBSD than in > XP > (about 50%). > > To make matters worst, whenever I'm transfering files in background, my > bktr > turns sluggish in fxtv as though the Marvell and the WinTV are battling > for > interrups. This problem is also non-existant in XP. To remedy this > problem, I > tried the WinTV on every PCI card on my MB but changes nothing. Whenever > file > transfer is done, my bktr acts fine. Yes, I tried both setting of PNP OS > in > BIOS. > > There are no watchdog timeouts, no kernel messages, no true hangs/death of > sk0. My old and faithful 3COM 905C works #1 in this machine but I would > rather use my onboard gigabit card when I actually do get a gigabit > switch. > (Currently, the sk0 is connected to a 100baseTX router). This machine runs > httpd 24/7 and a fully working sk0 would probably be more efficient for > everyone. > > Here's the setup: > > > bktr0: mem 0xe3e00000-0xe3e00fff irq 11 at device 9.0 on > pci0 > bktr0: [GIANT-LOCKED] > bktr0: Hauppauge Model 44811 C333 > bktr0: Hauppauge WinCast/TV, Philips FR1236 NTSC FM tuner. > pci0: at device 9.1 (no driver attached) > skc0: port 0xd400-0xd4ff mem > 0xfbb00000-0xfbb03fff > irq 10 at device 10.0 on pci0 > skc0: interrupt moderation is 100 us > skc0: Marvell Yukon Lite Gigabit Ethernet rev. (0x9) > sk0: on skc0 > sk0: Ethernet address: 00:11:d8:44:15:f4 > miibus0: on sk0 > e1000phy0: on miibus0 > e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > 1000baseTX-FDX, > auto > atapci0: port > 0xd000-0xd007,0xc800-0xc803,0xc400-0xc407,0xc000-0xc003,0xb800-0xb80f,0xb400-0xb4ff > irq 10 at device 15.0 on pci0 > > clk01a# ifconfig > sk0: flags=8843 mtu 1500 > inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255 > inet6 fe80::211:d8ff:fe44:15f4%sk0 prefixlen 64 scopeid 0x1 > ether 00:11:d8:44:15:f4 > media: Ethernet autoselect (100baseTX ) > status: active > plip0: flags=108810 mtu 1500 > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > > no special ifconfig flags. Latest 6-CURRENT. > > Any help truly appreciated, > > Nicolas. This is just some hand waving with no hard numbers but I have noticed less-than-I-hoped speed on sk too. I have a couple of freebsd 5.3 boxes with Linksys sk-based pci cards hooked to a couple different gigabit switches on different lans. 1) at home the switch is a cheap linksys 8port gigabit and the other machine is my hp zd7000 laptop with built-in realtek 100mbit running xp & fbsd 5.3 & 6-current 2) at work the switch is a Foundry EdgeIron 24G and the other machines are the same laptop, some intel shg2 boxes with built-in intel pro/1000 nics, but the OS on those is sco osr5 which might be slow itself despite the ideal hardware, and an intel shg2 box with a broadcom bcme gigabit pci card running no particular OS at the moment (can boot freesbie/knoppix or install any os at will) Obviously at home I am not expecting anything more than 100mbit speeds but I wasn't getting even that. I was already going to get another linksys card and stick it in a dual-p3-1G suse 9.2 box at work too. (They are only $30 full local brick&mortar retail!) And I have some decent 3com & intel pci 100mbit cards as well as the built in realtek junk in every box I can compare against. What I don't have is much time for doing good tests but since I have the hardware, especially at work, and claim to have "noticed less than expected speed", I'll do at least a few. I think I have enough combinations of switches and motherboards and other nics and other OS's to show some kind of pattern. Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/ +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani