lkml.org 
[lkml]   [2002]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectDisabling route-cache?
Date
To: 'linux-kernel@vger.kernel.org'
Subject: Disabling route-cache?


We have some linux routers and wish to disable the route cache. Is there
a way to do that?
The route cache is using so much of the CPU that it is making routing
ineffective. We are routing high
PPS > 100,000 and with the route cache enabled it will not even do half
of that. We tested by creating
a single ip -> ip flow at 100,000 pps and the machine routed it just
fine, however when we create a 100,000 ip -> 100,000 ip test
the machine drops 80% of the packets due to creating and tearing down
massive entries in the route cache.
I wish for it to work like Cisco's CEF with only an adjacency cache and
not a route cache for every flow.
I don't know why it doesn't work this way in the first place. Only the
ip_conntrack should keep track of flows (on a side note
if we enable ip_conntrack the whole machine goes to pot, there's no way
it's going to do it with that module loaded).

Please if anyone has any ideas. Thanks

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.049 / U:0.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site