==== 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 429, accept 316, send 3873, recv 73, close 711 11.19 real 13.78 user 10.57 sys ==== run-sock100 ==== ulimit -n 500; time ./udpthread -n100 count: connect 16801, accept 5000, send 25853, recv 547, close 21465 0m10.01s real 0m08.19s user 0m04.14s system ==== run-splice ==== time ./udpthread -n10 -S2 count: connect 26546, splice 22917, unsplice 0, max 0, idle 0, accept 41166, send 131271, recv 3180, close 120538 10.01 real 13.04 user 16.72 sys ==== run-unsplice ==== time ./udpthread -n10 -S2 -U1 count: connect 15244, splice 8662, unsplice 25778, max 0, idle 0, accept 19996, send 48224, recv 944, close 49446 10.14 real 17.62 user 16.84 sys ==== run-max ==== time ./udpthread -n10 -S4 -M100 -s2 -r2 count: connect 7805, splice 8371, unsplice 0, max 0, idle 0, accept 14669, send 82222, recv 5482, close 38334 10.02 real 16.84 user 17.69 sys ==== run-idle ==== time ./udpthread -n10 -S4 -I100 -s2 -r2 count: connect 8141, splice 8128, unsplice 0, max 0, idle 0, accept 17068, send 88636, recv 4831, close 40588 10.09 real 16.66 user 17.57 sys