linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Samuel <samuel@bcgreen.com>
To: urgrue <urgrue@tumsan.fi>
Cc: Neil Horman <nhorman@redhat.com>,
	linux-admin@vger.kernel.org, linux-net@vger.kernel.org
Subject: Re: Linux based router for Gigabit traffic
Date: Wed, 25 Aug 2004 00:48:03 -0700	[thread overview]
Message-ID: <412C4433.5000503@bcgreen.com> (raw)
In-Reply-To: <20040823113641.GC16414@fede2.tumsan.fi>

An HTTP load is pretty much unidirectional (outbound), so that
700megabits is the total system load.

Anantha wants to  ROUTE 1gigabit of traffic -- That's
1gig in + 1gig out =2gig total.

if you divide your 700Megabit HTTP traffic by two, you'll
get a bit less than the 400Mb that he's claiming to have
gotten so far.

A quick overview:

Matti's bus bandwith calcs indicate that standard PCI won't
do the job in terms of theoretical bandwidth capability.
Once you switch up to PCI-Express, you'll have the
bus bandwith, but you may end up with A CPU limit
(the soft INT's).
   At that point, you might have to go to Real-Time Linux
   and, possibly, custom drivers.  If you can get away from
   the the kernel Task Switching overhead for each packet,
   you should be OK in terms of CPU capability.




Stephen J. Smoogen wrote:
 > On Sun, 22 Aug 2004 23:55:29 +0530, Anantha Kiran
 > <ananth.kandukuri@gmail.com> wrote:
 >
 >>No, we are not using NAPI for this. But we wrote a net_hook module
 >>which catches the pkts before allowing it to go upper layers.
 >>
 >>CPU utilization is 70+ while dropping.
 >>
 >>Can u tell me the configuration of your low-end machine.Like PCI-bus,
 >>and others.
 >>
 >
 >
 > Ours are Intel(R) Xeon(TM) CPU 2.40GHz and the motherboard has a PCI-X
 > chipset on it. We have one Intel fibre optic Gig-E on the 02:01 PCI-X
 > Bus, and the other on the 03:01 PCI-X bus. I see a limit of about 750
 > mbits/sec on a fixed load (HTTP accesses for specific boxes), and 400
 > mbits/sec on a mixed load (ICMP/UDP/TCP). In each case, the maximum
 > looks to not be the bus speed as much as the soft-irq limit (which is
 > what mpstat says is using all the resources). The number of packets
 > per second that ifconfig and other tools gives me looks about the
 > same. so I am thinking it isnt bus width at the moment as much as
 > IRQ/packets per second.
 >
 > The kernels are NAPI compiled.. but I really havent figure out if
 > using netfilters on these mixed loads 'disables' it.
 >


-- 
Stephen Samuel +1(604)876-0426                samuel@bcgreen.com
		   http://www.bcgreen.com/~samuel/
    Powerful committed communication. Transformation touching
      the jewel within each person and bringing it to light.

  reply	other threads:[~2004-08-25  7:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-22 12:32 Linux based router for Gigabit traffic Anantha Kiran
2004-08-22 12:49 ` Neil Horman
2004-08-23  5:56   ` David S. Miller
2004-08-23  7:11     ` Mikael Abrahamsson
2004-08-23 13:10       ` Adam Lang
2004-08-23  7:58     ` urgrue
2004-08-23 11:17     ` Neil Horman
2004-08-23 11:36       ` urgrue
2004-08-25  7:48         ` Stephen Samuel [this message]
2004-08-23 15:31   ` Stephen J. Smoogen
2004-08-24 17:08     ` DNS "named" question Tony Gogoi
2004-08-24 17:21       ` DNS 'named' question Scott Taylor
2004-08-24 17:33       ` DNS "named" question Bradley Hook
2004-08-22 15:07 ` Linux based router for Gigabit traffic Matti Aarnio
2004-08-27 18:01 ` neolozer
     [not found] <Pine.LNX.4.44.0408220858160.1897-100000@bawx.pilosoft.com>
     [not found] ` <4128CA84.7000304@redhat.com>
2004-08-22 18:14   ` Anantha Kiran
2004-08-22 18:25 ` Anantha Kiran
2004-08-23 15:39   ` Stephen J. Smoogen

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=412C4433.5000503@bcgreen.com \
    --to=samuel@bcgreen.com \
    --cc=linux-admin@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    --cc=nhorman@redhat.com \
    --cc=urgrue@tumsan.fi \
    /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;
as well as URLs for NNTP newsgroup(s).