==== 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 772, accept 91, send 363, recv 45, close 569, drop 0 10.01 real 15.33 user 9.82 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121325, accept 63760, send 176210, recv 66789, close 120904, drop 0 0m10.07s real 0m08.87s user 0m18.18s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13538, splice 6266, unsplice 0, max 0, idle 0, accept 6123, send 40280, recv 7742, close 21844, drop 0 10.03 real 13.70 user 11.07 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 19311, splice 5918, unsplice 10408, max 0, idle 0, accept 6588, send 42266, recv 5941, close 25581, drop 0 10.03 real 16.45 user 15.40 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14774, splice 6251, unsplice 0, max 2201, idle 0, accept 6599, send 71633, recv 7414, close 19653, drop 0 10.08 real 13.67 user 13.24 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11686, splice 5277, unsplice 0, max 0, idle 2, accept 4713, send 69386, recv 9599, close 14301, drop 0 10.08 real 12.79 user 12.47 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3010, accept 2698, send 126054, recv 4853, close 0, drop 2686 10.02 real 14.20 user 12.38 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2374, splice 1118, unsplice 0, max 0, idle 0, accept 1357, send 193834, recv 82727, close 0, drop 2995 10.12 real 11.18 user 13.75 sys