Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2006 18:33:55 -0700
From:      "Nikolas Britton" <nikolas.britton@gmail.com>
To:        "Michael Vince" <mv@thebeastie.org>
Cc:        stable@freebsd.org, Gleb Smirnoff <glebius@freebsd.org>
Subject:   Re: em(4) update for 6-STABLE
Message-ID:  <ef10de9a0608061833v4677bb5ag9d5a81a98f8485dc@mail.gmail.com>
In-Reply-To: <44D6884C.20903@thebeastie.org>
References:  <20060803100341.GQ96644@FreeBSD.org> <ef10de9a0608031614y171d0c85g498cc9893dbbd714@mail.gmail.com> <20060804091645.GS96644@cell.sick.ru> <44D6884C.20903@thebeastie.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/6/06, Michael Vince <mv@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@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@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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef10de9a0608061833v4677bb5ag9d5a81a98f8485dc>