Re: poor network loopback performance and scalability

From: David Miller
Date: Sun Apr 20 2008 - 23:38:28 EST


From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 21 Apr 2008 11:24:04 +0800

> Ingo Molnar <mingo@xxxxxxx> wrote:
> >
> > # ifconfig lo mtu 1048576
>
> Chiming in late here, but 1048576 can't possibly work with IP
> which uses a 16-bit quantity as the length header. In fact a
> quick test seems to indicate that an 1048576 mtu doesn't generate
> anything bigger than the default 16K mtu.

Right.

To move things forward, we should look into doing something
similar to what Al Viro suggested, which would be to return
an SKB pointer from the transmit path and call back into
netif_receive_skb() using that.
--
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/