From owner-freebsd-net Tue Nov 27 9:13:23 2001 Delivered-To: freebsd-net@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 1624137B416 for ; Tue, 27 Nov 2001 09:13:18 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.3/8.11.1) id fARH97X99724; Tue, 27 Nov 2001 09:09:07 -0800 (PST) (envelope-from rizzo) Date: Tue, 27 Nov 2001 09:09:07 -0800 From: Luigi Rizzo To: Mike Tancsa Cc: net@FreeBSD.ORG Subject: Re: Revised polling code (some stats) Message-ID: <20011127090907.A99632@iguana.aciri.org> References: <5.1.0.14.0.20011127113111.04f0b390@marble.sentex.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.0.20011127113111.04f0b390@marble.sentex.ca> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Nov 27, 2001 at 11:56:45AM -0500, Mike Tancsa wrote: > > Hi, just as an FYI, I did some simple tests using netperf of the polling > code. On first blush, it does look quite nice. I am going to try and well, the throughput numbers seems essentially unmodified, which is not surprising given that with large packet sizes your hardware should be able to bear the load. I have to say that 60Mbit/s for TCP seems a bit low given your hardware, i wonder if you are using half-duplex link (this would explain the huge number of errors in the udp test). If so, you should really re-run the test with full-duplex. cheers luigi > Local /Remote > Socket Size Request Resp. Elapsed Trans. > Send Recv Size Size Time Rate > bytes Bytes bytes bytes secs. per sec > > 9216 42080 1 1 59.99 10398.39 +POLL > 9216 42080 1 1 59.99 9248.39 > > > /usr/local/netperf/netperf -t UDP_RR -l 60 -H 10.1.1.1 -i 10,3 -I 99,5 -- > -r 516,4 > UDP REQUEST/RESPONSE TEST to 10.1.1.1 : +/-2.5% @ 99% conf. : histogram > Local /Remote > Socket Size Request Resp. Elapsed Trans. > Send Recv Size Size Time Rate > bytes Bytes bytes bytes secs. per sec > > 9216 42080 516 4 59.99 5857.40 +POLL > 9216 42080 516 4 59.99 5482.58 > > > > /usr/local/netperf/netperf -t UDP_STREAM -l 60 -H 10.1.1.1 -i 10,3 -I 99,5 > -- -s 32768 -S 32768 -m 4096 > > UDP UNIDIRECTIONAL SEND TEST to 10.1.1.1 : +/-2.5% @ 99% conf. : histogram > Socket Message Elapsed Messages > Size Size Time Okay Errors Throughput > bytes bytes secs # # 10^6bits/sec > > 32768 4096 59.99 115161 10324576 62.90 +POLL > 32768 59.99 114009 62.27 +POLL > 32768 4096 59.99 108361 7401883 59.19 > 32768 59.99 108342 59.18 > > 32768 1024 59.99 478638 13513083 65.36 +POLL > 32768 59.99 478475 65.34 +POLL > 32768 1024 59.99 452463 8759390 61.79 > 32768 59.99 451930 61.71 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message