dual bge nics slow transfer - no transfer

2006-03-20 Thread Mark Busby
I have a tyan k8wd with dual bge nics but they are painfully slow on transfer 
rates.
  Is there something I need to put in the hints file to fix this?? 
  Thanks!
   
  dmesg output
  Copyright (c) 1992-2005 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 6.0-RELEASE #1: Tue Mar 14 05:43:23 CST 2006
[EMAIL PROTECTED]:/usr/src/sys/amd64/compile/QUAD
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Dual Core AMD Opteron(tm) Processor 270 (1989.05-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x20f12  Stepping = 2
  
Features=0x178bfbff
  AMD Features=0xe2500800,LM,3DNow+,3DNow>
  Hyperthreading: 2 logical CPUs
real memory  = 4227792896 (4031 MB)
avail memory = 4083822592 (3894 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-27 on motherboard
ioapic2  irqs 28-31 on motherboard
acpi0:  on motherboard
acpi0: Power Button (fixed)
pci_link0:  irq 5 on acpi0
pci_link1:  irq 9 on acpi0
pci_link2:  irq 11 on acpi0
pci_link3:  irq 10 on acpi0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0:  on acpi0
acpi_throttle0:  on cpu0
cpu1:  on acpi0
cpu2:  on acpi0
cpu3:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 6.0 on pci0
pci3:  on pcib1
ohci0:  mem 0xfeafc000-0xfeafcfff irq 19 at 
device 0.0 on pci3
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1:  mem 0xfeafd000-0xfeafdfff irq 19 at 
device 0.1 on pci3
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1:  on ohci1
usb1: USB revision 1.0
uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
atapci0:  port 
0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xac00-0xac03,0xa880-0xa88f
ata2:  on atapci0
ata3:  on atapci0
ata4:  on atapci0
ata5:  on atapci0
pci3:  at device 6.0 (no driver attached)
fxp0:  port 0xa800-0xa83f mem 
0xfeafb000-0xfeafbfff,0xfeaa-0xfeab irq 18 at
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:e0:81:41:62:0d
isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci1:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on pc
ata0:  on atapci1
ata1:  on atapci1
pci0:  at device 7.2 (no driver attached)
pci0:  at device 7.3 (no driver attached)
pcib2:  at device 10.0 on pci0
pci2:  on pcib2
bge0:  mem 
0xfc80-0xfc80,0xfc8f-0xfc8f
miibus1:  on bge0
brgphy0:  on miibus1
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge0: Ethernet address: 00:e0:81:41:62:4c
bge1:  mem 
0xfc83-0xfc83,0xfc82-0xfc82
miibus2:  on bge1
brgphy1:  on miibus2
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge1: Ethernet address: 00:e0:81:41:62:4d
pci0:  at device 10.1 (no driver 
attached)
pcib3:  at device 11.0 on pci0
pci1:  on pcib3
pci0:  at device 11.1 (no driver 
attached)
acpi_button0:  on acpi0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
fdc0:  port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on 
acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
ppc0:  port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
fdc0:  port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on 
acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
orm0:  at iomem 0xc-0xc7fff,0xc8000-0xcc7ff on isa0
atkbdc0:  at port 0x60,0x64 on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
ukbd0: Dell Dell USB Keyboard, rev 1.10/2.00, addr 2, iclass 3/1
kbd0 at ukbd0
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, 
default to accept, logging limited to
acd0: DVDR  at ata0-master UDMA66
ad4: 190782MB  at ata2-master SATA150
ad6: 190782MB  at ata3-master SATA150
ad8: 190782MB  at ata4-master SATA150
ad10: 190782MB  at ata5-master SATA150

RE: dual bge nics slow transfer - no transfer

2006-03-20 Thread fbsd_user
This was posted a few weeks back.

"net.inet.tcp.inflight.enable
If I set this value to 0, my bandwitdh problems are resolved."


Give this a try and post back if it solved your problem.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mark Busby
Sent: Monday, March 20, 2006 12:55 PM
To: freebsd-questions@freebsd.org
Subject: dual bge nics slow transfer - no transfer


I have a tyan k8wd with dual bge nics but they are painfully slow on
transfer rates.
  Is there something I need to put in the hints file to fix this??
  Thanks!

  dmesg output
  Copyright (c) 1992-2005 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 6.0-RELEASE #1: Tue Mar 14 05:43:23 CST 2006
[EMAIL PROTECTED]:/usr/src/sys/amd64/compile/QUAD
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Dual Core AMD Opteron(tm) Processor 270 (1989.05-MHz K8-class
CPU)
  Origin = "AuthenticAMD"  Id = 0x20f12  Stepping = 2

Features=0x178bfbff
  AMD Features=0xe2500800,LM,3DNow+,3DNow>
  Hyperthreading: 2 logical CPUs
real memory  = 4227792896 (4031 MB)
avail memory = 4083822592 (3894 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-27 on motherboard
ioapic2  irqs 28-31 on motherboard
acpi0:  on motherboard
acpi0: Power Button (fixed)
pci_link0:  irq 5 on acpi0
pci_link1:  irq 9 on acpi0
pci_link2:  irq 11 on acpi0
pci_link3:  irq 10 on acpi0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on
acpi0
cpu0:  on acpi0
acpi_throttle0:  on cpu0
cpu1:  on acpi0
cpu2:  on acpi0
cpu3:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 6.0 on pci0
pci3:  on pcib1
ohci0:  mem 0xfeafc000-0xfeafcfff irq
19 at device 0.0 on pci3
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1:  mem 0xfeafd000-0xfeafdfff irq
19 at device 0.1 on pci3
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1:  on ohci1
usb1: USB revision 1.0
uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
atapci0:  port
0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xac00-0xac03,0xa880-0xa88
f
ata2:  on atapci0
ata3:  on atapci0
ata4:  on atapci0
ata5:  on atapci0
pci3:  at device 6.0 (no driver attached)
fxp0:  port 0xa800-0xa83f mem
0xfeafb000-0xfeafbfff,0xfeaa-0xfeab irq 18 at
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:e0:81:41:62:0d
isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci1:  port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 7.1 on
pc
ata0:  on atapci1
ata1:  on atapci1
pci0:  at device 7.2 (no driver attached)
pci0:  at device 7.3 (no driver attached)
pcib2:  at device 10.0 on pci0
pci2:  on pcib2
bge0: 
mem 0xfc80-0xfc80,0xfc8f-0xfc8f
miibus1:  on bge0
brgphy0:  on miibus1
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseTX, 1000baseTX-FDX, auto
bge0: Ethernet address: 00:e0:81:41:62:4c
bge1: 
mem 0xfc83-0xfc83,0xfc82-0xfc82
miibus2:  on bge1
brgphy1:  on miibus2
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
1000baseTX, 1000baseTX-FDX, auto
bge1: Ethernet address: 00:e0:81:41:62:4d
pci0:  at device 10.1 (no
driver attached)
pcib3:  at device 11.0 on pci0
pci1:  on pcib3
pci0:  at device 11.1 (no
driver attached)
acpi_button0:  on acpi0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10
on acpi0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
fdc0:  port 0x3f0-0x3f5,0x3f7 irq 6
drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
ppc0:  port 0x378-0x37f irq 7 on
acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
fdc0:  port 0x3f0-0x3f5,0x3f7 irq 6
drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
orm0:  at iomem 0xc-0xc7fff,0xc8000-0xcc7ff on
isa0
atkbdc0:  at port 0x60,0x64 on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at 

Re: dual bge nics slow transfer - no transfer

2006-03-20 Thread Mike Tancsa
On Mon, 20 Mar 2006 09:55:29 -0800 (PST), in
sentex.lists.freebsd.questions you wrote:

>I have a tyan k8wd with dual bge nics but they are painfully slow on transfer 
>rates.
>  Is there something I need to put in the hints file to fix this?? 
>  Thanks!

Hi,
There are a lot of fixes to the bge driver in 6.1, as well as
other things. I would try there first and if there is still an issue,
post more details to the list on how you are testing.

---Mike



Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"