From owner-freebsd-net Wed Jun 19 11:51:26 2002 Delivered-To: freebsd-net@freebsd.org Received: from garbo.lodgenet.com (garbo.lodgenet.com [204.124.122.252]) by hub.freebsd.org (Postfix) with ESMTP id E7AB837B40C for ; Wed, 19 Jun 2002 11:51:18 -0700 (PDT) Received: from hardy.lodgenet.com (hardy.lodgenet.com [10.0.104.235]) by garbo.lodgenet.com (8.11.4/8.11.4) with ESMTP id g5JIpBt04510; Wed, 19 Jun 2002 13:51:12 -0500 (CDT) Received: from chaplin.lodgenet.com (not verified[10.0.104.215]) by hardy.lodgenet.com with MailMarshal (4,2,5,0) id ; Wed, 19 Jun 2002 13:51:11 -0500 Received: by chaplin.lodgenet.com with Internet Mail Service (5.5.2653.19) id ; Wed, 19 Jun 2002 13:46:40 -0500 Message-ID: <3EA88113DE92D211807300805FA7994209149EC2@chaplin.lodgenet.com> From: "McKenna, Lee" To: "'Fabien THOMAS'" , paleph@pacbell.net Cc: freebsd-net@freebsd.org Subject: RE: bge driver issue Date: Wed, 19 Jun 2002 13:46:40 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I just loaded 4.5-RELEASE, and cvsup/make world upgraded to 4.6-STABLE dated June 17, and have 2 machines with 3C996B-T cards using the bge driver with the two machines connected directly to each other using a crossover cable. Machines are both "home made" with Supermicro mobos with 1.2GHz CPUs. Using /dev/zero I created a file some 1.2 GBytes in size. I am getting 7 MBytes/s using scp and 30 MBytes/s using ftp. So, it looks like the max is about 240 Mbits/s. This is why we affectionately call gigabit Ethernet "a couple-hundred megabit ethernet", and we cant wait for Ken's zero copy code to reach -STABLE :) This test also includes tweaking the tcp and udp send and recv space buffers to 512K, by the way... I have not seen the error message or problem you indicated below. Not that this helps you fix your problem any, but I wanted to let you know that these cards and the bge driver does appear to work - at least for me. Let me know if you need further specifics on my setup, or want me to try anything else. --Lee > -----Original Message----- > From: Fabien THOMAS [mailto:fabien.thomas@netasq.com] > Sent: Wednesday, June 19, 2002 1:47 AM > To: paleph@pacbell.net > Cc: freebsd-net@FreeBSD.ORG > Subject: Re[2]: bge driver issue > > > I've the same problems and i fixed partially the problem by bumping > the return ring count. > > #define BGE_RETURN_RING_CNT 1024 > -> > #define BGE_RETURN_RING_CNT 2048 > > i dont think it is THE solution but it works better than > before for me... > > ppn> We have a Dell poweredge 2650 (successor to 2550). > > ppn> We also saw the same problem with 4.5. I tried the > current bge driver from 4.6 > ppn> without success. The problem seems to be a size problem. > When we ftp a small > ppn> file, things work fine. However, when we try a 18 > Megabyte file, the ftp > ppn> hands and we see the problem descriped below. The linux > system that came > ppn> with the hardware (from dell) worked fine. > > ppn> BTW. This was occuring with a 100 Mbit link. > > ppn> I have not been able to get any resolution on this. The > only replies seem to > ppn> indicate that something is seriously broken with the bge driver. > > ppn> Paul Fronberg > ppn> paleph@pacbell.net > > >> I have a dell poweredge 2550 with which I am having all sorts of > >> nasty network problems. > >> The network interface will just stop responding. > >> I get an error message like this: > >> Jun 18 08:19:38 shekondar /kernel: bge0: watchdog timeout > -- resetting > >> > >> This is using the broadcom 10/100/1000 NIC on the mother board, the > >> intel 10/100 has had similar issues but produces no log messages. > >> > >> duplex and speed settings are forced on both the card and > the switch. > >> sometimes the kernel reset will clear the fault but sometimes you > >> need to ifconfig down / up the interface to get it going again. > >> > >> This box has been running fine for several weeks, it is > only as we have > >> started to shift to production levels of traffic to it > that it has started > >> this. Approx 30M bits/sec out and 12M bits/sec inbound. > >> > >> There was a simple ipfw ruleset on the box but I have disable that > >> just now to see if it helps. > >> > >> > >> Googleing has given me people who report similar problems but no > >> solutions / work arounds. > >> > >> Have anyone got any suggestions as to what to do next. > >> > >> Colin > >> > >> Here is the output of postconf > >> > >> bge0@pci1:8:0: class=0x020000 card=0x00d11028 > chip=0x164414e4 rev=0x12 > >> hdr=0x00 vendor = 'Broadcom Corporation' > >> device = 'BCM5700/1 Gigabit Ethernet Controller' > >> class = network > >> subclass = ethernet > > ppn> To Unsubscribe: send mail to majordomo@FreeBSD.org > ppn> with "unsubscribe freebsd-net" in the body of the message > > > > -- > Cordialement, > Fabien mailto:fabien.thomas@netasq.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message