==== 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 720, accept 501, send 739, recv 12, close 1219 10.01 real 15.82 user 7.33 sys ==== run-sock100 ==== ulimit -n 500; time ./udpthread -n100 count: connect 168160, accept 93700, send 218782, recv 32396, close 260300 0m10.02s real 0m12.21s user 0m21.60s system ==== run-splice ==== time ./udpthread -n10 -S2 count: connect 28662, splice 24061, unsplice 0, max 0, idle 0, accept 42149, send 133436, recv 3267, close 127684 10.04 real 13.20 user 16.19 sys ==== run-unsplice ==== time ./udpthread -n10 -S2 -U1 count: connect 28056, splice 13024, unsplice 46721, max 0, idle 0, accept 21582, send 81187, recv 1148, close 75928 10.01 real 15.76 user 18.91 sys ==== run-max ==== time ./udpthread -n10 -S4 -M100 -s2 -r2 count: connect 11170, splice 10352, unsplice 0, max 0, idle 0, accept 19806, send 106458, recv 4142, close 51145 10.12 real 15.84 user 17.12 sys ==== run-idle ==== time ./udpthread -n10 -S4 -I100 -s2 -r2 count: connect 7159, splice 7544, unsplice 0, max 0, idle 0, accept 14144, send 78823, recv 7252, close 35475 10.02 real 16.61 user 16.76 sys