==== 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 814, accept 59, send 365, recv 29, close 555, drop 0 10.01 real 14.54 user 9.51 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122048, accept 62619, send 159394, recv 63415, close 120931, drop 0 0m10.07s real 0m09.41s user 0m18.03s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12901, splice 5577, unsplice 0, max 0, idle 0, accept 5588, send 35414, recv 7762, close 20893, drop 0 10.07 real 13.93 user 10.01 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15403, splice 6173, unsplice 10387, max 0, idle 0, accept 6591, send 36400, recv 7205, close 21452, drop 0 10.23 real 15.76 user 14.71 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11985, splice 5095, unsplice 0, max 1869, idle 0, accept 5307, send 68314, recv 7463, close 15777, drop 0 10.17 real 11.22 user 9.39 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 6861, splice 3906, unsplice 0, max 0, idle 10, accept 3457, send 63224, recv 8784, close 9674, drop 0 10.09 real 10.17 user 8.08 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 4144, accept 3580, send 90223, recv 8314, close 0, drop 3569 10.03 real 11.05 user 7.83 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3243, splice 1645, unsplice 0, max 0, idle 0, accept 1853, send 149028, recv 28269, close 0, drop 4143 10.10 real 9.41 user 8.45 sys