commit 327bf46d96c0335f81ffe377f0c9817b34c1dd4b
Author: Sepherosa Ziehau <[email protected]>
Date:   Fri Dec 4 16:47:12 2015 +0800

    inpcb: Push porthash token down a bit and use atomic op to update lastport
    
    This paves the way to use pooled token for porthash list head.
    
    Even just with this commit, porthash token contention is reduced by 20K/s
    on 12core/24threads system when running tools/kq_connect_client.

Summary of changes:
 sys/netinet/in_pcb.c   | 221 +++++++++++++++++++++++++++++++++----------------
 sys/netinet/in_pcb.h   |   2 +
 sys/netinet6/in6_src.c |  77 ++++++++++-------
 3 files changed, 198 insertions(+), 102 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/327bf46d96c0335f81ffe377f0c9817b34c1dd4b


-- 
DragonFly BSD source repository

Reply via email to