==== 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 684, accept 500, send 727, recv 5, close 1183 10.02 real 15.71 user 9.96 sys ==== run-sock100 ==== ulimit -n 500; time ./udpthread -n100 count: connect 173540, accept 95700, send 228103, recv 33166, close 267742 0m10.02s real 0m12.83s user 0m21.30s system ==== run-splice ==== time ./udpthread -n10 -S2 count: connect 30397, splice 25566, unsplice 0, max 0, idle 0, accept 44989, send 145400, recv 2783, close 135041 10.04 real 12.80 user 17.58 sys ==== run-unsplice ==== time ./udpthread -n10 -S2 -U1 count: connect 15677, splice 9785, unsplice 27943, max 0, idle 0, accept 22360, send 56589, recv 1246, close 53025 10.18 real 16.66 user 17.78 sys ==== run-max ==== time ./udpthread -n10 -S4 -M100 -s2 -r2 count: connect 9921, splice 10430, unsplice 0, max 0, idle 0, accept 18705, send 104489, recv 4497, close 48805 10.01 real 17.04 user 18.02 sys ==== run-idle ==== time ./udpthread -n10 -S4 -I100 -s2 -r2 count: connect 12800, splice 12173, unsplice 0, max 0, idle 9, accept 23331, send 124551, recv 3803, close 60006 10.10 real 16.55 user 18.21 sys