[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080420.203810.183610437.davem@davemloft.net>
Date: Sun, 20 Apr 2008 20:38:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: mingo@...e.hu, dada1@...mosbay.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, a.p.zijlstra@...llo.nl
Subject: Re: poor network loopback performance and scalability
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Mon, 21 Apr 2008 11:24:04 +0800
> Ingo Molnar <mingo@...e.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists