All of lore.kernel.org
 help / color / mirror / Atom feed
* libipq scaling
@ 2004-08-04 22:30 Matt Walters
  2004-08-05  6:31 ` Pablo Neira
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Walters @ 2004-08-04 22:30 UTC (permalink / raw)
  To: netfilter-devel

Hey all-

	We're considering using netfilter to do some packet filtering/tagging
based on external information, and it seems like libipq is the best way
to do it.  I'm wondering if there are any issues with using this tool in
an environment where sustained 30Mbit/s throughput is to be expected. 
The target platform is a dual Xeon 2.8 with gobs of memory, 2.6.7
kernel.

	Has anyone experimented with it?  If not, when we do some performance
testing, is anyone interested in the results?

	Thanks,

-Matt

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

* Re: libipq scaling
  2004-08-04 22:30 libipq scaling Matt Walters
@ 2004-08-05  6:31 ` Pablo Neira
  2004-08-05 20:08   ` Matt Walters
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Neira @ 2004-08-05  6:31 UTC (permalink / raw)
  To: Matt Walters, Netfilter Development Mailinglist

Hi Matt,

Matt Walters wrote:

>	We're considering using netfilter to do some packet filtering/tagging
>based on external information, and it seems like libipq is the best way
>to do it.  I'm wondering if there are any issues with using this tool in
>an environment where sustained 30Mbit/s throughput is to be expected. 
>The target platform is a dual Xeon 2.8 with gobs of memory, 2.6.7
>kernel.
>  
>

I think that it will work fine with 30 Mbit/s.

>	Has anyone experimented with it?
>

I don't think so AFAIK. I've been benchmarking netlink sockets which is 
the method used but libipq to pass information from/to user space.

>  If not, when we do some performance testing, is anyone interested in the results?
>  
>
I didn't test libipq performance, but I suppose that it won't work for 
gigabit networks because of netlink sockets limitations. If you do those 
performance testings, please post the results to the mailling list.

To do the testing, I propose you to set three boxes, a client and a 
server with iperf and a box between both of them with libipq enqueuing 
all the packets for a 100Mbit/s network.

regards,
Pablo

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

* Re: libipq scaling
  2004-08-05  6:31 ` Pablo Neira
@ 2004-08-05 20:08   ` Matt Walters
  0 siblings, 0 replies; 3+ messages in thread
From: Matt Walters @ 2004-08-05 20:08 UTC (permalink / raw)
  To: Pablo Neira; +Cc: Netfilter Development Mailinglist

On Wed, 2004-08-04 at 23:31, Pablo Neira wrote:
> Hi Matt,
> 
> Matt Walters wrote:
> 
> >	We're considering using netfilter to do some packet filtering/tagging
> >based on external information, and it seems like libipq is the best way
> >to do it.  I'm wondering if there are any issues with using this tool in
> >an environment where sustained 30Mbit/s throughput is to be expected. 
> >The target platform is a dual Xeon 2.8 with gobs of memory, 2.6.7
> >kernel.
> 
> I think that it will work fine with 30 Mbit/s.
> 
> >	Has anyone experimented with it?
> 
> I don't think so AFAIK. I've been benchmarking netlink sockets which is 
> the method used but libipq to pass information from/to user space.

	Is this information available?  I'd love to have a look at it.

> >  If not, when we do some performance testing, is anyone interested in the results?
> >  
> >
> I didn't test libipq performance, but I suppose that it won't work for 
> gigabit networks because of netlink sockets limitations. If you do those 
> performance testings, please post the results to the mailling list.

	Hmm.  What are the netlink sockets' limitations?  Will they explode at
155Mbps?  500Mbps?  Do we know?  Does their performance scale with
processor speed / memory bandwidth?

> To do the testing, I propose you to set three boxes, a client and a 
> server with iperf and a box between both of them with libipq enqueuing 
> all the packets for a 100Mbit/s network.

	Yes, we'd planned something like that - three machines, four 1Gbps
Ethernet interfaces ( [x]<-->[y]<-->[z] ) with [y] forwarding between
the other two, passing everything through userspace.

	I'm thinking that ipq is a great way to prove the concept we're toying
with, but that in order to scale to very large throughput we'll want to
have the work done by a kernel module.

	Thanks for your input,

-Matt

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

end of thread, other threads:[~2004-08-05 20:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-04 22:30 libipq scaling Matt Walters
2004-08-05  6:31 ` Pablo Neira
2004-08-05 20:08   ` Matt Walters

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.