git: mbuf: Fix jcluster support
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Fri Sep 13 02:38:34 PDT 2013
commit c83e573d02bea89e07d19abdff35f9c105f8bd32
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Fri Sep 13 17:14:39 2013 +0800
mbuf: Fix jcluster support
- Free the jcluster to the correct objcache, which solves "jcluster mbuf"
objcache exhaustion.
- By default, set the amount of the jclusters to half the amount of the
normal clusters. jcluster will be used on TCP sending path in the later
commit to improve TSO performance for 10Ge.
- Add mbuf stat for jcluster; adjust netstat(1) to show it.
- Add m_getlj(), which will be used on TCP sending path in the later
commit to improve TSO performnace for 10Ge.
Summary of changes:
sys/kern/uipc_mbuf.c | 40 ++++++++++++++++++++++++++++++----------
sys/sys/mbuf.h | 16 +++++++++++++++-
usr.bin/netstat/main.c | 5 ++++-
usr.bin/netstat/mbuf.c | 27 +++++++++++++++++++++------
usr.bin/netstat/netstat.h | 2 +-
5 files changed, 71 insertions(+), 19 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c83e573d02bea89e07d19abdff35f9c105f8bd32
--
DragonFly BSD source repository
More information about the Commits
mailing list