From: Vincent Arniego <vincent_arniego@yahoo.com>
To: netfilter@vger.kernel.org
Subject: [libnetfilter_queue] Load Balancing using multiple queues
Date: Thu, 5 Jun 2008 18:49:17 -0700 (PDT) [thread overview]
Message-ID: <305732.3074.qm@web58309.mail.re3.yahoo.com> (raw)
Hi Everyone,
We did a setup using libnetfilter_queue that examines the http headers of http packets.
In the setup, the firewall redirects packets in port 80 (source and destination) to an application listening on queue 0.
This box is acting as a router, so we setup the NFQUEUE rule in the forward chain
Somehow we were able to make it work after some adjustments in the kernel (sysctl net.core.rmem_max and rmem_default)
Assuming we are facing around 66 Mbps or around 11000 packets per second of traffic (from iptraf):
1. Is there a way to compute the correct optimized settings for net.core.rmem_max and rmem_default? Like a formula?
2.
Is there a way to automatically load balance the incoming packets to
multiple applications using multiple queues? This is assuming we cannot
segregate the packets by its source IP and/or destination IP.
Thanks!
next reply other threads:[~2008-06-06 1:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-06 1:49 Vincent Arniego [this message]
2008-06-06 9:39 ` [libnetfilter_queue] Load Balancing using multiple queues Thomas Jacob
-- strict thread matches above, loose matches on Subject: below --
2008-06-06 11:08 Vincent Arniego
2008-06-06 14:24 ` Eric Leblond
2008-06-06 14:46 ` Thomas Jacob
2008-06-06 14:50 ` Grant Taylor
2008-06-09 11:03 Vincent Arniego
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=305732.3074.qm@web58309.mail.re3.yahoo.com \
--to=vincent_arniego@yahoo.com \
--cc=netfilter@vger.kernel.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