==== 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 760, accept 66, send 323, recv 31, close 560, drop 0 10.02 real 15.14 user 7.25 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124833, accept 63268, send 173292, recv 64360, close 122594, drop 0 0m10.07s real 0m09.31s user 0m18.50s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 16255, splice 6795, unsplice 0, max 0, idle 0, accept 7151, send 39065, recv 6882, close 28553, drop 0 10.14 real 13.60 user 9.47 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 11115, splice 4950, unsplice 9178, max 0, idle 0, accept 5923, send 22706, recv 6771, close 16429, drop 0 10.07 real 17.19 user 14.90 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12817, splice 5786, unsplice 0, max 2004, idle 0, accept 6559, send 51415, recv 8261, close 18944, drop 0 10.22 real 16.86 user 15.24 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 91870, splice 9516, unsplice 0, max 0, idle 0, accept 7673, send 127566, recv 11892, close 53617, drop 0 10.03 real 13.36 user 18.08 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2892, accept 2642, send 122797, recv 4482, close 0, drop 2635 10.02 real 18.07 user 15.47 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2415, splice 836, unsplice 0, max 0, idle 0, accept 1424, send 172266, recv 69099, close 0, drop 3226 10.08 real 15.59 user 16.80 sys