git: udp/usrreq: Implement asynchronized pru_attach for UDP

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Oct 22 00:58:09 PDT 2015


commit 2e3ddc46e56dc1b226dca69536b6b425bcb310f4
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu Oct 22 15:51:06 2015 +0800

    udp/usrreq: Implement asynchronized pru_attach for UDP
    
    The idea is same as c892825ffb53edaa4e5d7270b9254de80099dc53
    
    The measured effect of this change on 2-ways E5-2600v2 with Intel 82599
    (10Gbe) using tools/kq_connect_client -u, i.e. UDP socket/connect/send
    /close before initiating a TCP connection:
    - Connect rate increases by ~15Kconns/s; we are now doing 260Kconns/s.
    - IPIs rate to the CPUs not running netisrs reduces (36Kipis/s ->
      23Kipis/s).

Summary of changes:
 sys/netinet/udp_usrreq.c | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2e3ddc46e56dc1b226dca69536b6b425bcb310f4


-- 
DragonFly BSD source repository


More information about the Commits mailing list