All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rayed Alrashed <rayed@saudi.net.sa>
To: netfilter@lists.netfilter.org
Subject: Improve queue handler performance
Date: Fri, 15 Jun 2007 01:04:23 +0300	[thread overview]
Message-ID: <4671BB67.7020209@saudi.net.sa> (raw)

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-14 22:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-14 22:04 Rayed Alrashed [this message]
2007-06-19 14:30 ` Improve queue handler performance Eric Leblond
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=4671BB67.7020209@saudi.net.sa \
    --to=rayed@saudi.net.sa \
    --cc=netfilter@lists.netfilter.org \
    /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 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.