Re: poor network loopback performance and scalability

David Miller
2008-04-21T03:38:27Z

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Mon, 21 Apr 2008 11:24:04 +0800

> Ingo Molnar <mingo@elte.hu> 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.