==== 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 355, accept 205, send 139995, recv 20, close 540 10.17 real 11.22 user 7.84 sys ==== run-sock100 ==== ulimit -n 500; time ./udpthread -n100 count: connect 152541, accept 86400, send 203811, recv 30854, close 237573 0m23.11s real 0m12.23s user 0m21.96s system ==== run-splice ==== time ./udpthread -n10 -S2 count: connect 22577, splice 19986, unsplice 0, max 0, idle 0, accept 34176, send 110446, recv 3419, close 101516 10.12 real 13.58 user 14.74 sys ==== run-unsplice ==== time ./udpthread -n10 -S2 -U1 count: connect 16632, splice 8220, unsplice 28547, max 0, idle 0, accept 20506, send 50933, recv 796, close 53041 10.02 real 16.85 user 17.38 sys ==== run-max ==== time ./udpthread -n10 -S4 -M100 -s2 -r2 count: connect 7339, splice 7414, unsplice 0, max 0, idle 0, accept 13388, send 76869, recv 4322, close 34604 10.14 real 16.67 user 17.19 sys ==== run-idle ==== time ./udpthread -n10 -S4 -I100 -s2 -r2 count: connect 11092, splice 10078, unsplice 0, max 0, idle 11, accept 18787, send 100539, recv 4116, close 49306 10.02 real 16.44 user 17.78 sys