==== 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 869, accept 75, send 400, recv 35, close 604, drop 0 10.03 real 15.36 user 9.79 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125025, accept 62691, send 150310, recv 61551, close 122536, drop 0 0m10.08s real 0m09.31s user 0m18.87s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 7978, splice 4610, unsplice 0, max 0, idle 0, accept 4537, send 26704, recv 8759, close 13659, drop 0 10.02 real 14.31 user 9.38 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15789, splice 6094, unsplice 10722, max 0, idle 0, accept 6639, send 34567, recv 7602, close 22049, drop 0 10.01 real 16.35 user 14.34 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13720, splice 6529, unsplice 0, max 2213, idle 0, accept 6445, send 49543, recv 9085, close 18827, drop 0 10.22 real 16.99 user 15.05 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14438, splice 6977, unsplice 0, max 0, idle 0, accept 6765, send 62810, recv 11097, close 19956, drop 0 10.11 real 15.58 user 14.78 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2910, accept 2646, send 125094, recv 4411, close 0, drop 2636 10.02 real 17.99 user 15.92 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2529, splice 993, unsplice 0, max 0, idle 0, accept 1578, send 179205, recv 69608, close 0, drop 3495 10.10 real 15.82 user 17.05 sys