Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Eric Leblond <eric@regit.org>
To: Rayed Alrashed <rayed@saudi.net.sa>
Cc: netfilter@lists.netfilter.org
Subject: Re: Improve queue handler performance
Date: Tue, 19 Jun 2007 16:30:57 +0200	[thread overview]
Message-ID: <1182263457.1834.12.camel@localhost.localdomain> (raw)
In-Reply-To: <4671BB67.7020209@saudi.net.sa>

Hi,

Could you send your code I'd like to run it on my platform. I want to
see I I came to the same result and I will try next to optimize
libnetfilter_queue.

In fact, I've done some bench on NuFW and found a similar result. Here's
the article (in french) with some graphs :
http://nufw.org/Tests-de-performance-intensifs-sur.html

BR,

Le vendredi 15 juin 2007 à 01:04 +0300, Rayed Alrashed a écrit :
> Hello everyone,
> 
> I am playing with nf_netlink_queue handler and built an empty handler 
> based on "nfqnl_test.c" from the distribution, it just accept all packet 
> without any checks at all.
> 
> To test its performance I installed Lighttpd on the same machine, and 
> used http_load to benchmark the performance.
> 
> Without any thing queued to the user space I achieved ~20000K fetches 
> per second, but when I enabled user space filtering the performance 
> dropped to ~2600 fetches per second.
> 
> I used this rule to queue all HTTP traffic to the queue handler:
> # iptables -A myhttp -p tcp --dport 80 -j QUEUE
> 
> Is this drop in performance normal, and is there any way to improve the 
> performance.
> 
> Thanks,
> Rayed




  reply	other threads:[~2007-06-19 14:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-14 22:04 Improve queue handler performance Rayed Alrashed
2007-06-19 14:30 ` Eric Leblond [this message]
2007-06-22 10:46   ` Rayed Alrashed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1182263457.1834.12.camel@localhost.localdomain \
    --to=eric@regit.org \
    --cc=netfilter@lists.netfilter.org \
    --cc=rayed@saudi.net.sa \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox