==== 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 792, accept 77, send 358, recv 45, close 583, drop 0 10.04 real 15.78 user 7.14 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121954, accept 62400, send 158013, recv 65175, close 121048, drop 0 0m10.07s real 0m09.10s user 0m18.83s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10010, splice 5118, unsplice 0, max 0, idle 0, accept 5124, send 34857, recv 8320, close 17239, drop 0 10.22 real 13.45 user 9.07 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13634, splice 4451, unsplice 8061, max 0, idle 0, accept 5697, send 29013, recv 4583, close 20250, drop 0 10.04 real 16.57 user 15.04 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11382, splice 5323, unsplice 0, max 1969, idle 0, accept 5362, send 56445, recv 8651, close 15047, drop 0 10.17 real 12.95 user 12.36 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 7678, splice 4086, unsplice 0, max 0, idle 6, accept 3773, send 80800, recv 10124, close 10578, drop 0 10.25 real 10.35 user 8.15 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3067, accept 2762, send 87503, recv 6055, close 0, drop 2745 10.02 real 11.24 user 7.96 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 4299, splice 2248, unsplice 0, max 0, idle 0, accept 2534, send 119748, recv 17805, close 0, drop 5593 10.05 real 9.73 user 8.48 sys