==== 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 876, accept 103, send 421, recv 38, close 620, drop 0 10.03 real 14.81 user 9.40 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124715, accept 60027, send 153973, recv 61725, close 120246, drop 0 0m10.07s real 0m09.64s user 0m18.59s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15301, splice 6555, unsplice 0, max 0, idle 0, accept 6425, send 43327, recv 8351, close 23974, drop 0 10.02 real 13.89 user 10.67 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 17804, splice 5139, unsplice 10922, max 0, idle 0, accept 6278, send 39287, recv 6067, close 24321, drop 0 10.22 real 16.72 user 14.90 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 22373, splice 8944, unsplice 0, max 2905, idle 0, accept 9645, send 92642, recv 12769, close 29212, drop 0 10.03 real 14.68 user 15.67 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8454, splice 4292, unsplice 0, max 0, idle 0, accept 4204, send 40731, recv 8994, close 11707, drop 0 10.12 real 16.67 user 15.79 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2943, accept 2670, send 122901, recv 4502, close 0, drop 2656 10.02 real 17.62 user 15.93 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2575, splice 1145, unsplice 0, max 0, idle 0, accept 1635, send 172713, recv 67917, close 0, drop 3586 10.02 real 15.71 user 16.81 sys