From owner-freebsd-net@FreeBSD.ORG Tue Jan 15 14:25:31 2008 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 A735216A41B; Tue, 15 Jan 2008 14:25:31 +0000 (UTC) (envelope-from lolo@agneau.org) Received: from bergerie.agneau.org (bergerie.agneau.org [88.173.248.15]) by mx1.freebsd.org (Postfix) with ESMTP id 7F4C813C4CE; Tue, 15 Jan 2008 14:25:31 +0000 (UTC) (envelope-from lolo@agneau.org) Received: by bergerie.agneau.org (Postfix, from userid 500) id 2B4D8108A75; Tue, 15 Jan 2008 15:25:30 +0100 (CET) Date: Tue, 15 Jan 2008 15:25:30 +0100 From: Laurent Frigault To: Sepherosa Ziehau Message-ID: <20080115142530.GA25951@obelix.bergerie.agneau.org> References: <200801071728.m07HSsFl030966@freefall.freebsd.org> <20080114160756.GA7716@obelix.bergerie.agneau.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Powered-By: UUCP Cc: freebsd-net@freebsd.org, remko@freebsd.org Subject: Re: kern/119361: [bge] bge(4) transmit performance problem 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: Tue, 15 Jan 2008 14:25:31 -0000 On Tue, Jan 15, 2008 at 08:56:36AM +0800, Sepherosa Ziehau wrote: > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=119361 > > > > > > Have you tested polling(4)? If polling could give you better TX > > > performance, you should consider raise: > > > in bge_attach() > > > sc->bge_tx_max_coal_bds = 10; > > > to 64 or more > > > > I tested with polling and did not see any changes for the transmit > > performance problem. > > > > I just re-test with polling AND bge_tx_max_coal_bds raised to 64 => no > > changes. > > Please test following patch: > http://people.freebsd.org/~sephe/if_bge.c.6.diff I apply your patch and re-run the test (without and with polling) => no changes. Best Regards, -- Laurent Frigault | UNIX _IS_ user friendly. It's just selective about who its friends are.