==== 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 789, accept 52, send 369, recv 20, close 526, drop 0 10.03 real 15.60 user 7.94 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126816, accept 62798, send 158386, recv 62820, close 123683, drop 0 0m10.08s real 0m09.42s user 0m18.35s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10631, splice 5373, unsplice 0, max 0, idle 0, accept 5350, send 32294, recv 9201, close 17615, drop 0 10.02 real 13.88 user 10.43 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 7924, splice 4393, unsplice 7373, max 0, idle 0, accept 4690, send 18445, recv 6888, close 11578, drop 0 10.02 real 16.87 user 15.53 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 18954, splice 8787, unsplice 0, max 2967, idle 0, accept 9454, send 80928, recv 12679, close 27183, drop 0 10.02 real 14.86 user 15.16 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12567, splice 5350, unsplice 0, max 0, idle 0, accept 5638, send 58593, recv 9538, close 17173, drop 0 10.22 real 16.01 user 14.93 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2923, accept 2645, send 122925, recv 4339, close 0, drop 2638 10.02 real 17.23 user 16.34 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2773, splice 1334, unsplice 0, max 0, idle 0, accept 1845, send 156673, recv 46952, close 0, drop 3867 10.04 real 16.37 user 16.00 sys