Re: Network namespaces a path to mergable code.

From: Daniel Lezcano
Date: Thu Jun 29 2006 - 05:41:21 EST


Eric W. Biederman wrote:
When an outgoing packet has the loopback destination addres, the
skbuff is filled with the network namespace. So the loopback packets
never go outside the namespace. This approach facilitate the migration
of loopback because identification is done by network namespace and
not by address. The loopback has been benchmarked by tbench and the
overhead is roughly 1.5 %


Ugh. 1.5% is noticeable.

We will see with all private network namespace ...

I think it is cheaper to have one loopback device per namespace.
Which removes the need for a skbuff tag.

Yes, probably.
-
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/