Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2012 14:49:41 -0800 (PST)
From:      Barney Cordoba <barney_cordoba@yahoo.com>
To:        Jim Thompson <jim@netgate.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: FreeBSD boxes as a 'router'...
Message-ID:  <1353451781.17468.YahooMailClassic@web121605.mail.ne1.yahoo.com>
In-Reply-To: <E1F4816E-676C-4630-9FA1-817F737D007D@netgate.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jim@netgate.com> wrote:

From: Jim Thompson <jim@netgate.com>
Subject: Re: FreeBSD boxes as a 'router'...
To: "Barney Cordoba" <barney_cordoba@yahoo.com>
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 <barney_cordoba@yahoo.com> 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: <owner-freebsd-net@FreeBSD.ORG>
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 <freebsd-net@freebsd.org>; 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 <freebsd-net@freebsd.org>; 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 <if@xip.at>
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>
 <E1F4816E-676C-4630-9FA1-817F737D007D@netgate.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 <freebsd-net.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net>;
List-Post: <mailto:freebsd-net@freebsd.org>
List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=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 
>> <barney_cordoba@yahoo.com> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1353451781.17468.YahooMailClassic>