From owner-freebsd-current@FreeBSD.ORG Tue Nov 14 18:50:28 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5646B16A5D3 for ; Tue, 14 Nov 2006 18:50:28 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (smtp2.utsp.utwente.nl [130.89.2.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A46743D5C for ; Tue, 14 Nov 2006 18:50:26 +0000 (GMT) (envelope-from pieter@degoeje.nl) Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id kAEIoMox009928; Tue, 14 Nov 2006 19:50:22 +0100 From: Pieter de Goeje To: pyunyh@gmail.com Date: Tue, 14 Nov 2006 19:50:22 +0100 User-Agent: KMail/1.9.4 References: <20061111011051.GB5233@cdnetworks.co.kr> <200611131637.57216.pieter@degoeje.nl> <20061114000103.GA5517@cdnetworks.co.kr> In-Reply-To: <20061114000103.GA5517@cdnetworks.co.kr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611141950.22588.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: freebsd-current@freebsd.org Subject: Re: Call for re(4) TSO/VLAN testers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2006 18:50:28 -0000 On Tuesday 14 November 2006 01:01, Pyun YongHyeon wrote: > ATM re(4) uses still small number of Tx descriptors(i.e. 64 entries) > due to the hardware limitation of 8139C+. 8169 family can have > up to 1024 Tx descriptors. If we want to use more Tx descriptors > on 8169 the internal structure should be modified to support both > 8139C+ and 8169. I guess it would require major Tx path overhaul. > Because I have just plain PCI 8169 hardware I can't sure increasing > number of Tx descriptors on re(4) help Tx performance of the driver. So the 8169 has 64 Tx descriptors and the 8169S 1024? (dmesg 6-stable) re0: port 0xd000-0xd0ff mem 0xe8000000-0xe80000ff irq 17 at device 9.0 on pci0 miibus0: on re0 rgephy0: on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto > I guess 64 Tx descriptors are not sufficient to saturate giga bit > link. > Would please try attached patch and report the performance of patched > re(4) driver? Where can I find this patch? Regards, Pieter de Goeje