==== 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 747, accept 504, send 801, recv 31, close 1249 10.02 real 15.62 user 9.66 sys ==== run-sock100 ==== ulimit -n 500; time ./udpthread -n100 count: connect 177508, accept 96096, send 235970, recv 33563, close 272011 0m10.02s real 0m12.94s user 0m21.38s system ==== run-splice ==== time ./udpthread -n10 -S2 count: connect 28764, splice 24770, unsplice 0, max 0, idle 0, accept 43015, send 139835, recv 3757, close 129369 10.06 real 12.90 user 16.93 sys ==== run-unsplice ==== time ./udpthread -n10 -S2 -U1 count: connect 23811, splice 12039, unsplice 40820, max 0, idle 0, accept 31898, send 80296, recv 994, close 79041 10.03 real 15.35 user 18.69 sys ==== run-max ==== time ./udpthread -n10 -S4 -M100 -s2 -r2 count: connect 9713, splice 9378, unsplice 0, max 0, idle 0, accept 16228, send 91721, recv 5284, close 44310 10.03 real 15.98 user 18.11 sys ==== run-idle ==== time ./udpthread -n10 -S4 -I100 -s2 -r2 count: connect 9647, splice 9552, unsplice 0, max 0, idle 0, accept 18708, send 101069, recv 4263, close 47116 10.06 real 16.45 user 17.92 sys