==== 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 707, accept 502, send 785, recv 14, close 1208 10.02 real 15.76 user 6.57 sys ==== run-sock100 ==== ulimit -n 500; time ./udpthread -n100 count: connect 176583, accept 94900, send 233629, recv 34120, close 269985 0m10.02s real 0m12.08s user 0m21.47s system ==== run-splice ==== time ./udpthread -n10 -S2 count: connect 30934, splice 26470, unsplice 0, max 0, idle 0, accept 45529, send 149991, recv 3343, close 138123 10.04 real 12.67 user 16.50 sys ==== run-unsplice ==== time ./udpthread -n10 -S2 -U1 count: connect 23928, splice 12828, unsplice 42506, max 0, idle 0, accept 24773, send 78886, recv 1070, close 73644 10.01 real 15.60 user 18.43 sys ==== run-max ==== time ./udpthread -n10 -S4 -M100 -s2 -r2 count: connect 10758, splice 9899, unsplice 0, max 0, idle 0, accept 18504, send 108911, recv 4880, close 48315 10.08 real 16.61 user 16.79 sys ==== run-idle ==== time ./udpthread -n10 -S4 -I100 -s2 -r2 count: connect 8984, splice 8873, unsplice 0, max 0, idle 2, accept 16771, send 94471, recv 7125, close 42754 10.07 real 16.08 user 17.07 sys