==== 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 773, accept 76, send 365, recv 51, close 537, drop 0 10.04 real 15.29 user 9.15 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126706, accept 62259, send 154722, recv 66115, close 122606, drop 0 0m10.07s real 0m09.52s user 0m18.24s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 16431, splice 7428, unsplice 0, max 0, idle 0, accept 7803, send 47356, recv 9429, close 27863, drop 0 10.04 real 13.52 user 10.96 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15641, splice 5618, unsplice 10391, max 0, idle 0, accept 6689, send 32873, recv 6528, close 22490, drop 0 10.05 real 16.25 user 15.50 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11145, splice 4668, unsplice 0, max 1599, idle 0, accept 4863, send 49671, recv 5599, close 14730, drop 0 10.05 real 12.56 user 12.86 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11710, splice 5369, unsplice 0, max 0, idle 1, accept 4868, send 64744, recv 9363, close 15093, drop 0 10.16 real 12.50 user 12.39 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2941, accept 2688, send 122157, recv 5037, close 0, drop 2675 10.02 real 13.60 user 12.76 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2088, splice 977, unsplice 0, max 0, idle 0, accept 1202, send 208680, recv 92897, close 0, drop 2712 10.14 real 11.48 user 13.81 sys