==== 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 754, accept 53, send 316, recv 14, close 549, drop 0 10.02 real 15.21 user 9.35 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 129302, accept 62056, send 149859, recv 64118, close 125401, drop 0 0m10.08s real 0m09.61s user 0m17.79s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 7910, splice 4855, unsplice 0, max 0, idle 0, accept 4738, send 26820, recv 8772, close 13901, drop 0 10.02 real 14.23 user 9.93 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13903, splice 5688, unsplice 10495, max 0, idle 0, accept 6826, send 34277, recv 7834, close 20489, drop 0 10.02 real 15.75 user 14.92 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10529, splice 5255, unsplice 0, max 1829, idle 0, accept 5399, send 44211, recv 8516, close 15554, drop 0 10.04 real 15.86 user 14.32 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 7995, splice 3972, unsplice 0, max 0, idle 0, accept 3737, send 50967, recv 8148, close 10860, drop 0 10.02 real 12.71 user 12.62 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2995, accept 2694, send 123440, recv 4837, close 0, drop 2688 10.02 real 14.09 user 12.25 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2859, splice 1321, unsplice 0, max 0, idle 0, accept 1594, send 173124, recv 49560, close 0, drop 3667 10.10 real 12.13 user 12.57 sys