Re: FreeBSD 10G forwarding performance @Intel

2012-07-03 Thread Alexander V. Chernikov
On 04.07.2012 01:29, Doug Barton wrote: On 07/03/2012 14:44, Luigi Rizzo wrote: On Tue, Jul 03, 2012 at 02:19:06PM -0700, Doug Barton wrote: Just curious ... what's the MTU on your FreeBSD box, and the Linux box? he is (correctly) using min-sized packets, and counting packets not bps. In thi

Re: FreeBSD 10G forwarding performance @Intel

2012-07-03 Thread Doug Barton
On 07/03/2012 14:44, Luigi Rizzo wrote: > On Tue, Jul 03, 2012 at 02:19:06PM -0700, Doug Barton wrote: >> Just curious ... what's the MTU on your FreeBSD box, and the Linux box? > > he is (correctly) using min-sized packets, and counting packets not bps. Yes, I know. That wasn't what I asked.

Re: FreeBSD 10G forwarding performance @Intel

2012-07-03 Thread Luigi Rizzo
On Tue, Jul 03, 2012 at 02:19:06PM -0700, Doug Barton wrote: > Just curious ... what's the MTU on your FreeBSD box, and the Linux box? he is (correctly) using min-sized packets, and counting packets not bps. cheers luigi ___ freebsd-net@freebsd.org mai

Re: FreeBSD 10G forwarding performance @Intel

2012-07-03 Thread Doug Barton
Just curious ... what's the MTU on your FreeBSD box, and the Linux box? (also, please don't cross-post to so many lists) :) Doug ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail

Re: FreeBSD 10G forwarding performance @Intel

2012-07-03 Thread Luigi Rizzo
On Wed, Jul 04, 2012 at 12:31:56AM +0400, Alexander V. Chernikov wrote: > On 04.07.2012 00:27, Luigi Rizzo wrote: > >On Tue, Jul 03, 2012 at 09:37:38PM +0400, Alexander V. Chernikov wrote: > >... > >>Thanks, another good point. I forgot to merge this option from andre's > >>patch. > >> > >>Another

Re: FreeBSD 10G forwarding performance @Intel

2012-07-03 Thread Alexander V. Chernikov
On 04.07.2012 00:27, Luigi Rizzo wrote: On Tue, Jul 03, 2012 at 09:37:38PM +0400, Alexander V. Chernikov wrote: ... Thanks, another good point. I forgot to merge this option from andre's patch. Another 30-40-50kpps to win. not much gain though. What about the other IPSTAT_INC counters ? Well,

Re: FreeBSD 10G forwarding performance @Intel

2012-07-03 Thread Luigi Rizzo
On Tue, Jul 03, 2012 at 09:37:38PM +0400, Alexander V. Chernikov wrote: ... > Thanks, another good point. I forgot to merge this option from andre's > patch. > > Another 30-40-50kpps to win. not much gain though. What about the other IPSTAT_INC counters ? I think the IPSTAT_INC macros were intro

Re: net.inet.tcp.hostcache.list: RTTVAR value

2012-07-03 Thread Mikolaj Golub
On Mon, 02 Jul 2012 15:04:10 +0200 Andre Oppermann wrote: AO> On 01.07.2012 18:30, Mikolaj Golub wrote: >> Hi, >> >> It looks for me that in the calculation of RTTVAR value for >> net.inet.tcp.hostcache.list sysctl a wrong scale is used: TCP_RTT_SCALE >> instead of TCP_RTTVAR_SCALE. See the

Re: FreeBSD 10G forwarding performance @Intel

2012-07-03 Thread Alexander V. Chernikov
On 03.07.2012 20:55, Luigi Rizzo wrote: On Tue, Jul 03, 2012 at 08:11:14PM +0400, Alexander V. Chernikov wrote: Hello list! I'm quite stuck with bad forwarding performance on many FreeBSD boxes doing firewalling. ... In most cases system can forward no more than 700 (or 1400) kpps which is qu

Re: FreeBSD 10G forwarding performance @Intel

2012-07-03 Thread Luigi Rizzo
On Tue, Jul 03, 2012 at 08:11:14PM +0400, Alexander V. Chernikov wrote: > Hello list! > > I'm quite stuck with bad forwarding performance on many FreeBSD boxes > doing firewalling. ... > In most cases system can forward no more than 700 (or 1400) kpps which > is quite a bad number (Linux does, s

FreeBSD 10G forwarding performance @Intel

2012-07-03 Thread Alexander V. Chernikov
Hello list! I'm quite stuck with bad forwarding performance on many FreeBSD boxes doing firewalling. Typical configuration is E5645 / E5675 @ Intel 82599 NIC. HT is turned off. (Configs and tunables below). I'm mostly concerned with unidirectional traffic flowing to single interface (e.g. us

Re: ipfw table support for ipv6

2012-07-03 Thread Alexander V. Chernikov
On 03.07.2012 16:55, Andreas Nilsson wrote: On Tue, Jul 3, 2012 at 1:53 PM, Alexander V. Chernikov mailto:melif...@freebsd.org>> wrote: Well, June 12 is newer than April 23, but perhaps it was commited to 10-current and awaiting mfc to 9-stable (and hopefully 9.1)? Actually this was MFC to 9-

Re: ipfw table support for ipv6

2012-07-03 Thread Andreas Nilsson
On Tue, Jul 3, 2012 at 1:53 PM, Alexander V. Chernikov wrote: > On 03.07.2012 15:50, Andreas Nilsson wrote: > >> >> On Tue, Jul 3, 2012 at 1:34 PM, Alexander V. Chernikov >> mailto:melif...@freebsd.org>> wrote: >> >> On 03.07.2012 15:32, Andreas Nilsson wrote: >> >> I just wondered wh

Re: ipfw table support for ipv6

2012-07-03 Thread Alexander V. Chernikov
On 03.07.2012 15:50, Andreas Nilsson wrote: On Tue, Jul 3, 2012 at 1:34 PM, Alexander V. Chernikov mailto:melif...@freebsd.org>> wrote: On 03.07.2012 15:32, Andreas Nilsson wrote: I just wondered what the status of table support for ipv6 in ipfw is? "working" And comm

Re: ipfw table support for ipv6

2012-07-03 Thread Andreas Nilsson
On Tue, Jul 3, 2012 at 1:34 PM, Alexander V. Chernikov wrote: > On 03.07.2012 15:32, Andreas Nilsson wrote: > >> I just wondered what the status of table support for ipv6 in ipfw is? >> > "working" > And commited? On 9-stable from Jun 12 I cannot add an ipv6 to a table. man page for ipfw claims

Re: ipfw table support for ipv6

2012-07-03 Thread Alexander V. Chernikov
On 03.07.2012 15:32, Andreas Nilsson wrote: I just wondered what the status of table support for ipv6 in ipfw is? "working" Best regards Andreas ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubsc

ipfw table support for ipv6

2012-07-03 Thread Andreas Nilsson
I just wondered what the status of table support for ipv6 in ipfw is? Best regards Andreas ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.or