From: David Miller <davem@davemloft.net>
To: netdev@vger.kernel.org
Cc: herbert@gondor.apana.org.au, eric.dumazet@gmail.com
Subject: [PATCH 0/2] Optimize corking further.
Date: Fri, 06 May 2011 15:26:18 -0700 (PDT) [thread overview]
Message-ID: <20110506.152618.245398453.davem@davemloft.net> (raw)
For the on-stack corking case, we initialize the inet_cork twice.
Furthermore the paths that inspect the inet_cork in ip_output.c
do not care at all about the flow which is large.
Split inet_cork up and optimize the initialization in the on-stack
case.
Results for "udpflood -l 10000000 ${IP_ADDR}" on Niagara2+ @ 1.2GHz
Before 1m45s
After 1m40s
Signed-off-by: David S. Miller <davem@davemloft.net>
reply other threads:[~2011-05-06 22:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20110506.152618.245398453.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=herbert@gondor.apana.org.au \
--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;
as well as URLs for NNTP newsgroup(s).