==== 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 691, accept 502, send 1230, recv 56, close 1177 10.02 real 15.48 user 6.11 sys ==== run-sock100 ==== ulimit -n 500; time ./udpthread -n100 count: connect 174024, accept 96800, send 229872, recv 34243, close 269271 0m10.01s real 0m12.40s user 0m21.49s system ==== run-splice ==== time ./udpthread -n10 -S2 count: connect 29131, splice 24262, unsplice 0, max 0, idle 0, accept 40427, send 138044, recv 2561, close 125619 10.01 real 13.67 user 15.03 sys ==== run-unsplice ==== time ./udpthread -n10 -S2 -U1 count: connect 16549, splice 9117, unsplice 29686, max 0, idle 0, accept 22835, send 54314, recv 1115, close 54938 10.19 real 17.03 user 16.27 sys ==== run-max ==== time ./udpthread -n10 -S4 -M100 -s2 -r2 count: connect 8714, splice 8590, unsplice 0, max 0, idle 0, accept 14812, send 82468, recv 5576, close 40042 10.01 real 17.04 user 16.42 sys ==== run-idle ==== time ./udpthread -n10 -S4 -I100 -s2 -r2 count: connect 11688, splice 11207, unsplice 0, max 0, idle 2, accept 20497, send 116650, recv 4611, close 53776 10.15 real 16.30 user 17.53 sys