From owner-freebsd-net@FreeBSD.ORG Sun Sep 28 18:14:45 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E824B106568E for ; Sun, 28 Sep 2008 18:14:45 +0000 (UTC) (envelope-from firmdog@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 188BD8FC16 for ; Sun, 28 Sep 2008 18:14:44 +0000 (UTC) (envelope-from firmdog@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1157972fgb.35 for ; Sun, 28 Sep 2008 11:14:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=noOWmJCax9gB5O+ojrhLnbWZ1dfvKEtKnZfz42WWl/4=; b=CYlyJr1XQAXUL9esvCX78GqmUZYOV/QBwlOB9gfYvv6AAsC3wFbX94S4ESPVtnEHdm bpcUIUayGaVG08C36gmW7TCJApHukJKHLYkLzy+mvogAptaY0CfexdR5niJ/QTt8Zt18 LEvN1ytPBUoi2ho12apKsqV9ytEgJELU7+zz0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=Fk8WjfeaVeV5KQYvaxyCtpHOUIzyCBs8sdlxHZq3zg6LsUluTr3pk/7PgAurGDSqMi k54Y6s5D9fe0pcG3PlOWqVxgoBIfgSdVn0+xK5e+gUpfjFOfwQKQ7a7ssx8MAbL1OU5a VIktMN/RvYMhWBN3H6nIgXq9Fhci0qEnGqQU8= Received: by 10.86.95.20 with SMTP id s20mr3366571fgb.65.1222623792923; Sun, 28 Sep 2008 10:43:12 -0700 (PDT) Received: by 10.86.82.4 with HTTP; Sun, 28 Sep 2008 10:43:12 -0700 (PDT) Message-ID: Date: Sun, 28 Sep 2008 13:43:12 -0400 From: "firmdog@gmail.com" To: "Arno J. Klaassen" In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: stable@freebsd.org, net@freebsd.org Subject: Re: 7.1-PRERELEASE : bad network performance (nfe0) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 18:14:46 -0000 I have the same problem on a Dell Poweredge SC440 when I transferred over 50GB from a FreeBSD 5.4 box to my new Dell running 7.1. Used a crossover cable and the link was 1000 full duplex, but could only get about 10M/s. Very odd. Did a tcpdump and saw lots of bad checksum errors. What other troubleshooting steps can we take? What could be the problem? [root@gray ~]# uname -a FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Tue Sep 2 02:27:56 EDT 2008 andy@gray.home:/usr/obj/usr/src/sys/GENERIC i386 pciconf showing the NIC: bge0@pci0:5:0:0: class=0x020000 card=0x01df1028 chip=0x167a14e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM5754 Broadcom NetXtreme Gigabit Ethernet Controller' class = network subclass = ethernet cap 01[48] = powerspec 3 supports D0 D3 current D0 cap 03[50] = VPD cap 09[58] = vendor (length 120) cap 05[e8] = MSI supports 1 message, 64 bit cap 10[d0] = PCI-Express 1 endpoint from sysctl dev.bge.0.%desc: Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0xb002 dev.bge.0.%driver: bge dev.bge.0.%location: slot=0 function=0 dev.bge.0.%pnpinfo: vendor=0x14e4 device=0x167a subvendor=0x1028 subdevice=0x01df class=0x020000 dev.bge.0.%parent: pci5 dev.miibus.0.%desc: MII bus dev.miibus.0.%driver: miibus dev.miibus.0.%parent: bge0 dev.brgphy.0.%desc: BCM5787 10/100/1000baseTX PHY On Sat, Sep 27, 2008 at 5:21 PM, Arno J. Klaassen wrote: > > > Hello, > > I've serious network performance problems on a HP Turion X2 > based brand new notebook; I only used a 7-1Beta CD and > 7-STABLE on this thing. > > Scp-ing ports.tgz from a rock-stable 7-STABLE server to it gives : > > # scp -p ports.tgz login@mv:/tmp/ > ports.tgz 100% 98MB 88.7KB/s 18:49 > > (doing the same thing by copy from an nfs-mounted disk even > takes mores than an hour ...) > > > Doing a top(1) aside, just shows the box 100% idle : > > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 12 root 171 ki31 0K 16K CPU0 0 38:55 100.00% idle: cpu0 > 11 root 171 ki31 0K 16K RUN 1 38:55 100.00% idle: cpu1 > 13 root -32 - 0K 16K WAIT 0 0:02 0.00% swi4: clock sio > 29 root -68 - 0K 16K - 0 0:00 0.00% nfe0 taskq > 34 root -64 - 0K 16K WAIT 1 0:00 0.00% irq23: atapci1 > 1853 root 8 0 7060K 1920K wait 0 0:00 0.00% sh > 878 nono 44 0 8112K 2288K CPU1 1 0:00 0.00% top > 884 root 8 - 0K 16K - 1 0:00 0.00% nfsiod 0 > 4 root -8 - 0K 16K - 1 0:00 0.00% g_down > 16 root -16 - 0K 16K - 1 0:00 0.00% yarrow > 46 root 20 - 0K 16K syncer 0 0:00 0.00% syncer > 3 root -8 - 0K 16K - 0 0:00 0.00% g_up > 30 root -68 - 0K 16K - 0 0:00 0.00% fw0_taskq > > > I tested : > > Update Bios > ULE /4BSD > PREEMPTION on/off > PREEMPTION + IPI_PREEMPTION > hw.nfe.msi[x]_disable=1 > > All don't seem to matter to the problem. > > I put two tcpdumps (server and client during another scp(1) ) on > http://bare.snv.jussieu.fr/temp/tcpdump-s1518.server > http://bare.snv.jussieu.fr/temp/tcpdump-s1518.client > > I'm far from an expert on TCP/IP, but wireshark "expert info" shows > lots of sequences like : > > TCP Previous segment lost > TCP Duplicate ACK 1 > TCP Window update > TCP Duplicate ACK 2 > TCP Duplicate ACK 3 > TCP Duplicate ACK 4 > TCP Duplicate ACK 5 > TCP Fast retransmission (suspected) > TCP ... > TCP Out-of-Order segment > TCP ... > > > As usual, feel free to contact me for further info/tests. > > Thanx, Arno > > ##### uname -a > FreeBSD mv 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Fri Sep 26 15:06:07 > CEST 2008 root@m39.scito.local:/usr/obj/usr/src/sys/PAVILLON amd64 > > ##### pciconf -lcv (bits) > nfe0@pci0:0:6:0: class=0x020000 card=0x30cf103c chip=0x045010de > rev=0xa3 hdr=0x00 > vendor = 'Nvidia Corp' > device = 'MCP65 Ethernet' > class = network > subclass = ethernet > cap 01[44] = powerspec 2 supports D0 D1 D2 D3 current D0 > > > ##### dmesg -a > > Copyright (c) 1992-2008 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 7.1-PRERELEASE #0: Fri Sep 26 15:06:07 CEST 2008 > root@m39.scito.local:/usr/obj/usr/src/sys/PAVILLON > Timecounter "i8254" frequency 1193250 Hz quality 0 > CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-62 (2109.70-MHz K8-class > CPU) > Origin = "AuthenticAMD" Id = 0x60f82 Stepping = 2 > > Features=0x178bfbff > Features2=0x2001 > AMD Features=0xea500800 > AMD Features2=0x11f > Cores per package: 2 > usable memory = 3210813440 (3062 MB) > avail memory = 3104542720 (2960 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > ACPI Error (dsopcode-0671): Field [I9MN] at 544 exceeds Buffer [IORT] size > 464 (bits) [20070320] > ACPI Error (psparse-0626): Method parse/execution failed > [\\_SB_.PCI0.LPC0.PMIO._CRS] (Node 0xffffff00011f50a0), AE_AML_BUFFER_LIMIT > ACPI Error (uteval-0309): Method execution failed > [\\_SB_.PCI0.LPC0.PMIO._CRS] (Node 0xffffff00011f50a0), AE_AML_BUFFER_LIMIT > can't fetch resources for \\_SB_.PCI0.LPC0.PMIO - AE_AML_BUFFER_LIMIT > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > acpi_ec0: port 0x62,0x66 on acpi0 > acpi_hpet0: iomem 0xfed00000-0xfed003ff on > acpi0 > Timecounter "HPET" frequency 25000000 Hz quality 900 > acpi_acad0: on acpi0 > battery0: on acpi0 > acpi_lid0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pci0: at device 0.0 (no driver attached) > isab0: port 0x1d00-0x1dff at device 1.0 on pci0 > isa0: on isab0 > pci0: at device 1.1 (no driver attached) > pci0: at device 1.3 (no driver attached) > ohci0: mem 0xf2486000-0xf2486fff irq 18 at > device 2.0 on pci0 > ohci0: [GIANT-LOCKED] > ohci0: [ITHREAD] > usb0: OHCI version 1.0, legacy support > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: on usb0 > uhub0: 10 ports with 10 removable, self powered > ehci0: mem 0xf2488000-0xf24880ff irq 17 > at device 2.1 on pci0 > ehci0: [GIANT-LOCKED] > ehci0: [ITHREAD] > usb1: EHCI version 1.0 > usb1: companion controller, 10 ports each: usb0 > usb1: on ehci0 > usb1: USB revision 2.0 > uhub1: on usb1 > uhub1: 10 ports with 10 removable, self powered > ugen0: on uhub1 > nfe0: port 0x30e0-0x30e7 mem > 0xf2487000-0xf2487fff irq 20 at device 6.0 on pci0 > miibus0: on nfe0 > rgephy0: PHY 1 on miibus0 > rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > nfe0: Ethernet address: 00:1e:68:5a:d2:e1 > nfe0: [FILTER] > pci0: at device 7.0 (no driver attached) > pcib1: at device 8.0 on pci0 > pci_link0: BIOS IRQ 15 for 7.5.INTA is invalid > pci_link1: BIOS IRQ 10 for 7.5.INTB is invalid > pci7: on pcib1 > fwohci0: <1394 Open Host Controller Interface> irq 9 at device 5.0 on pci7 > fwohci0: [FILTER] > fwohci0: OHCI version 1.10 (ROM=0) > fwohci0: No. of Isochronous channels is 4. > fwohci0: EUI64 00:24:1b:00:a1:b7:e8:00 > fwohci0: Phy 1394a available S400, 1 ports. > fwohci0: Link S400, max_rec 2048 bytes. > firewire0: on fwohci0 > fwe0: on firewire0 > if_fwe0: Fake Ethernet address: 02:24:1b:b7:e8:00 > fwe0: Ethernet address: 02:24:1b:b7:e8:00 > fwip0: on firewire0 > fwip0: Firewire address: 00:24:1b:00:a1:b7:e8:00 @ 0xfffe00000000, S400, > maxrec 2048 > sbp0: on firewire0 > dcons_crom0: on firewire0 > dcons_crom0: bus_addr 0x2550000 > fwohci0: Initiate bus reset > fwohci0: BUS reset > fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode > pci7: at device 5.1 (no driver attached) > pci7: at device 5.2 (no driver attached) > pci7: at device 5.3 (no driver attached) > pci7: at device 5.4 (no driver attached) > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30c0-0x30cf at device 9.0 on pci0 > ata0: on atapci0 > ata0: [ITHREAD] > ata1: on atapci0 > ata1: [ITHREAD] > atapci1: port > 0x30f8-0x30ff,0x30ec-0x30ef,0x30f0-0x30f7,0x30e8-0x30eb,0x30d0-0x30df mem > 0xf2484000-0xf2485fff irq 23 at device 10.0 on pci0 > atapci1: [ITHREAD] > ata2: on atapci1 > ata2: [ITHREAD] > ata3: on atapci1 > ata3: [ITHREAD] > pcib2: at device 11.0 on pci0 > pci1: on pcib2 > pcib3: at device 12.0 on pci0 > pci3: on pcib3 > ath0: mem 0xf2000000-0xf200ffff irq 16 at device 0.0 on > pci3 > ath0: [ITHREAD] > ath0: unable to attach hardware; HAL status 13 > device_attach: ath0 attach returned 6 > pcib4: at device 13.0 on pci0 > pci5: on pcib4 > vgapci0: port 0x4000-0x407f mem > 0xce000000-0xceffffff,0xd0000000-0xdfffffff,0xcc000000-0xcdffffff irq 19 at > device 0.0 on pci5 > pcib5: at device 14.0 on pci0 > pci9: on pcib5 > acpi_button0: on acpi0 > acpi_button1: on acpi0 > acpi_tz0: on acpi0 > acpi_tz0: _CRT value is absurd, ignored (-72.6C) > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: [ITHREAD] > psm0: model IntelliMouse, device ID 3 > cpu0: on acpi0 > acpi_throttle0: on cpu0 > powernow0: on cpu0 > cpu1: on acpi0 > acpi_throttle1: on cpu1 > acpi_throttle1: failed to attach P_CNT > device_attach: acpi_throttle1 attach returned 6 > powernow1: on cpu1 > orm0: at iomem 0xcd800-0xcefff,0xdf000-0xdffff on isa0 > ppc0: cannot reserve I/O port range > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 8250 or not responding > sio0: [FILTER] > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > Timecounters tick every 1.000 msec > firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) > firewire0: bus manager 0 (me) > acpi_tz0: _CRT value is absurd, ignored (-72.6C) > acd0: DVDR at ata0-master PIO4 > ad4: 305245MB at ata2-master UDMA33 > GEOM_LABEL: Label for provider acd0 is iso9660/CDROM. > SMP: AP CPU #1 Launched! > GEOM_LABEL: Label for provider ad4s2 is ntfs/HP_RECOVERY. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >