git: DragonFly_RELEASE_3_4 mbuf: Fix jcluster support

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Fri Sep 13 02:43:37 PDT 2013


commit 64f6661ab3ab1f7aa08bd880910d1c0e1ef11434
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.
    
    Conflicts:
    	sys/kern/uipc_mbuf.c

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/64f6661ab3ab1f7aa08bd880910d1c0e1ef11434


-- 
DragonFly BSD source repository


More information about the Commits mailing list