==== 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 810, accept 37, send 370, recv 19, close 515, drop 0 10.04 real 15.17 user 8.59 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123153, accept 62809, send 155338, recv 63762, close 121260, drop 0 0m10.06s real 0m09.35s user 0m18.32s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 8860, splice 4872, unsplice 0, max 0, idle 0, accept 4849, send 22892, recv 7248, close 16329, drop 0 10.02 real 13.75 user 9.68 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 11497, splice 3977, unsplice 6770, max 0, idle 0, accept 4984, send 22085, recv 3734, close 17796, drop 0 10.02 real 17.16 user 15.06 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14449, splice 6517, unsplice 0, max 1987, idle 0, accept 6990, send 49862, recv 9231, close 21918, drop 0 10.03 real 16.12 user 15.94 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10578, splice 4611, unsplice 0, max 0, idle 0, accept 5120, send 41575, recv 6598, close 16029, drop 0 10.09 real 16.22 user 16.19 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2876, accept 2628, send 123989, recv 4455, close 0, drop 2621 10.02 real 17.65 user 16.01 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2034, splice 894, unsplice 0, max 0, idle 0, accept 1280, send 237640, recv 132623, close 0, drop 2709 10.06 real 13.50 user 17.58 sys