Re: Route caching ?



On Wed, Aug 22, 2007 at 05:37:50PM +0300, Ivo Vachkov wrote:
Actually there is:

struct route_in6 ip6_forward_rt;

that "caches" the last route used (thanks blue !!!) but i think this
technique is pointless in a multiflow traffic.

Is it reasonable to believe that route caches can improve networking
performance or we should leave it up to the routing table itself ?


Just because you believe that route caches are great doesn't mean it is
true. Show some real code and include benchmarks with various workloads
(e.g. a core router that is hit by many many many sessions).

Until now all caching solutions resulted in very bad performance on busy
boxes. Remember ip_fastforward or how was it called? Another example are
all crapy L3 switches that burn down if the CAM (chache) is flodded.

IMO it is better to make the route lookup faster and forget about caching.
--
:wq Claudio
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Route caching ?
    ... that "caches" the last route used but i think this ... I believe that if one goes beyond a single radix trie, as is needed for multi-pathing with multicast and source policy routing, route caching is *required* to achieve good performance. ...
    (freebsd-net)
  • Re: Route caching ?
    ... Is it reasonable to believe that route caches can improve networking ... 'struct route', a structure which is not a route, but an internal ... This is a wrapper for rtalloc_ign, which in turn is a wrapper for ...
    (freebsd-net)
  • Re: Cached IP routes
    ... >> would be a correct fix, ... > just caches the route to the tunnel destination which normally stays ... > into are route changes. ... The result is that in_gif_outputcaches the default route ...
    (freebsd-net)
  • Re: CARP behaviour
    ... gredoes very funky things with the route it caches to the tunnel endpoint. ...
    (freebsd-net)
  • Re: Survey: Long Way Down
    ... Using the patented Mavis Beacon "Hunt&Peck" Technique, ... Nearly all of the action takes place around the route to Chimay, ...
    (uk.rec.motorcycles)