em(4) update for 6-STABLE
Nikolas Britton
nikolas.britton at gmail.com
Mon Aug 7 01:33:59 UTC 2006
On 8/6/06, Michael Vince <mv at thebeastie.org> wrote:
> Gleb Smirnoff wrote:
>
> >On Thu, Aug 03, 2006 at 04:14:35PM -0700, Nikolas Britton wrote:
> >N> >First, it significantly improves perfromance of the driver
> >N> >under high pps load.
> >N> >Second, it adds support for few new chips.
> >N> >
> >N> >You need to update your system to fresh RELENG_6. The driver
> >N> >will not compile on 6.1-RELEASE.
> >N>
> >N> Why will it not compile on 6.1?
> >
> >Because it uses new taskqueue API not yet present in 6.1-RELEASE.
> >
> >
> >
> Sounds good,
> I will have to wait till 6.2release before using it, Stable just isn't
> as stable as it used to be.
> I look forward to em benchmarking.
>
What's that remark for? anyhow... The new driver works well, 80.8MB/s
with netcat... IIRC /dev/zero is 4k reads so that's pretty good, yes?
Here's the netcat test:
Host1: nc -4kl port > /dev/null
Host2: nc host1 port < /dev/zero
Use 'systat -if' to mesure MB/s.
Pciconf:
em0 at pci6:0:0: class=0x020000 card=0x000015d9 chip=0x10968086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = 'PRO/1000 EB Network Connection'
class = network
subclass = ethernet
em1 at pci6:0:1: class=0x020000 card=0x000015d9 chip=0x10968086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = 'PRO/1000 EB Network Connection'
class = network
subclass = ethernet
Dmesg:
em0: <Intel(R) PRO/1000 Network Connection Version - 6.0.5> port
0x2000-0x201f mem 0xc8200000-0xc821ffff irq 18 at device 0.0 on pci6
em0: Ethernet address: 00:30:48:30:99:c8
em0: [FAST]
em1: <Intel(R) PRO/1000 Network Connection Version - 6.0.5> port
0x2020-0x203f mem 0xc8220000-0xc823ffff irq 19 at device 0.1 on pci6
em1: Ethernet address: 00:30:48:30:99:c9
em1: [FAST]
Rc.conf:
ifconfig_em0="DHCP mtu 9000 media 1000baseTX mediaopt full-duplex"
ifconfig_em1="DHCP mtu 9000 media 1000baseTX mediaopt full-duplex"
Ifconfig:
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 9000
options=b<RXCSUM,TXCSUM,VLAN_MTU>
inet6 fe80::230:48ff:fe30:99c8%em0 prefixlen 64 scopeid 0x1
inet 192.168.1.241 netmask 0xffffff00 broadcast 192.168.1.255
ether 00:30:48:30:99:c8
media: Ethernet 1000baseTX <full-duplex>
status: active
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 9000
options=b<RXCSUM,TXCSUM,VLAN_MTU>
inet6 fe80::230:48ff:fe30:99c9%em1 prefixlen 64 scopeid 0x2
ether 00:30:48:30:99:c9
media: Ethernet 1000baseTX <full-duplex> (autoselect)
status: no carrier
--
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/
More information about the freebsd-stable
mailing list