==== 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 801, accept 51, send 340, recv 28, close 551, drop 0 10.01 real 15.06 user 6.52 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 127643, accept 61741, send 149317, recv 60310, close 123734, drop 0 0m10.08s real 0m09.84s user 0m18.44s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14322, splice 7850, unsplice 0, max 0, idle 0, accept 7451, send 37617, recv 9123, close 24582, drop 0 10.05 real 14.18 user 8.28 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13546, splice 4126, unsplice 8853, max 0, idle 0, accept 4634, send 29328, recv 4234, close 19635, drop 0 10.03 real 16.37 user 14.22 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 8840, splice 4696, unsplice 0, max 1774, idle 0, accept 4849, send 35381, recv 6899, close 13193, drop 0 10.03 real 16.58 user 15.32 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11581, splice 5029, unsplice 0, max 0, idle 0, accept 5580, send 45031, recv 7085, close 17042, drop 0 10.04 real 15.78 user 15.29 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2936, accept 2671, send 124289, recv 4559, close 0, drop 2665 10.02 real 17.79 user 15.17 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2308, splice 1187, unsplice 0, max 0, idle 0, accept 1521, send 189866, recv 85165, close 0, drop 3240 10.16 real 15.28 user 17.04 sys