kern/132991: [bge] if_bge low performance problem
Alexey Egorov
alex at zond.org
Mon Mar 23 22:30:03 PDT 2009
>Number: 132991
>Category: kern
>Synopsis: [bge] if_bge low performance problem
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 24 05:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Alexey Egorov
>Release: 7.1-RELEASE-p3 amd64
>Organization:
>Environment:
FreeBSD n1.net.zond.org 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #1: Mon Mar 23 11:30:39 NOVT 2009 root at n1.net.zond.org:/usr/src/sys/amd64/compile/GENERIC amd64
>Description:
Low performance problem on BCM5721 bge interface:
115343360 bytes transferred in 582.744354 secs (197931 bytes/sec)
Speed always ~190kb/sec
Test machine:
ASUS RS120-E5-PA4
CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (2400.10-MHz K8-class CPU)
Origin = "GenuineIntel" Id = 0x6fb Stepping = 11
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
AMD Features=0x20100800<SYSCALL,NX,LM>
AMD Features2=0x1<LAHF>
Cores per package: 4
usable memory = 4281401344 (4083 MB)
avail memory = 4135686144 (3944 MB)
bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x4201> mem 0xfeaf0000-0xfeafffff irq 16 at device 0.0 on pci3
bge1: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x4201> mem 0xfebf0000-0xfebfffff irq 17 at device 0.0 on pci4
bge0 at pci0:3:0:0: class=0x020000 card=0x81491043 chip=0x165914e4 rev=0x21 hdr=0x00
vendor = 'Broadcom Corporation'
device = 'BCM5721 NetXtreme Gigabit Ethernet PCI Express'
class = network
subclass = ethernet
bge1 at pci0:4:0:0: class=0x020000 card=0x81491043 chip=0x165914e4 rev=0x21 hdr=0x00
vendor = 'Broadcom Corporation'
device = 'BCM5721 NetXtreme Gigabit Ethernet PCI Express'
class = network
subclass = ethernet
I try use if_bge.c and if_bgereg.h from 190194 revision, but problem stay.
Is there any solutions?
>How-To-Repeat:
nc -l 15000 > /dev/null
dd if=/dev/zero bs=1m count=102400 | nc host 15000
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list