From: Rayed Alrashed <rayed@saudi.net.sa>
To: Eric Leblond <eric@regit.org>
Cc: netfilter@lists.netfilter.org
Subject: Re: Improve queue handler performance
Date: Fri, 22 Jun 2007 13:46:02 +0300 [thread overview]
Message-ID: <467BA86A.5030509@saudi.net.sa> (raw)
In-Reply-To: <1182263457.1834.12.camel@localhost.localdomain>
Hi,
> Could you send your code I'd like to run it on my platform.
I will send the code directly to your email, it is basically this file:
libnetfilter_queue-0.0.13/utils/nfqnl_test.c
With printf commented out, and the while loop changed from:
while ((rv = recv(fd, buf, sizeof(buf), 0)) && rv >= 0)
To:
while ( ((rv = recv(fd, buf, sizeof(buf), 0)) && rv >= 0) ||
(errno==105) )
Looking back to it I don't know why I added this check but it used to
break the loop after few hundreds of packets.
> 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
>
Unfortunately I don't know french :(
Best regards,
Rayed
prev parent reply other threads:[~2007-06-22 10:46 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
2007-06-22 10:46 ` Rayed Alrashed [this message]
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=467BA86A.5030509@saudi.net.sa \
--to=rayed@saudi.net.sa \
--cc=eric@regit.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox