==== 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 820, accept 80, send 375, recv 34, close 585, drop 0 10.03 real 14.98 user 9.55 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125716, accept 62530, send 160831, recv 61660, close 123323, drop 0 0m10.07s real 0m09.30s user 0m18.12s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15621, splice 7022, unsplice 0, max 0, idle 0, accept 7197, send 46791, recv 9603, close 25322, drop 0 10.14 real 13.62 user 10.97 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 9100, splice 4475, unsplice 7309, max 0, idle 0, accept 4638, send 21196, recv 6391, close 12870, drop 0 10.02 real 17.55 user 14.86 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13761, splice 6749, unsplice 0, max 2360, idle 0, accept 7299, send 66830, recv 9019, close 20545, drop 0 10.03 real 12.91 user 13.06 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 7694, splice 4070, unsplice 0, max 0, idle 0, accept 3901, send 46321, recv 8519, close 10899, drop 0 10.04 real 12.77 user 12.66 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2980, accept 2693, send 122886, recv 5126, close 0, drop 2679 10.02 real 13.70 user 12.71 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2304, splice 896, unsplice 0, max 0, idle 0, accept 1291, send 181435, recv 77627, close 0, drop 2881 10.08 real 11.53 user 13.63 sys