==== 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 768, accept 64, send 361, recv 27, close 518, drop 0 10.03 real 15.24 user 8.90 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124569, accept 63274, send 159226, recv 66399, close 122048, drop 0 0m10.08s real 0m09.11s user 0m18.63s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 18926, splice 7981, unsplice 0, max 0, idle 0, accept 8251, send 49646, recv 8291, close 30927, drop 0 10.02 real 12.75 user 11.18 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 18015, splice 5252, unsplice 11676, max 0, idle 0, accept 6872, send 39214, recv 6303, close 25335, drop 0 10.02 real 15.71 user 14.68 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10000, splice 4864, unsplice 0, max 1816, idle 0, accept 5294, send 42329, recv 8169, close 14360, drop 0 10.02 real 17.52 user 15.29 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8203, splice 4535, unsplice 0, max 0, idle 0, accept 4784, send 39806, recv 9971, close 12897, drop 0 10.02 real 16.57 user 15.63 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2872, accept 2631, send 122517, recv 4233, close 0, drop 2623 10.02 real 17.70 user 16.12 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1943, splice 1019, unsplice 0, max 0, idle 0, accept 1284, send 208498, recv 101428, close 0, drop 2726 10.22 real 15.02 user 16.84 sys