From owner-freebsd-net@FreeBSD.ORG Fri Jul 3 00:49:44 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBC4E1065673 for ; Fri, 3 Jul 2009 00:49:44 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-px0-f194.google.com (mail-px0-f194.google.com [209.85.216.194]) by mx1.freebsd.org (Postfix) with ESMTP id 98B578FC0A for ; Fri, 3 Jul 2009 00:49:44 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by pxi32 with SMTP id 32so933477pxi.7 for ; Thu, 02 Jul 2009 17:49:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=OWfe9eFKFWDmLDmyos/vwHlkz8nGLGoIdpIbS1ZzuoE=; b=p0o6g79u4Wu4Ok7APTrXG6DaCqyzYo4iI7E7S+EnGq/Eu5RxA+G67K1GSQ0YHHrs79 nMatrq+khJ5qEACn+IRNwunXDvCulNRULndlptQyyyI/Wq0bA9fbUXxh7vQBWifHJRM6 hmweqFQcPRV25PPUx534nyu/c8usAf6bP9d+o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=Qp/t8OgPt6lDLtCxqekeSoaoujeTjiKKPuGlL6XXw4LSYBI3c8hq2Qifxh9X60pPu0 7pPwspKHgCRwIkQxKUeIARGyyjGaisTh7XcZCJcOiOEOblKWtL080SnPbFP0K4VpNsvl SCMwnqcZtWCrb5pxXjHaLgrvQIRspEgGx1zpc= Received: by 10.141.40.20 with SMTP id s20mr23077rvj.213.1246582184085; Thu, 02 Jul 2009 17:49:44 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ([114.111.62.249]) by mx.google.com with ESMTPS id g14sm13452326rvb.14.2009.07.02.17.49.41 (version=SSLv3 cipher=RC4-MD5); Thu, 02 Jul 2009 17:49:42 -0700 (PDT) Received: by michelle.cdnetworks.co.kr (sSMTP sendmail emulation); Fri, 3 Jul 2009 09:47:50 +0900 From: Pyun YongHyeon Date: Fri, 3 Jul 2009 09:47:50 +0900 To: Larry Baird Message-ID: <20090703004750.GH13137@michelle.cdnetworks.co.kr> References: <806553.16497.qm@web63903.mail.re1.yahoo.com> <20090702153151.GB93332@gta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090702153151.GB93332@gta.com> User-Agent: Mutt/1.4.2.3i Cc: Barney Cordoba , Paul Thornton , freebsd-net@freebsd.org Subject: Re: Polling and kern.polling.idle_poll X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2009 00:49:45 -0000 On Thu, Jul 02, 2009 at 11:31:51AM -0400, Larry Baird wrote: > > Curious as to why you don't simply lay out the $40 for a modern ethernet card that doesn't need polling to work well? > These are low end embedded boxs. No way to upgrade. But in actuallity > they have modern (fxp) NICS. From our testing, live lock is a real issue Lack of intelligent interrupt mitigation is a weak point of fxp(4) hardwares. You may not need poling(4) any more on recent PCIe based fast ethernet controllers. > for gateways receiving lots of network traffic. Polling prevents live > lock. > And it may also add additional latencies. > Larry