==== 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/tcpthread/tcpthread.c cc -o tcpthread tcpthread.o -lpthread time ./tcpthread count: connect 813, accept 69, send 359, recv 28, close 582, drop 0 10.03 real 15.78 user 5.44 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124747, accept 61581, send 163865, recv 61826, close 121310, drop 0 0m10.07s real 0m08.91s user 0m18.16s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 22661, splice 8445, unsplice 0, max 0, idle 0, accept 8739, send 60784, recv 10432, close 34279, drop 0 10.03 real 13.89 user 8.76 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 19315, splice 5226, unsplice 11023, max 0, idle 0, accept 5851, send 41774, recv 5247, close 25698, drop 0 10.02 real 15.57 user 14.36 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11504, splice 5307, unsplice 0, max 2010, idle 0, accept 5393, send 50313, recv 9300, close 15298, drop 0 10.10 real 16.67 user 14.77 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 16193, splice 6843, unsplice 0, max 0, idle 0, accept 7041, send 68950, recv 11212, close 21950, drop 0 10.04 real 15.07 user 14.17 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2968, accept 2651, send 122040, recv 4386, close 0, drop 2639 10.02 real 18.35 user 14.56 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2727, splice 1274, unsplice 0, max 0, idle 0, accept 1794, send 161547, recv 50464, close 0, drop 3814 10.10 real 15.53 user 16.38 sys