Skip to contentSkip to conversation

Optimize corking further.

PATCH In review David Miller 1 participant 1 message May 6, 2011

Subsystems (2)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

cover Optimize corking further.

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