==== 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 815, accept 27, send 371, recv 16, close 521, drop 0 10.02 real 15.25 user 5.88 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124699, accept 62850, send 158126, recv 63280, close 122107, drop 0 0m10.08s real 0m09.26s user 0m18.62s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10267, splice 5538, unsplice 0, max 0, idle 0, accept 5395, send 31502, recv 9161, close 17116, drop 0 10.06 real 14.69 user 7.30 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14368, splice 3820, unsplice 9594, max 0, idle 0, accept 5294, send 27913, recv 4606, close 20805, drop 0 10.22 real 17.22 user 13.94 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16413, splice 6948, unsplice 0, max 2246, idle 0, accept 7553, send 67758, recv 9315, close 22518, drop 0 10.06 real 13.41 user 14.06 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10870, splice 4151, unsplice 0, max 0, idle 0, accept 3906, send 52931, recv 4755, close 13488, drop 0 10.08 real 12.69 user 12.74 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2955, accept 2656, send 122433, recv 4743, close 0, drop 2637 10.02 real 13.29 user 13.00 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1942, splice 871, unsplice 0, max 0, idle 0, accept 1017, send 208692, recv 91401, close 0, drop 2364 10.16 real 11.33 user 13.37 sys