udp: assign flowid to udp sockets round-robin
authormmacy <mmacy@FreeBSD.org>
Wed, 23 May 2018 20:50:09 +0000 (20:50 +0000)
committermmacy <mmacy@FreeBSD.org>
Wed, 23 May 2018 20:50:09 +0000 (20:50 +0000)
commit93414b35b618fead622ee067629d5016fafe71a9
tree49050e3e071033ce92e807bd26ab7b490e6a4636
parentcf52a55829cb2133ddfb129dcdee4a484cb41d50
udp: assign flowid to udp sockets round-robin

On a 2x8x2 SKL this increases measured throughput with 64
netperf -H $DUT -t UDP_STREAM -- -m 1

from 590kpps to 1.1Mpps
before:
https://people.freebsd.org/~mmacy/2018.05.11/udpsender.svg
after:
https://people.freebsd.org/~mmacy/2018.05.11/udpsender2.svg
sys/netinet/udp_usrreq.c