Date: Fri, 6 Feb 2009 14:51:56 +0800 From: Sepherosa Ziehau <sepherosa@gmail.com> To: Alexander Usov <a182ot@gmail.com> Cc: freebsd-hardware@freebsd.org Subject: Re: bge0 performance and bge1 media problem on Asus RS100-E5-PI2 Message-ID: <ea7b9c170902052251j19bc48b8w36ba564f66e3facf@mail.gmail.com> In-Reply-To: <303e29800902052130j52680d6ep56ce67f0a27ce257@mail.gmail.com> References: <303e29800902052130j52680d6ep56ce67f0a27ce257@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 6, 2009 at 1:30 PM, Alexander Usov <a182ot@gmail.com> wrote: > $uname -a > FreeBSD DHCP10 7.1-STABLE FreeBSD 7.1-STABLE #1: Tue Jan 20 12:59:59 UTC > 2009 root@dhcp10:/usr/obj/usr/src/sys/DHCP amd64 > > $ pciconf -lv | grep -A 3 bge > bge0@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ea7b9c170902052251j19bc48b8w36ba564f66e3facf>