Re: [PATCH 2/2] ipv4 routing: multipath with cache support,2.6.10-rc3

From: David S. Miller
Date: Wed Feb 09 2005 - 15:32:37 EST


On Wed, 09 Feb 2005 21:23:57 +0100
Einar Lück <lkml@xxxxxxxxxxxxxx> wrote:

> We do not want per-flow multipathing. We want per connection
> multipathing with fast route lookups (that's why we have all routes in
> the cache). That is exactly what we implemented. Our tests prove that
> a connection keeps its route as long as it lives (the dstentry remains
> associated with the socket). That's why I do not really understand why
> our approach hurts long lasting connections in any way. Can you
> explain your point more precisely?

This was brought up before. It's the case where the system is acting
as a router, you have to consider that case and not just the one where
the local system is where the connections are originating from.

Your trick only works because of how routes are cached per-socket.
Once you get into the realm of traffic going through the machine as
a router, the trick stops to work.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/