==== 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 676, accept 501, send 753, recv 27, close 1174 10.01 real 15.99 user 8.16 sys ==== run-sock100 ==== ulimit -n 500; time ./udpthread -n100 count: connect 177522, accept 96400, send 232546, recv 33045, close 272501 0m10.02s real 0m12.20s user 0m21.64s system ==== run-splice ==== time ./udpthread -n10 -S2 count: connect 28346, splice 24256, unsplice 0, max 0, idle 0, accept 42920, send 135610, recv 3024, close 127411 10.04 real 13.10 user 16.68 sys ==== run-unsplice ==== time ./udpthread -n10 -S2 -U1 count: connect 20821, splice 11375, unsplice 37417, max 0, idle 0, accept 24871, send 75213, recv 895, close 67327 10.04 real 16.58 user 17.87 sys ==== run-max ==== time ./udpthread -n10 -S4 -M100 -s2 -r2 count: connect 8146, splice 8764, unsplice 0, max 0, idle 0, accept 16033, send 87834, recv 4707, close 40922 10.02 real 17.32 user 16.99 sys ==== run-idle ==== time ./udpthread -n10 -S4 -I100 -s2 -r2 count: connect 13417, splice 12720, unsplice 0, max 0, idle 5, accept 22219, send 126366, recv 3292, close 60804 10.07 real 15.66 user 18.42 sys