netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Optimize corking further.
@ 2011-05-06 22:26 David Miller
  0 siblings, 0 replies; only message in thread
From: David Miller @ 2011-05-06 22:26 UTC (permalink / raw)
  To: netdev; +Cc: herbert, eric.dumazet


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>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-06 22:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-06 22:26 [PATCH 0/2] Optimize corking further David Miller

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).