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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x2001<SSE3,CX16>
AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
AMD Features2=0x11f<LAHF,CMP,SVM,ExtAPIC,CR8,Prefetch>
Cores per package: 2
usable memory = 3210813440 (3062 MB)
avail memory = 3104542720 (2960 MB)
ACPI APIC Table: <HP APIC >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <HPQOEM SLIC-MPC> 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: <Embedded Controller: GPE 0x10> port 0x62,0x66 on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on
acpi0
Timecounter "HPET" frequency 25000000 Hz quality 900
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory, RAM> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> port 0x1d00-0x1dff at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
pci0: <processor> at device 1.3 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xf2486000-0xf2486fff irq 18 at
device 2.0 on pci0
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 10 ports with 10 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: <nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb1
uhub1: 10 ports with 10 removable, self powered
ugen0: <QCM HP Webcam, class 239/2, rev 2.00/1.10, addr 2> on uhub1
nfe0: <NVIDIA nForce MCP65 Networking Adapter> port 0x30e0-0x30e7 mem
0xf2487000-0xf2487fff irq 20 at device 6.0 on pci0
miibus0: <MII bus> on nfe0
rgephy0: <RTL8169S/8110S/8211B media interface> 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: <multimedia> at device 7.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> 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: <ACPI PCI bus> 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: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:24:1b:b7:e8:00
fwe0: Ethernet address: 02:24:1b:b7:e8:00
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:24:1b:00:a1:b7:e8:00 @ 0xfffe00000000, S400, maxrec
2048
sbp0: <SBP-2/SCSI over FireWire> on firewire0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x2550000
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
pci7: <base peripheral> at device 5.1 (no driver attached)
pci7: <base peripheral> at device 5.2 (no driver attached)
pci7: <base peripheral> at device 5.3 (no driver attached)
pci7: <base peripheral> at device 5.4 (no driver attached)
atapci0: <nVidia nForce MCP65 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30c0-0x30cf at device 9.0 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
atapci1: <nVidia ATA controller> 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: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: [ITHREAD]
pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci1: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci0
pci3: <ACPI PCI bus> on pcib3
ath0: <Atheros 5424/2424> 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: <ACPI PCI-PCI bridge> at device 13.0 on pci0
pci5: <ACPI PCI bus> on pcib4
vgapci0: <VGA-compatible display> port 0x4000-0x407f mem
0xce000000-0xceffffff,0xd0000000-0xdfffffff,0xcc000000-0xcdffffff irq 19 at
device 0.0 on pci5
pcib5: <ACPI PCI-PCI bridge> at device 14.0 on pci0
pci9: <ACPI PCI bus> on pcib5
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz0: _CRT value is absurd, ignored (-72.6C)
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
powernow0: <PowerNow! K8> on cpu0
cpu1: <ACPI CPU> on acpi0
acpi_throttle1: <ACPI CPU Throttling> on cpu1
acpi_throttle1: failed to attach P_CNT
device_attach: acpi_throttle1 attach returned 6
powernow1: <PowerNow! K8> on cpu1
orm0: <ISA Option ROMs> at iomem 0xcd800-0xcefff,0xdf000-0xdffff on isa0
ppc0: cannot reserve I/O port range
sc0: <System console> 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: <Generic ISA VGA> 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 <TSSTcorp CDDVDW TS-L632N/0503> at ata0-master PIO4
ad4: 305245MB <FUJITSU MHZ2320BH G2 8909> 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.
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
<arno@heho.snv.jussieu.fr>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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
> Features2=0x2001<SSE3,CX16>
> AMD
Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
> AMD Features2=0x11f<LAHF,CMP,SVM,ExtAPIC,CR8,Prefetch>
> Cores per package: 2
> usable memory = 3210813440 (3062 MB)
> avail memory = 3104542720 (2960 MB)
> ACPI APIC Table: <HP APIC >
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> cpu0 (BSP): APIC ID: 0
> cpu1 (AP): APIC ID: 1
> ioapic0 <Version 1.1> irqs 0-23 on motherboard
> kbd1 at kbdmux0
> ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
> acpi0: <HPQOEM SLIC-MPC> 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: <Embedded Controller: GPE 0x10> port 0x62,0x66 on acpi0
> acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff
on
> acpi0
> Timecounter "HPET" frequency 25000000 Hz quality 900
> acpi_acad0: <AC Adapter> on acpi0
> battery0: <ACPI Control Method Battery> on acpi0
> acpi_lid0: <Control Method Lid Switch> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pci0: <memory, RAM> at device 0.0 (no driver attached)
> isab0: <PCI-ISA bridge> port 0x1d00-0x1dff at device 1.0 on pci0
> isa0: <ISA bus> on isab0
> pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
> pci0: <processor> at device 1.3 (no driver attached)
> ohci0: <OHCI (generic) USB controller> mem 0xf2486000-0xf2486fff irq
18 at
> device 2.0 on pci0
> ohci0: [GIANT-LOCKED]
> ohci0: [ITHREAD]
> usb0: OHCI version 1.0, legacy support
> usb0: <OHCI (generic) USB controller> on ohci0
> usb0: USB revision 1.0
> uhub0: <nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on
usb0
> uhub0: 10 ports with 10 removable, self powered
> ehci0: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> on ehci0
> usb1: USB revision 2.0
> uhub1: <nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on
usb1
> uhub1: 10 ports with 10 removable, self powered
> ugen0: <QCM HP Webcam, class 239/2, rev 2.00/1.10, addr 2> on uhub1
> nfe0: <NVIDIA nForce MCP65 Networking Adapter> port 0x30e0-0x30e7 mem
> 0xf2487000-0xf2487fff irq 20 at device 6.0 on pci0
> miibus0: <MII bus> on nfe0
> rgephy0: <RTL8169S/8110S/8211B media interface> 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: <multimedia> at device 7.0 (no driver attached)
> pcib1: <ACPI PCI-PCI bridge> 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: <ACPI PCI bus> 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: <IEEE1394(FireWire) bus> on fwohci0
> fwe0: <Ethernet over FireWire> on firewire0
> if_fwe0: Fake Ethernet address: 02:24:1b:b7:e8:00
> fwe0: Ethernet address: 02:24:1b:b7:e8:00
> fwip0: <IP over FireWire> on firewire0
> fwip0: Firewire address: 00:24:1b:00:a1:b7:e8:00 @ 0xfffe00000000, S400,
> maxrec 2048
> sbp0: <SBP-2/SCSI over FireWire> on firewire0
> dcons_crom0: <dcons configuration ROM> on firewire0
> dcons_crom0: bus_addr 0x2550000
> fwohci0: Initiate bus reset
> fwohci0: BUS reset
> fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
> pci7: <base peripheral> at device 5.1 (no driver attached)
> pci7: <base peripheral> at device 5.2 (no driver attached)
> pci7: <base peripheral> at device 5.3 (no driver attached)
> pci7: <base peripheral> at device 5.4 (no driver attached)
> atapci0: <nVidia nForce MCP65 UDMA133 controller> port
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30c0-0x30cf at device 9.0 on pci0
> ata0: <ATA channel 0> on atapci0
> ata0: [ITHREAD]
> ata1: <ATA channel 1> on atapci0
> ata1: [ITHREAD]
> atapci1: <nVidia ATA controller> 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: <ATA channel 0> on atapci1
> ata2: [ITHREAD]
> ata3: <ATA channel 1> on atapci1
> ata3: [ITHREAD]
> pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0
> pci1: <ACPI PCI bus> on pcib2
> pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci0
> pci3: <ACPI PCI bus> on pcib3
> ath0: <Atheros 5424/2424> 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: <ACPI PCI-PCI bridge> at device 13.0 on pci0
> pci5: <ACPI PCI bus> on pcib4
> vgapci0: <VGA-compatible display> port 0x4000-0x407f mem
> 0xce000000-0xceffffff,0xd0000000-0xdfffffff,0xcc000000-0xcdffffff irq 19 at
> device 0.0 on pci5
> pcib5: <ACPI PCI-PCI bridge> at device 14.0 on pci0
> pci9: <ACPI PCI bus> on pcib5
> acpi_button0: <Power Button> on acpi0
> acpi_button1: <Sleep Button> on acpi0
> acpi_tz0: <Thermal Zone> on acpi0
> acpi_tz0: _CRT value is absurd, ignored (-72.6C)
> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> atkbd0: [ITHREAD]
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: [GIANT-LOCKED]
> psm0: [ITHREAD]
> psm0: model IntelliMouse, device ID 3
> cpu0: <ACPI CPU> on acpi0
> acpi_throttle0: <ACPI CPU Throttling> on cpu0
> powernow0: <PowerNow! K8> on cpu0
> cpu1: <ACPI CPU> on acpi0
> acpi_throttle1: <ACPI CPU Throttling> on cpu1
> acpi_throttle1: failed to attach P_CNT
> device_attach: acpi_throttle1 attach returned 6
> powernow1: <PowerNow! K8> on cpu1
> orm0: <ISA Option ROMs> at iomem 0xcd800-0xcefff,0xdf000-0xdffff on
isa0
> ppc0: cannot reserve I/O port range
> sc0: <System console> 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: <Generic ISA VGA> 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 <TSSTcorp CDDVDW TS-L632N/0503> at ata0-master PIO4
> ad4: 305245MB <FUJITSU MHZ2320BH G2 8909> 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"
>
On Sun, Sep 28, 2008 at 01:43:12PM -0400, firmdog@gmail.com wrote:> 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.This is probably because checksum offloading was being done on the NIC. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
On Sat, Sep 27, 2008 at 11:21:00PM +0200, 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
^^^^^^^^^^^^^^^^^^^^^^^
This has no effect as MCP65 lacks MSI/MSI-X capability.
>
> 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.
>
AFAIK it seems that you're the first one that reports poor
performance issue of MCP65. MCP65 has no checksum offload/TSO
capability so nfe(4) never try to take advantage of the hardware
capability. So you should have no checksum offload/TSO related
issue here.
Also note, checking network performance with scp(1) wouldn't
show real numbers as scp(1) may involve other system activities.
Use one of network benchmark programs in ports(e.g.
benchmarks/netperf) to measure network performance.
Other possible cause of issue could be link speed/duplex mismatch
or excessive MAC control frames(e.g. pause frames). Does nfe(4)
agree on resolved speed/duplex with link partner?
If they all agree on resolved speed/duplex, would you check number
of pause frames sent/received from link partner? Even though MCP65
supports hardware MAC statistics for pause frames nfe(4) has no
support code yet so you may have to resort to managed switch that
can show Tx/Rx statistics of each port.
--
Regards,
Pyun YongHyeon