bge0 performance and bge1 media problem on Asus RS100-E5-PI2
Sepherosa Ziehau
sepherosa at gmail.com
Thu Feb 5 23:20:06 PST 2009
On Fri, Feb 6, 2009 at 1:30 PM, Alexander Usov <a182ot at gmail.com> wrote:
> $uname -a
> FreeBSD DHCP10 7.1-STABLE FreeBSD 7.1-STABLE #1: Tue Jan 20 12:59:59 UTC
> 2009 root at dhcp10:/usr/obj/usr/src/sys/DHCP amd64
>
> $ pciconf -lv | grep -A 3 bge
> 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
> --
> bge1 at pci0:2:0:0: class=0x020000 card=0x81491043 chip=0x165914e4 rev=0x21
> hdr=0x00
> vendor = 'Broadcom Corporation'
> device = 'BCM5721 NetXtreme Gigabit Ethernet PCI Express'
> class = network
>
> # iperf -s -p 1111
> ------------------------------------------------------------
> Server listening on TCP port 1111
> TCP window size: 64.0 KByte (default)
> ------------------------------------------------------------
> [ 4] local 10.100.30.7 port 1111 connected with 10.100.30.8 port 58205
> [ ID] Interval Transfer Bandwidth
> [ 4] 0.0-10.2 sec 622 MBytes 509 Mbits/sec
> [ 5] local 10.100.30.7 port 1111 connected with 10.100.30.8 port 52206
> [ ID] Interval Transfer Bandwidth
> [ 5] 0.0-18.1 sec 1.07 GBytes 509 Mbits/sec
> [ 4] local 10.100.30.7 port 1111 connected with 10.100.30.8 port 62863
> [ ID] Interval Transfer Bandwidth
> [ 4] 0.0-184.4 sec 10.9 GBytes 509 Mbits/sec
>
> I use ULE and BSD with/without polling, but i can transmit at ~509 Mbits/sec
>
> bge1 forced only 100baseTX duplex-full... bge1 forced 1000baseTX duplex-full
I had a patch for PCIE bge(4) to improve TX performance, you could
give it a try (you may need to hand patch it, since the patch itself
is quite old, back to mid 2008)
http://people.freebsd.org/~sephe/bge.diff
Best Regards,
sephe
--
Live Free or Die
More information about the freebsd-hardware
mailing list