==== 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 798, accept 67, send 347, recv 23, close 567, drop 0 10.02 real 14.93 user 9.65 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 119506, accept 62910, send 167259, recv 64080, close 120194, drop 0 0m10.09s real 0m08.84s user 0m18.44s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11969, splice 5680, unsplice 0, max 0, idle 0, accept 5619, send 35177, recv 7040, close 20160, drop 0 10.02 real 13.87 user 10.28 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12362, splice 5304, unsplice 9297, max 0, idle 0, accept 6215, send 27502, recv 7528, close 17790, drop 0 10.03 real 16.56 user 14.90 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17650, splice 7524, unsplice 0, max 2471, idle 0, accept 8556, send 72773, recv 9959, close 25011, drop 0 10.03 real 15.23 user 15.45 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10536, splice 5191, unsplice 0, max 0, idle 0, accept 5278, send 47967, recv 10268, close 15021, drop 0 10.04 real 17.00 user 15.38 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2958, accept 2665, send 124411, recv 4152, close 0, drop 2651 10.02 real 18.06 user 15.96 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2438, splice 1341, unsplice 0, max 0, idle 0, accept 1660, send 176005, recv 67481, close 0, drop 3456 10.08 real 15.44 user 17.02 sys