From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 21 19:17:50 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2BF716A420 for ; Tue, 21 Feb 2006 19:17:50 +0000 (GMT) (envelope-from nielsen-list@memberwebs.com) Received: from mail.npubs.com (mail.npubs.com [209.66.100.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C85443D46 for ; Tue, 21 Feb 2006 19:17:50 +0000 (GMT) (envelope-from nielsen-list@memberwebs.com) From: Nate Nielsen User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeLSD References: <20060221165456.GZ44603@rea.mbslab.kiae.ru> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Message-Id: <20060221192719.CD61EDCA992@mail.npubs.com> X-Virus-Scanned: ClamAV using ClamSMTP Date: Tue, 21 Feb 2006 19:27:22 +0000 (GMT) Cc: hackers@freebsd.org Subject: Re: FreeBSD-6 and em interface speed X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nielsen@memberwebs.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2006 19:17:50 -0000 FreeLSD wrote: > Good day! > I've obtained the following strang results with the em Ethernet interface > speeds on a 6.1-PRERELEASE: > Polling on: > UDP stream to FreeBSD: 327843.84 Kbit/sec, > TCP stream to FreeBSD: 524550.12 Kbit/sec. > Polling off: > UDP stream to FreeBSD: 740409.38 Kbit/sec, > TCP stream to FreeBSD: 794348.44 Kbit/sec. Probably due to the test tool you're using. Does the tool serialize the UDP stream (ie: wait for a response for each packet)? In many cases polling will slow down an individual stream slightly, while upping the total throughput (hundreds of streams). In addition if your CPU and bus is fast enough to handle the interrupt rate (well behaved NICs mitigate interrupts) then polling will slow things down in most cases. BTW, this should go on freebsd-net. Cheers, Nate