==== 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 817, accept 57, send 364, recv 20, close 559, drop 0 10.01 real 15.30 user 8.97 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 118786, accept 61173, send 161420, recv 63656, close 117605, drop 0 0m10.07s real 0m08.97s user 0m18.57s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12518, splice 6097, unsplice 0, max 0, idle 0, accept 6063, send 35981, recv 7204, close 21415, drop 0 10.14 real 13.84 user 10.35 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12606, splice 3295, unsplice 8152, max 0, idle 0, accept 4216, send 24868, recv 3995, close 17957, drop 0 10.09 real 16.98 user 14.74 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13571, splice 6038, unsplice 0, max 2099, idle 0, accept 6782, send 54062, recv 8394, close 19607, drop 0 10.08 real 15.97 user 15.61 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11854, splice 5462, unsplice 0, max 0, idle 0, accept 5646, send 49428, recv 7701, close 17471, drop 0 10.02 real 16.71 user 15.35 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2901, accept 2648, send 122784, recv 4429, close 0, drop 2634 10.02 real 17.95 user 15.90 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2519, splice 1224, unsplice 0, max 0, idle 0, accept 1672, send 169714, recv 67198, close 0, drop 3515 10.06 real 15.86 user 16.50 sys