From owner-freebsd-net@FreeBSD.ORG Mon Jul 31 17:22:03 2006 Return-Path: X-Original-To: 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 14FD316A4DD; Mon, 31 Jul 2006 17:22:03 +0000 (UTC) (envelope-from pete@he.iki.fi) Received: from silver.he.iki.fi (helenius.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BB0343D68; Mon, 31 Jul 2006 17:21:57 +0000 (GMT) (envelope-from pete@he.iki.fi) Received: from localhost (localhost [127.0.0.1]) by silver.he.iki.fi (Postfix) with ESMTP id 8F85DBBFB; Mon, 31 Jul 2006 20:21:53 +0300 (EEST) Received: from silver.he.iki.fi ([127.0.0.1]) by localhost (silver.he.iki.fi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1ZGb9qUh8C8P; Mon, 31 Jul 2006 20:21:50 +0300 (EEST) Received: from [IPv6:2001:670:84:0:2410:b116:d67f:84b] (unknown [IPv6:2001:670:84:0:2410:b116:d67f:84b]) by silver.he.iki.fi (Postfix) with ESMTP; Mon, 31 Jul 2006 20:21:50 +0300 (EEST) Message-ID: <44CE3C2E.80007@he.iki.fi> Date: Mon, 31 Jul 2006 20:21:50 +0300 From: Petri Helenius User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Robert Watson References: <20060731180643.E71432@fledge.watson.org> In-Reply-To: <20060731180643.E71432@fledge.watson.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: arch@freebsd.org, net@freebsd.org, John Polstra Subject: Re: Changes in the network interface queueing handoff model 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: Mon, 31 Jul 2006 17:22:03 -0000 Robert Watson wrote: > > I tend to agree, but implemented full queueing support for if_em to > make sure I understood to complexity implications of completely > removing queueing from the ifnet side dispatch. I guess an > interesting question for us is how we decide what the right threshold > is to implement software queuing. Do any if_em cards need software > queueing, or do they all have adequate in-hardware queues as is? > Entirely cutting the queue code would significantly simplify > em_startmbuf. Actually most em cards support 4096 descriptors each way. Pete