git: udp: Redistribute SO_REUSEPORT socket based on local group index
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Sun Sep 28 06:14:36 PDT 2014
commit db923e214471f555958af9bf3279f793853a1a69
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Mon Sep 22 22:26:40 2014 +0800
udp: Redistribute SO_REUSEPORT socket based on local group index
This improves the request/response transation rate a lot for UDP sockets
which set SO_REUSEPORT, by cpu localizing the request and response
processing.
tools/netrate/udpecho 64B request/response transation rate is raised from
1.24Mtrans/s to 1.39Mtrans/s (~12% improvement).
Summary of changes:
sys/netinet/udp_usrreq.c | 77 +++++++++++++++++++++++++++++++++++++-----------
1 file changed, 59 insertions(+), 18 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/db923e214471f555958af9bf3279f793853a1a69
--
DragonFly BSD source repository
More information about the Commits
mailing list