All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about high perfomance Linux firewall
@ 2005-09-05 18:36 Javier Miguel Rodríguez
  2005-09-06  9:07 ` Pasi Kärkkäinen
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Javier Miguel Rodríguez @ 2005-09-05 18:36 UTC (permalink / raw)
  To: Netfilter Mailinglist

Hello

I have to built a FAST Linux firewall (12 gigabit ethernets), and I need 
your advice

My current setup is ( I can change things if needed)

Compaq Proliant DL380g4 (1 xeon 3.6 ghz, with hyperthreading, pci-x 
based, 1 gb ram)
2 broadcom gigabit ethernet cards (tg3 driver)
3 intel quad gigabit ethernet cards (e1000 driver)


I need to keep connection tracking, so nf-hipac is discarded. I will use 
almost no logging.
My ruleset will be rather short: 500-600 lines, with SNAT/DNAT in about 
5% of these rules. Only ipv4 will
be used in this firewall setup.

I expect substained rates of 300-400 megabits on EACH gigabit interface, 
with gigabit peaks. I also expect 40.000-50.000
concurrent connections (mainly http/smtp/dns traffic). I also expect 
500-600 megabits of NATed traffic (to & from  internet)


Which gigabit ethernet card is more suitable for high perfomance 
filtering? Any special advice
about linux distro/ kernel tuning?

Thank you for your support


^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Question about high perfomance Linux firewall
@ 2005-09-06 17:18 Derick Anderson
  0 siblings, 0 replies; 7+ messages in thread
From: Derick Anderson @ 2005-09-06 17:18 UTC (permalink / raw)
  To: netfilter

 

> -----Original Message-----
> From: netfilter-bounces@lists.netfilter.org 
> [mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of /dev/rob0
> Sent: Tuesday, September 06, 2005 12:28 PM
> To: netfilter@lists.netfilter.org
> Subject: Re: Question about high perfomance Linux firewall
> 
> On Monday 2005-September-05 13:36, Javier Miguel Rodríguez wrote:
> > My ruleset will be rather short: 500-600 lines, with SNAT/DNAT in
> 
> (That doesn't seem short to me.)
> 
> > Which gigabit ethernet card is more suitable for high perfomance 
> > filtering?
> 
> I know and trust the Intels, but I can't say how they will compare.
> 
> > Any special advice about linux distro/ kernel tuning?
> 
> Distro: whatever you are comfortable using. Any can do it.
> 
> CPU: 64-bit processors do not have the same memory address 
> space limitation as do the 32-bit CPU's.
> 
> Kernel: if a 32-bit CPU, there are simple patches available 
> which allow you to specify a LOWMEM / HIGHMEM split other 
> than the default 1G / 3G. 
> For 1G physical RAM, this is preferable to activating 
> HIGHMEM. I think mine is set at 1.25G / 2.75G for 1G RAM.
> -- 
>     mail to this address is discarded unless "/dev/rob0"
>     or "not-spam" is in Subject: header

I would add to this that AMD processors will probably offer noticeable improvements in performance as demonstrated by http://people.netfilter.org/kadlec/nftest.pdf.

Derick Anderson


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-09-06 17:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-05 18:36 Question about high perfomance Linux firewall Javier Miguel Rodríguez
2005-09-06  9:07 ` Pasi Kärkkäinen
2005-09-06 10:15 ` lst_hoe01
2005-09-06 13:37 ` Michael Bellion
2005-09-06 17:12   ` Javier Miguel Rodríguez
2005-09-06 16:28 ` /dev/rob0
  -- strict thread matches above, loose matches on Subject: below --
2005-09-06 17:18 Derick Anderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.