Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2011 16:07:22 -0300
From:      Victor Detoni <victordetoni@gmail.com>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        freebsd-current@freebsd.org
Subject:   Re: High Network Perfomance
Message-ID:  <CANpwN=vy2qX-=KQH00r1HmsRVe0foKV6HpV%2BMtew10=9XSYedQ@mail.gmail.com>
In-Reply-To: <20110805002732.GA5340@onelab2.iet.unipi.it>
References:  <CANpwN=ticS53Z43rWVbtDU18cRtWH6sOE%2BfhJaS4LenTfZ=gpg@mail.gmail.com> <20110805002732.GA5340@onelab2.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Luigi,

Thanks for reply. That's great solution :) Will be integrated with pf or is
it?

Thanks,
Victor

On Thu, Aug 4, 2011 at 9:27 PM, Luigi Rizzo <rizzo@iet.unipi.it> wrote:

> On Thu, Aug 04, 2011 at 08:39:17PM -0300, Victor Detoni wrote:
> > Hi Guys,
> >
> > I'm trying tunning a FreeBSD 8.2 to high perfomance network with pf. My
> > server configuration is:
> >
> > Dell 1950
> > CPU: Intel(R) Xeon(R) CPU            5130  @ 2.00GHz (1995.03-MHz
> K8-class
> > CPU)
> > 4 x CPU
> > 2 NIC (<Broadcom NetXtreme II BCM5708 1000Base-T)
> > 1 NIC (em0: <Intel(R) PRO/1000 Network Connection 7.1.9>)
> >
> > I want to reach the high processing of packets per second and use pf as
> > synproxy and we still processor to handle others packets or flows.
> >
> > I know that em drivers has MULTI_QUEUE implementation that helps high
> > performance for Intel drivers, but I couldn't see more information about.
> We
> > can reached 500k pps, but no more traffic was processed by this
> interface.
> >
> > I've already enabled net.isr.direct but with Intel Drivers does not work
> and
> > the most processors are in System instead of Interrupts, why? When I
> enable
> > net.isr.direct the processing is balanced for on CPU in system and
> another
> > in interrupt and I reached 1M pps, but the total perfomance is down, the
> > load grow up too fast.
> >
> > I've changed some parameter in sysctl for intel drivers, but it doesn't
> have
> > effect.
> >
> > Someone know what I can do to reach more packets performance? I want to
> use
> > this FreeBSD as a router/firewall only.
>
> if you feel like doing a bit of coding yourself, you could try netmap
>
> http://info.iet.unipi.it/~luigi/netmap/
>
> cheers
> luigi
>
> > Thanks,
> > Victor
> > _______________________________________________
> > freebsd-current@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "
> freebsd-current-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANpwN=vy2qX-=KQH00r1HmsRVe0foKV6HpV%2BMtew10=9XSYedQ>