==== 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 531, accept 370, send 1980, recv 36, close 870 10.32 real 13.99 user 10.28 sys ==== run-sock100 ==== ulimit -n 500; time ./udpthread -n100 count: connect 2670, accept 700, send 5850, recv 93, close 3144 0m11.15s real 0m07.27s user 0m02.52s system ==== run-splice ==== time ./udpthread -n10 -S2 count: connect 10437, splice 9565, unsplice 0, max 0, idle 0, accept 15004, send 53653, recv 1927, close 45780 10.10 real 10.60 user 10.34 sys ==== run-unsplice ==== time ./udpthread -n10 -S2 -U1 count: connect 22688, splice 11278, unsplice 39863, max 0, idle 0, accept 18085, send 65716, recv 790, close 62989 10.02 real 16.12 user 18.25 sys ==== run-max ==== time ./udpthread -n10 -S4 -M100 -s2 -r2 count: connect 9733, splice 9795, unsplice 0, max 0, idle 0, accept 18711, send 101998, recv 4325, close 47406 10.05 real 16.52 user 17.90 sys ==== run-idle ==== time ./udpthread -n10 -S4 -I100 -s2 -r2 count: connect 10579, splice 11172, unsplice 0, max 0, idle 0, accept 21244, send 114891, recv 4297, close 53963 10.09 real 15.66 user 18.64 sys