From: Neil Horman <nhorman@redhat.com>
To: Anantha Kiran <ananth.kandukuri@gmail.com>
Cc: linux-admin@vger.kernel.org, linux-net@vger.kernel.org
Subject: Re: Linux based router for Gigabit traffic
Date: Sun, 22 Aug 2004 08:49:04 -0400 [thread overview]
Message-ID: <41289640.4060902@redhat.com> (raw)
In-Reply-To: <7a436d9b040822053245a3304d@mail.gmail.com>
Anantha Kiran wrote:
>Hi
>I am doing a project, in which i have to redirect traffic coming from
>one ethernet card of a machine, to one of three remaining three
>ethernet cards of same machine based on the src,dest IP and Port
>values of the pkt. I wrote a net_hook module to do this which i
>working fine for lower speeds like < 400 Mbps traffic. But project
>goal is to deal with gigabit traffic. I have used gigabit ethernet
>cards and Switch. But when the traffic rate is more than 400Mbps it is
>dropping packets. I did test, by increasing the transmit queue
>length. But same problem is coming. I have found during the pkt drop
>there is no memory or CPU is hundred percently utilised. So, what can
>be the resource that is lacking while dropping of pkts is happend.
>
>We have done a test, in which module will simply forward pkts from
>"eth0" through "eth1". Same problem of pkt dropping at highier speed
>is happening.
>
>Now we thought , it can be due to PCI bus. But we are unable to find
>what is configuration of PCI bus , our system is using. we have used
>"lspci" to find that. But i am unable to interpret it. I am attaching
>that output file. Can anybody tell me how to interpret that or give
>some guidelines , like whom to mail, to find that.
>
>Atlast we try to solve the problem in the following manner. Idea is
>to, install a router for my machine which can deal with gigabit
>traffic. If the router is able to work with gigabit traffic, then
>definitely pkts dropping will not be due to PCI bus.
>
> So, canbdoy please, suggest some opensource router for linux which
>can deal with gigabit traffic. Or atleast some suggestions to solve
>this problem.
>
>
Quite simply a general purpose CPU system isn't normally built to
handle network traffic at gigabit rates, especially not from multiple
ports at once. If you really want a line rate gigabit router, you need
custom ASIC to do hardware offload of that work. Several networking
companies make just such hardware (of course most only sell the chips,
not full pci cards with integrated NICS). Check out broadcom, AMCC or
Intel, they all have hardware like what you're looking for.
Neil
next prev parent reply other threads:[~2004-08-22 12:49 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 [this message]
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
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=41289640.4060902@redhat.com \
--to=nhorman@redhat.com \
--cc=ananth.kandukuri@gmail.com \
--cc=linux-admin@vger.kernel.org \
--cc=linux-net@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;
as well as URLs for NNTP newsgroup(s).