==== 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 412, accept 230, send 6785, recv 20, close 624 10.49 real 11.25 user 8.54 sys ==== run-sock100 ==== ulimit -n 500; time ./udpthread -n100 count: connect 171937, accept 96599, send 229169, recv 35185, close 267055 0m22.65s real 0m12.11s user 0m23.98s system ==== run-splice ==== time ./udpthread -n10 -S2 count: connect 18742, splice 15898, unsplice 0, max 0, idle 0, accept 24927, send 83977, recv 2885, close 79044 10.01 real 14.18 user 13.47 sys ==== run-unsplice ==== time ./udpthread -n10 -S2 -U1 count: connect 19968, splice 10648, unsplice 33948, max 0, idle 0, accept 20388, send 58069, recv 903, close 58835 10.07 real 16.55 user 17.54 sys ==== run-max ==== time ./udpthread -n10 -S4 -M100 -s2 -r2 count: connect 8024, splice 7741, unsplice 0, max 0, idle 0, accept 11589, send 71034, recv 5444, close 34288 10.07 real 16.73 user 17.28 sys ==== run-idle ==== time ./udpthread -n10 -S4 -I100 -s2 -r2 count: connect 8861, splice 9344, unsplice 0, max 0, idle 11, accept 18623, send 101495, recv 4663, close 45484 10.02 real 16.80 user 17.04 sys