From owner-freebsd-isp@FreeBSD.ORG Fri Oct 14 21:28:14 2005 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9E2F16A41F for ; Fri, 14 Oct 2005 21:28:14 +0000 (GMT) (envelope-from danial_thom@yahoo.com) Received: from web33311.mail.mud.yahoo.com (web33311.mail.mud.yahoo.com [68.142.206.126]) by mx1.FreeBSD.org (Postfix) with SMTP id 0E84043D6B for ; Fri, 14 Oct 2005 21:28:08 +0000 (GMT) (envelope-from danial_thom@yahoo.com) Received: (qmail 1780 invoked by uid 60001); 14 Oct 2005 21:28:08 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=wWIwMeZgnjDJvP9R6PWYDbolO2zdcwhE+uT75CsGWey+Q6LkfRgtQhLU6MTJfXEJ+T8OQnMYYb8hWGmENk0VXROCGj+qZraP3VknXRu9xoinnIJDR2dR2kXi5lIwQePakN20llsf712cHEy5kfyOv1ey8Sh1MSbUFQKMRvUmfQA= ; Message-ID: <20051014212808.1778.qmail@web33311.mail.mud.yahoo.com> Received: from [24.47.89.83] by web33311.mail.mud.yahoo.com via HTTP; Fri, 14 Oct 2005 14:28:08 PDT Date: Fri, 14 Oct 2005 14:28:08 -0700 (PDT) From: Danial Thom To: Kurt Jaeger In-Reply-To: <20051014181239.GC62233@complx.LF.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-isp@freebsd.org, Drew Linsalata Subject: Re: Multiport NICs - VLAN and Polling Support? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: danial_thom@yahoo.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2005 21:28:15 -0000 --- Kurt Jaeger wrote: > Hi! > > > polling is almost never a performance > advantage > > for ethernet, as virtually all modern > controllers > > have some sort of interrupt moderation > built-in. > > We had the case on fbsd 5.4p7 with SMP where > bge drivers produced > much slower throughput if we did not use > polling. We measured using > ttcp and the difference was from 2-3Mbyte/sec > to 11 Mbyte/sec. > > Yes, it used more CPU, but for that increase in > throughput, it > was worth the expense. > > So it looks a bit strange from my part of the > world to. > > -- > MfG/Best regards, Kurt Jaeger You have some other forces are work there obviously. There is no possible way that polling would yield a 5 fold increase in performance. You're still using the same cpu to do the tasks. 11MG/s is such a small number of packets that it wouldn't generate enough interrrupts to make much difference to a modern processor. Thats what happens when you use benchmarks. Benchmarks are BS. Probably one of the many "features" that FreeBSD 5.x offers. It likely it has more to do with FreeBSD 5s handling of interrupts in an SMP environment than anything having to do with polling. DT Danial __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com