==== run-default ==== cc -O2 -pipe -g -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /home/src/regress/sys/netinet/udpthread/udpthread.c cc -o udpthread udpthread.o -lpthread time ./udpthread count: connect 466, accept 350, send 2079, recv 24, close 801 10.00 real 13.78 user 9.85 sys ==== run-sock100 ==== ulimit -n 500; time ./udpthread -n100 count: connect 3972, accept 700, send 6618, recv 91, close 4431 0m14.49s real 0m06.59s user 0m03.45s system ==== run-splice ==== time ./udpthread -n10 -S2 count: connect 23109, splice 19796, unsplice 0, max 0, idle 0, accept 34453, send 107126, recv 2671, close 103500 10.05 real 13.10 user 14.89 sys ==== run-unsplice ==== time ./udpthread -n10 -S2 -U1 count: connect 18963, splice 10576, unsplice 32237, max 0, idle 0, accept 24935, send 61263, recv 1011, close 61781 10.02 real 16.80 user 17.17 sys ==== run-max ==== time ./udpthread -n10 -S4 -M100 -s2 -r2 count: connect 13422, splice 11933, unsplice 0, max 0, idle 0, accept 20288, send 122612, recv 3423, close 56867 10.04 real 16.21 user 17.27 sys ==== run-idle ==== time ./udpthread -n10 -S4 -I100 -s2 -r2 count: connect 11355, splice 11366, unsplice 0, max 0, idle 0, accept 22659, send 119366, recv 4229, close 56728 10.02 real 15.88 user 18.02 sys