From owner-freebsd-net@FreeBSD.ORG Tue Nov 20 22:52:36 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D9334FA0 for ; Tue, 20 Nov 2012 22:52:36 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: from nm9-vm2.bullet.mail.ne1.yahoo.com (nm9-vm2.bullet.mail.ne1.yahoo.com [98.138.90.157]) by mx1.freebsd.org (Postfix) with ESMTP id 81AB48FC08 for ; Tue, 20 Nov 2012 22:52:36 +0000 (UTC) Received: from [98.138.90.48] by nm9.bullet.mail.ne1.yahoo.com with NNFMP; 20 Nov 2012 22:49:42 -0000 Received: from [98.138.89.254] by tm1.bullet.mail.ne1.yahoo.com with NNFMP; 20 Nov 2012 22:49:41 -0000 Received: from [127.0.0.1] by omp1046.mail.ne1.yahoo.com with NNFMP; 20 Nov 2012 22:49:41 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 971595.71151.bm@omp1046.mail.ne1.yahoo.com Received: (qmail 18060 invoked by uid 60001); 20 Nov 2012 22:49:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1353451781; bh=phJrTASk8QjjPPq5ksQr9Bp3cU4mffb6tm1noqVk3A0=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=fs8mfzNFYj0npFW77OLIPaK1W8ApSBLEWRDWgICzorKGYRNoM9bJ8eaGHn3+UYnUm8K8djH8OHKJq0i59N9HOCbA/hpaR7Y3QMoHxunjpyYOsr/3R8Ba6hOPWV0sS9sdmETF/5JA987KbTkEbQFDqkI3g+LR51kEqmK/HR6NGGc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=OElCFUuXOam338ktQ6mtc+r9uHA5yVM7RvwkEVvFqP1fGB1Jqi084uYyLiIi8s/TqTSWVgbiJ1kQnQvu+dEDyUDOgrY3IY3+ieRvHrBwXJoxA7AArYRsJnJhhgntZqp0cWIwLoole38wu0r0daOWv/RnMpd0gA8cuVAAHQi1Mwg=; X-YMail-OSG: mv6AVjYVM1kbqtW.TGi1vszKG2vzIqnj0ZsoheZHkGU3654 AbA.V4Rem19K84citAz8Uc0sQJRBZCbrheDo3ea9IMz10vAI2t.ciVQzbIZK n61r_u30MkYZVesbRLLuyYctONG7SWA_WJzCciBRd.NFcp.QkIpTnjgeIlJy j_la5UfCh2r6A8neU3iKlzq2J8J7GtE4zPp81zZCF0UaUt41s_HZc2MpHLy6 UlyoVE2FiUsloHwKEDV_HncR8H4bxrUBWvDrgqTHxz5s0My..MBT_.0uSh9g 53qwVjBPuO3N0ykGMMNFqv0m1N7vJSAaWgo9pHJStdj3EUURAeOQ2pebAP3a U5Y6vx7rDWTcxz1ljDMn0GE.2PBwyR.fq9Adj7CyJkp.f0vlkE2n5EfdsrcE BucOH864oJgyhxI1L22RMjFDNil32iZIQ28mTUO6dzyQXzW0xJadJTkRcTMO s2HlRKi6.uF9zl.J3ocrFUXyyWWw2h8zNCfvXgQuUwErqSWerlJyHA6kGjVt bvMucYSkLDz_GpyxbV1faA6hKpJuKKQ-- Received: from [174.48.128.27] by web121605.mail.ne1.yahoo.com via HTTP; Tue, 20 Nov 2012 14:49:41 PST X-Rocket-MIMEInfo: 001.001, SXQncyBub3QgYW4gIm9waW5pb24iOyBpdCBvYnZpb3VzIHRvIGFueW9uZSB3aG8gaGFkIGEgbWlsZCB1bmRlcnN0YW5kIG9mIHdoYXQgcG9sbGluZ2lzLiBZb3UndmUgbmV2ZXIgY29tcGFyZWQgaXQgdG8gbW9kZXJhdGlvbiwgd2hpY2ggaXMgd2hhdCB5b3Ugc2hvdWxkIGJlIHVzaW5nLCBiZWNhdXNleW91IGRvbid0IHVuZGVyc3RhbmQgd2hhdCB5b3UncmUgZG9pbmcuDQpJZiB5b3Ugc2V0IGludGVycnVwdCBtb2RlcmF0aW9uIHRvIDIwMDAgaW50cy9zZWMsIHlvdSdyZSBkb2luZyBleGFjdGx5IHRoZSBzYW0BMAEBAQE- X-Mailer: YahooMailClassic/15.0.8 YahooMailWebService/0.8.126.470 Message-ID: <1353451781.17468.YahooMailClassic@web121605.mail.ne1.yahoo.com> Date: Tue, 20 Nov 2012 14:49:41 -0800 (PST) From: Barney Cordoba Subject: Re: FreeBSD boxes as a 'router'... To: Jim Thompson In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 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, 20 Nov 2012 22:52:37 -0000 It's not an "opinion"; it obvious to anyone who had a mild understand of wh= at pollingis. You've never compared it to moderation, which is what you sho= uld be using, becauseyou don't understand what you're doing. If you set interrupt moderation to 2000 ints/sec, you're doing exactly the = same thingas polling without the overheard. You're comparing polling to random tuning. Which is why I say that anyone w= ho=A0recommends polling doesn't really understand what they're doing. --- On Tue, 11/20/12, Jim Thompson wrote: From: Jim Thompson Subject: Re: FreeBSD boxes as a 'router'... To: "Barney Cordoba" Cc: khatfield@socllc.net, freebsd-net@freebsd.org Date: Tuesday, November 20, 2012, 5:42 PM On Nov 20, 2012, at 3:52 PM, Barney Cordoba wrot= e: Anyone who even mentions polling should be discounted altogether. Polling had value when you couldn't control the interrupt delays; but interrupt moderation allows you to pace the interrupts any way you like without the inefficiencies of polling. You're entitled to your opinion, but experimental results have tended to sh= ow yours incorrect. Jim From owner-freebsd-net@FreeBSD.ORG Tue Nov 20 23:11:33 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE90F630 for ; Tue, 20 Nov 2012 23:11:33 +0000 (UTC) (envelope-from if@xip.at) Received: from chile.gbit.at (ns1.xip.at [193.239.188.99]) by mx1.freebsd.org (Postfix) with ESMTP id 0735D8FC12 for ; Tue, 20 Nov 2012 23:11:31 +0000 (UTC) Received: (qmail 23628 invoked from network); 21 Nov 2012 00:04:47 +0100 Received: from fw.xip.at (HELO ?127.0.0.1?) (89.207.145.147) by chile.gbit.at with SMTP; 21 Nov 2012 00:04:47 +0100 Message-ID: <50AC0C92.8080603@xip.at> Date: Wed, 21 Nov 2012 00:04:50 +0100 From: Ingo Flaschberger User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: FreeBSD boxes as a 'router'... References: <1353448328.76219.YahooMailClassic@web121602.mail.ne1.yahoo.com> <50AC08EC.8070107@mu.org> In-Reply-To: <50AC08EC.8070107@mu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 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, 20 Nov 2012 23:11:33 -0000 Am 20.11.2012 23:49, schrieb Alfred Perlstein: > On 11/20/12 2:42 PM, Jim Thompson wrote: >> On Nov 20, 2012, at 3:52 PM, Barney Cordoba >> wrote: >> >> You're entitled to your opinion, but experimental results have tended >> to show yours incorrect. >> >> Jim > Agree with Jim. If you want pure packet performance you burn a core > to run a polling loop. At new systems, without polling I had better performance and no live-locks, at old systems (Intel 82541GI) polling prevent live-locks. Best test: Loop a GigE Switch, inject a Packet and plug it into the test-box. Kind regards, Ingo Flaschberger