From: David Miller <davem@davemloft.net>
To: herbert@gondor.apana.org.au
Cc: mingo@elte.hu, dada1@cosmosbay.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, a.p.zijlstra@chello.nl
Subject: Re: poor network loopback performance and scalability
Date: Sun, 20 Apr 2008 20:38:10 -0700 (PDT) [thread overview]
Message-ID: <20080420.203810.183610437.davem@davemloft.net> (raw)
In-Reply-To: <E1JnmdQ-0001qO-00@gondolin.me.apana.org.au>
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.
next prev parent reply other threads:[~2008-04-21 3:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <47BDC848.50607@cosmosbay.com>
[not found] ` <20080226.182120.183405235.davem@davemloft.net>
[not found] ` <47C92F49.4070100@cosmosbay.com>
[not found] ` <20080323.032949.194309002.davem@davemloft.net>
[not found] ` <47E6A5FD.6060407@cosmosbay.com>
2008-03-31 9:48 ` [RFC,PATCH] loopback: calls netif_receive_skb() instead of netif_rx() Ingo Molnar
2008-03-31 10:01 ` Eric Dumazet
2008-03-31 10:12 ` Ingo Molnar
2008-04-01 9:19 ` Eric Dumazet
2008-04-03 14:06 ` Pavel Machek
2008-04-03 16:19 ` Eric Dumazet
2008-03-31 10:08 ` David Miller
2008-03-31 10:44 ` Ingo Molnar
2008-03-31 11:02 ` David Miller
2008-03-31 11:36 ` poor network loopback performance and scalability (was: Re: [RFC,PATCH] loopback: calls netif_receive_skb() instead of netif_rx()) Ingo Molnar
2008-04-21 3:24 ` Herbert Xu
2008-04-21 3:38 ` David Miller [this message]
2008-04-21 8:11 ` poor network loopback performance and scalability Ingo Molnar
2008-04-21 8:16 ` David Miller
2008-04-21 10:19 ` Herbert Xu
2008-04-21 10:22 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080420.203810.183610437.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=a.p.zijlstra@chello.nl \
--cc=dada1@cosmosbay.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox