From owner-freebsd-net@FreeBSD.ORG Fri Aug 11 18:06:25 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3EF516A4DF for ; Fri, 11 Aug 2006 18:06:24 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2389F43DB7 for ; Fri, 11 Aug 2006 18:06:01 +0000 (GMT) (envelope-from jfvogel@gmail.com) Received: by py-out-1112.google.com with SMTP id c59so313650pyc for ; Fri, 11 Aug 2006 11:06:01 -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=hg8dpNx12i0UE/yLbvSPdtD48B5J6LFX5w+iSATZQ5Vw35/i0iHD6tMt8vGD2YL3Kmd9ygVttrrF9iIq8gA6faaJZ988WVmP6pZB9uP2xk1DC2pZjq+jxjf51GD1ke/xjtHuDcdTmMqq2TiCuCMPMkHml8ST4G8NxEyxhAHE7l8= Received: by 10.35.77.1 with SMTP id e1mr6581205pyl; Fri, 11 Aug 2006 11:06:00 -0700 (PDT) Received: by 10.35.119.1 with HTTP; Fri, 11 Aug 2006 11:06:00 -0700 (PDT) Message-ID: <2a41acea0608111106t6a6dcc84l35eb2cae5dbd42c1@mail.gmail.com> Date: Fri, 11 Aug 2006 11:06:00 -0700 From: "Jack Vogel" To: "Landon Fuller" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060811100536.V80282@k2.vol.cz> <20060811111240.GD96644@FreeBSD.org> <20060811133531.D80282@k2.vol.cz> <20060811125825.GH96644@cell.sick.ru> <2a41acea0608110922h4bed63b1ke09f91b610819805@mail.gmail.com> Cc: Daniel Ryslink , freebsd-net@freebsd.org Subject: Re: Problems with em interfaces on FreeBSD 6.1 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2006 18:06:25 -0000 On 8/11/06, Landon Fuller wrote: > > We saw this issue here on SMP systems running 6.1; I've been meaning > to set up a reproduction case in the lab and dig into the issue further. > Disabling the mpsafe network stack (debug.mpsafenet=0) is our > temporary work-around; rwatson mentioned that this has the effect of > forcing the interrupt handler for if_em to not run in parallel with > the transmit code, which is likely what caused the problem to disappear. Hmmm, I have code running right now that is required for new hardware, but I think will benefit all, that only has the hardware writeback and interrupt on the EOP descriptor. As it is now we have every descriptor written back. I havent had it put thru extensive tests yet, but I expect it to significantly reduce interrupts. I hope to be submitting this stuff together with TSO support to CURRENT soon, stay tuned. Jack Intel LAD