==== 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 761, accept 73, send 339, recv 30, close 572, drop 0 10.02 real 14.27 user 9.48 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126296, accept 61700, send 148488, recv 61704, close 122985, drop 0 0m10.08s real 0m09.86s user 0m18.48s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14106, splice 6363, unsplice 0, max 0, idle 0, accept 6428, send 33396, recv 7792, close 24237, drop 0 10.14 real 13.42 user 11.27 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12237, splice 5212, unsplice 10041, max 0, idle 0, accept 6311, send 23804, recv 7167, close 17898, drop 0 10.02 real 16.83 user 14.78 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14073, splice 6758, unsplice 0, max 2252, idle 0, accept 6990, send 57776, recv 9206, close 20168, drop 0 10.08 real 13.59 user 13.61 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10391, splice 4742, unsplice 0, max 0, idle 0, accept 3936, send 49928, recv 7752, close 13254, drop 0 10.12 real 12.98 user 11.79 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3170, accept 2701, send 127026, recv 5288, close 0, drop 2696 10.02 real 13.77 user 12.57 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1435, splice 584, unsplice 0, max 0, idle 0, accept 871, send 223610, recv 126426, close 0, drop 1899 10.21 real 10.23 user 13.69 sys