==== 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 828, accept 68, send 380, recv 30, close 581, drop 0 10.03 real 15.27 user 8.65 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124306, accept 63667, send 165678, recv 64684, close 121319, drop 0 0m10.07s real 0m09.63s user 0m18.24s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 17270, splice 7232, unsplice 0, max 0, idle 0, accept 7439, send 45842, recv 8552, close 27960, drop 0 10.04 real 13.75 user 9.83 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16257, splice 5685, unsplice 10139, max 0, idle 0, accept 6354, send 35608, recv 6969, close 21705, drop 0 10.22 real 16.60 user 14.95 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11710, splice 5363, unsplice 0, max 2027, idle 0, accept 5703, send 52228, recv 8829, close 16002, drop 0 10.02 real 14.49 user 13.80 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10857, splice 5298, unsplice 0, max 0, idle 1, accept 5343, send 61189, recv 11073, close 15511, drop 0 10.04 real 12.97 user 12.58 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3095, accept 2694, send 124947, recv 4923, close 0, drop 2683 10.02 real 13.60 user 12.53 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2479, splice 1162, unsplice 0, max 0, idle 0, accept 1475, send 188861, recv 73191, close 0, drop 3324 10.08 real 12.00 user 13.26 sys