==== 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 470, accept 358, send 2356, recv 86, close 798 10.12 real 13.50 user 10.09 sys ==== run-sock100 ==== ulimit -n 500; time ./udpthread -n100 count: connect 4351, accept 800, send 8214, recv 199, close 4859 0m11.30s real 0m07.88s user 0m03.05s system ==== run-splice ==== time ./udpthread -n10 -S2 count: connect 14020, splice 12287, unsplice 0, max 0, idle 0, accept 20353, send 64583, recv 2257, close 60971 10.07 real 11.48 user 11.21 sys ==== run-unsplice ==== time ./udpthread -n10 -S2 -U1 count: connect 23990, splice 11566, unsplice 41118, max 0, idle 0, accept 23139, send 73515, recv 822, close 71191 10.01 real 15.89 user 18.20 sys ==== run-max ==== time ./udpthread -n10 -S4 -M100 -s2 -r2 count: connect 8775, splice 9220, unsplice 0, max 0, idle 0, accept 17884, send 94101, recv 4358, close 44453 10.02 real 16.50 user 17.74 sys ==== run-idle ==== time ./udpthread -n10 -S4 -I100 -s2 -r2 count: connect 7532, splice 7548, unsplice 0, max 0, idle 0, accept 16235, send 84776, recv 4636, close 37888 10.02 real 17.27 user 16.79 sys