==== 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 826, accept 93, send 345, recv 49, close 635, drop 0 10.01 real 16.08 user 6.64 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122648, accept 63939, send 176116, recv 63133, close 122223, drop 0 0m10.07s real 0m09.14s user 0m17.84s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 16758, splice 7519, unsplice 0, max 0, idle 0, accept 7661, send 46331, recv 8934, close 27581, drop 0 10.02 real 14.01 user 8.63 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14314, splice 4974, unsplice 8959, max 0, idle 0, accept 5641, send 31193, recv 5499, close 20075, drop 0 10.08 real 16.37 user 14.43 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 19980, splice 7939, unsplice 0, max 2637, idle 0, accept 8639, send 77815, recv 10940, close 26079, drop 0 10.03 real 15.35 user 14.32 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14019, splice 5875, unsplice 0, max 0, idle 0, accept 6129, send 65550, recv 8820, close 19352, drop 0 10.02 real 16.56 user 13.84 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2965, accept 2666, send 123863, recv 4387, close 0, drop 2646 10.02 real 17.34 user 15.56 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2994, splice 1370, unsplice 0, max 0, idle 0, accept 1940, send 142974, recv 32061, close 0, drop 4247 10.04 real 16.21 user 15.87 sys