netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux routing problem
@ 2002-10-05 21:43 CIT/Paul
  2002-10-06 22:35 ` jamal
  0 siblings, 1 reply; 2+ messages in thread
From: CIT/Paul @ 2002-10-05 21:43 UTC (permalink / raw)
  To: Netdev

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@foonet.net


[[HTML alternate version deleted]]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-06 22:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-05 21:43 linux routing problem CIT/Paul
2002-10-06 22:35 ` jamal

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).