==== 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 540, accept 382, send 2154, recv 18, close 904 10.00 real 13.85 user 10.27 sys ==== run-sock100 ==== ulimit -n 500; time ./udpthread -n100 count: connect 39478, accept 16600, send 45545, recv 4144, close 55644 0m10.02s real 0m07.86s user 0m06.00s system ==== run-splice ==== time ./udpthread -n10 -S2 count: connect 25216, splice 21124, unsplice 0, max 0, idle 0, accept 34515, send 115118, recv 2811, close 107273 10.02 real 12.93 user 15.33 sys ==== run-unsplice ==== time ./udpthread -n10 -S2 -U1 count: connect 20638, splice 10916, unsplice 37720, max 0, idle 0, accept 20821, send 65991, recv 981, close 61476 10.10 real 15.82 user 18.15 sys ==== run-max ==== time ./udpthread -n10 -S4 -M100 -s2 -r2 count: connect 9049, splice 8029, unsplice 0, max 0, idle 0, accept 11737, send 74240, recv 5229, close 35645 10.01 real 17.36 user 16.95 sys ==== run-idle ==== time ./udpthread -n10 -S4 -I100 -s2 -r2 count: connect 10850, splice 11123, unsplice 0, max 0, idle 0, accept 20070, send 110989, recv 5659, close 52561 10.02 real 16.41 user 17.60 sys