==== 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 403, accept 207, send 45117, recv 47, close 595 10.01 real 11.62 user 8.33 sys ==== run-sock100 ==== ulimit -n 500; time ./udpthread -n100 count: connect 162424, accept 90571, send 216778, recv 33140, close 251605 0m18.79s real 0m12.12s user 0m21.78s system ==== run-splice ==== time ./udpthread -n10 -S2 count: connect 27235, splice 23782, unsplice 0, max 0, idle 0, accept 39070, send 132990, recv 3244, close 121374 10.03 real 13.53 user 15.99 sys ==== run-unsplice ==== time ./udpthread -n10 -S2 -U1 count: connect 20750, splice 11080, unsplice 36457, max 0, idle 0, accept 20311, send 60940, recv 1060, close 61074 10.12 real 16.64 user 17.50 sys ==== run-max ==== time ./udpthread -n10 -S4 -M100 -s2 -r2 count: connect 9269, splice 9056, unsplice 0, max 0, idle 0, accept 14645, send 86365, recv 5370, close 40915 10.02 real 17.13 user 17.10 sys ==== run-idle ==== time ./udpthread -n10 -S4 -I100 -s2 -r2 count: connect 6525, splice 6533, unsplice 0, max 0, idle 14, accept 11742, send 70308, recv 7075, close 29889 10.04 real 17.14 user 17.43 sys