From owner-freebsd-net@FreeBSD.ORG Tue Jan 15 00:56:37 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 BDD0616A417 for ; Tue, 15 Jan 2008 00:56:37 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.224]) by mx1.freebsd.org (Postfix) with ESMTP id 6F1AB13C45A for ; Tue, 15 Jan 2008 00:56:37 +0000 (UTC) (envelope-from sepherosa@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so1026652nzf.13 for ; Mon, 14 Jan 2008 16:56:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=fE5TLj4POPjtlTXkqz9PHTmqJK6BXZfVLRZc5tZ7+GA=; b=L98xDmt+Sh5J2rHNL3fvzb/3bmpPn51IC+XeVlAKnIA2bvXsxLJx2IKI1dzbTDHH8KrHGxfNJujg2WLg9EVhf44hKm5dSIugCKVSNZcoLoI3XjPOUdVSOrqftieo+RS3FmsFakuVVM/9z0QEFbrnnSFvFD/L6yK/oMRYMtfIgrs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qRtjtCAdrwVqrkswaq+CKhuY2K+JAv8bM7TfmRH5EinyUXQ/mtycKeUP9nm6T55o6eu1dji2f2CvQy4fbbtiMW7bKRrj4WfCxjdrCAlH39OPe02EJuFO/7t19dEfxQRzn7hh/6sCo+iCM7VTs2/l+AibGKGhBBfPoUGXDkG4Gug= Received: by 10.142.222.21 with SMTP id u21mr2908843wfg.128.1200358596148; Mon, 14 Jan 2008 16:56:36 -0800 (PST) Received: by 10.142.162.20 with HTTP; Mon, 14 Jan 2008 16:56:36 -0800 (PST) Message-ID: Date: Tue, 15 Jan 2008 08:56:36 +0800 From: "Sepherosa Ziehau" To: "Laurent Frigault" In-Reply-To: <20080114160756.GA7716@obelix.bergerie.agneau.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200801071728.m07HSsFl030966@freefall.freebsd.org> <20080114160756.GA7716@obelix.bergerie.agneau.org> 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 00:56:37 -0000 On Jan 15, 2008 12:07 AM, Laurent Frigault wrote: > On Fri, Jan 11, 2008 at 10:02:34PM +0800, Sepherosa Ziehau wrote: > > On Jan 8, 2008 1:28 AM, wrote: > > > Synopsis: [bge] bge(4) transmit performance problem > > > > > > Responsible-Changed-From-To: freebsd-bugs->freebsd-net > > > Responsible-Changed-By: remko > > > Responsible-Changed-When: Mon Jan 7 17:28:37 UTC 2008 > > > Responsible-Changed-Why: > > > reassign to -net team > > > > > > 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 Best Regards, sephe -- Live Free or Die