==== 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 829, accept 53, send 364, recv 25, close 555, drop 0 10.01 real 15.83 user 5.87 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124137, accept 61633, send 153097, recv 62220, close 121711, drop 0 0m10.08s real 0m09.61s user 0m18.48s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13884, splice 6692, unsplice 0, max 0, idle 0, accept 6599, send 38573, recv 7817, close 23104, drop 0 10.02 real 14.67 user 7.80 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 17212, splice 6253, unsplice 11177, max 0, idle 0, accept 6555, send 39801, recv 6204, close 25029, drop 0 10.24 real 15.22 user 13.55 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12824, splice 5426, unsplice 0, max 1696, idle 0, accept 5670, send 57563, recv 7327, close 17606, drop 0 10.04 real 16.74 user 13.97 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11378, splice 5608, unsplice 0, max 0, idle 3, accept 5697, send 54941, recv 10690, close 16476, drop 0 10.09 real 15.90 user 14.21 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2864, accept 2657, send 123850, recv 4175, close 0, drop 2644 10.02 real 17.44 user 15.67 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2701, splice 1414, unsplice 0, max 0, idle 0, accept 1801, send 162346, recv 53360, close 0, drop 3874 10.03 real 16.16 user 16.40 sys