From owner-freebsd-stable@FreeBSD.ORG Mon Aug 7 01:33:59 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CAFF16A4E1 for ; Mon, 7 Aug 2006 01:33:59 +0000 (UTC) (envelope-from nikolas.britton@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCB4343D5D for ; Mon, 7 Aug 2006 01:33:56 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by nf-out-0910.google.com with SMTP id g2so1205543nfe for ; Sun, 06 Aug 2006 18:33:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DHv3l6NUZcuJ+sy9WmaC5cwjI2+4+6mGQ5ziZP6bld4hyy0QKpCPnGbwwDc+QZ4O26aHUyFZO3ZeAfMa5zDQN3JSx5JBWKSI5BlEkjItENL5EzZtDceXv18vX24cbrfmBKm/mYMuhrXlsLVJBDRYTAqw9xQXCmKZbCH9i4j8BQ8= Received: by 10.78.170.17 with SMTP id s17mr2102692hue; Sun, 06 Aug 2006 18:33:55 -0700 (PDT) Received: by 10.78.143.11 with HTTP; Sun, 6 Aug 2006 18:33:55 -0700 (PDT) Message-ID: Date: Sun, 6 Aug 2006 18:33:55 -0700 From: "Nikolas Britton" To: "Michael Vince" In-Reply-To: <44D6884C.20903@thebeastie.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060803100341.GQ96644@FreeBSD.org> <20060804091645.GS96644@cell.sick.ru> <44D6884C.20903@thebeastie.org> Cc: stable@freebsd.org, Gleb Smirnoff Subject: Re: em(4) update for 6-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2006 01:33:59 -0000 On 8/6/06, Michael Vince 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: 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: 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 mtu 9000 options=b 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 status: active em1: flags=8843 mtu 9000 options=b inet6 fe80::230:48ff:fe30:99c9%em1 prefixlen 64 scopeid 0x2 ether 00:30:48:30:99:c9 media: Ethernet 1000baseTX (autoselect) status: no carrier -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/