==== 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 768, accept 59, send 350, recv 36, close 508, drop 0 10.01 real 15.49 user 7.44 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 131046, accept 62850, send 153054, recv 60460, close 126836, drop 0 0m10.08s real 0m09.43s user 0m18.49s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12759, splice 5554, unsplice 0, max 0, idle 0, accept 5773, send 33516, recv 7316, close 22191, drop 0 10.14 real 14.04 user 7.80 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 19582, splice 5954, unsplice 13648, max 0, idle 0, accept 7986, send 35577, recv 6956, close 28670, drop 0 10.03 real 16.17 user 14.37 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15416, splice 6287, unsplice 0, max 2027, idle 0, accept 7559, send 59934, recv 9697, close 22381, drop 0 10.06 real 16.67 user 13.98 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12947, splice 5706, unsplice 0, max 0, idle 0, accept 6459, send 55266, recv 9669, close 19733, drop 0 10.03 real 16.59 user 14.43 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2945, accept 2682, send 123335, recv 4240, close 0, drop 2667 10.02 real 17.89 user 15.53 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2435, splice 987, unsplice 0, max 0, idle 0, accept 1508, send 178929, recv 65330, close 0, drop 3327 10.09 real 15.28 user 17.17 sys