DragonFly commits List (threaded) for 2012-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: tcp/sack: Optimize scoreboard block allocation
commit 01d244e6599942128c17736a308b66ad33222926
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date: Fri Apr 13 15:30:26 2012 +0800
tcp/sack: Optimize scoreboard block allocation
Allocate SACK scoreboard block only if we can't extend the existing
one's right edge (end).
This commit could avoid ~70% SACK scoreboard block allocation on
leaf.dragonflybsd.org (11528032 updating, 8353353 reused) according
to the "netstat -s -f inet -p tcp" output as of today. On my testing
sites, this commit could avoid 30%~50% SACK scoreboard block allocation.
Summary of changes:
sys/netinet/tcp_sack.c | 85 ++++++++++++++++++++++++++++--------------------
1 files changed, 50 insertions(+), 35 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/01d244e6599942128c17736a308b66ad33222926
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]