From owner-freebsd-stable@FreeBSD.ORG Fri Oct 20 16:50:50 2006 Return-Path: X-Original-To: freebsd-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 1572C16A492 for ; Fri, 20 Oct 2006 16:50:50 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2898E43D5C for ; Fri, 20 Oct 2006 16:50:49 +0000 (GMT) (envelope-from jfvogel@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so186973pye for ; Fri, 20 Oct 2006 09:50:39 -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=myo6XPVMwHP1bfQbV1vxojgoyXzd1QtimVqMgPHRbGdd4G2f0sewO4H6faz1MATZ33MsOOxBXbfrm0TZQFfKp0MTI9uZ9jQR4qRWZIswv+VOUlX4VSiKn5O/pjVEWR48UQ3lI/9llkGbH+QDFBfC2FxkTz6577/LtCdcG65VrRY= Received: by 10.35.84.12 with SMTP id m12mr890838pyl; Fri, 20 Oct 2006 09:50:38 -0700 (PDT) Received: by 10.35.119.1 with HTTP; Fri, 20 Oct 2006 09:50:38 -0700 (PDT) Message-ID: <2a41acea0610200950o1860ec9alf4103be192e49786@mail.gmail.com> Date: Fri, 20 Oct 2006 09:50:38 -0700 From: "Jack Vogel" To: "Bill Paul" In-Reply-To: <20061020163800.DB21C16A47B@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2a41acea0610191423q537834cfo2d0f2741fa8e8d63@mail.gmail.com> <20061020163800.DB21C16A47B@hub.freebsd.org> Cc: freebsd-stable@freebsd.org, kris@obsecurity.org Subject: Re: em network issues 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: Fri, 20 Oct 2006 16:50:50 -0000 On 10/20/06, Bill Paul wrote: > [Charset ISO-8859-1 unsupported, filtering to ASCII...] > > On 10/19/06, Kris Kennaway wrote: > > > On Thu, Oct 19, 2006 at 02:18:13PM -0700, Jack Vogel wrote: > > > > The engineer in our test group has installed 6.2 BETA2 and attempted via a > > > > number of tests to reproduce this problem, the machine even shares the em > > > > interrupt with usb, and yet so far he has been unsuccessful. > > > > > > What tests is he running? > > > > He tried doing something Kip said reliably repro'd the issue, building a big > > source archive over NFS. Then he has been running a continuous NFS data > > back and forth copy since, that is still ongoing. > > > > Other suggestions? > > > > Jack > > > > Just out of curiosity, what sort of torture tests does Intel do, in > general, on the em driver on FreeBSD? One thing that I've found which > works wonders at exposing race conditions is the Smartbits bi-directional > IP forwarding test. Put two NICs in a system, configure for it for IP > forwarding, then connect the Smartbits to each port and run the > SmartApps router test in bi-directional mode. At 64 bytes per frame, > it will try to push 2.96 million packets/second through both ports > simultaneously (1.48 million in each direction). Of course, you won't > actually be able to forward all the traffic, but the interfaces (not > to mention the OS) should continue running regardless. > > This test exercises both the RX and TX paths and generates hundreds of > thousands of interrupts per second. You'd be amazed at the sort of > things you can discover with it. The downside of course is that a > Smartbits with gigE ports isn't cheap, but I'd be surprised if Intel > didn't have one kicking around somewhere. Oh sure, they have Smartbits and a host of other hardware, but remember that this group tests Windows, Linux, FreeBSD, and a number of special case stuff. And guess what gets the most attention.... uhuh it isnt us :) The good thing is I believe most of the same battery of tests that run on Linux also get run against FreeBSD, so its significant, but something like what you are talking about is probably only done when there's a problem being investigated. Also, its a different org in our division, I dont know the details of all the tests they run, but they provide me with a steady stream of bug reports so they ARE doing their job :) Jack