netdev
[Top] [All Lists]

Re: linux routing problem

To: CIT/Paul <xerox@xxxxxxxxxx>
Subject: Re: linux routing problem
From: jamal <hadi@xxxxxxxxxx>
Date: Sun, 6 Oct 2002 18:35:16 -0400 (EDT)
Cc: <netdev@xxxxxxxxxxx>
In-reply-to: <007701c26cb8$36d7a680$4a00000a@badass>
Sender: netdev-bounce@xxxxxxxxxxx

I am sensisng your problem has nothing to do with the route cache
rather netfilter. Turn off netfilter in the kernel compile. Test
the new kernel and post the results.

cheers,
jamal

On Sat, 5 Oct 2002, CIT/Paul wrote:

> I am trying to squeeze major performance out of a linux router.   I am
> running into heavy problems getting the speed
> up to where it needs to be.   It seems the #1 problem is the route
> cache.  For every src/dst pair it creates an entry.  Why is this?
> Cisco does not do this.  It uses 100% of the cpu when i'm trying to
> route 100,000 pps with say a million src/dst pairs through
> the router.  Is there a way to disable it?  Is there a way to speed up
> the forwarding rate ? I want to get > 500Kpps out of it.
> I'm using Intel E1000 NAPI driver and NAPI kernel (2.4.20).  When i try
> and send 100,000 pps through it, the cpu goes to 100% and it deops 80%
> of the
> packets.  I can see the errors counting up way high on the interface.
> If I set an iptables rule to block all the packets in the prerouting
> chain, it uses
> 16% of the cpu and does not drop many packets (albeit it still drops
> some probably due to the driver or napi still being somewhat beta)..
>
> Any ideas or suggestions on this and how to get it to work without
> dropping packets would be greatly appreciated!!
>
> Thanks!
>
> Paul  xerox@xxxxxxxxxx
>
>
> [[HTML alternate version deleted]]
>
>
>


<Prev in Thread] Current Thread [Next in Thread>