==== 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 779, accept 81, send 361, recv 34, close 562, drop 0 10.02 real 15.29 user 9.23 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121733, accept 63568, send 185362, recv 63912, close 120528, drop 0 0m10.07s real 0m09.04s user 0m17.88s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 19036, splice 7712, unsplice 0, max 0, idle 0, accept 7792, send 53235, recv 8630, close 29838, drop 0 10.02 real 14.26 user 10.23 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 17350, splice 5293, unsplice 9801, max 0, idle 0, accept 5997, send 37016, recv 5264, close 23692, drop 0 10.16 real 16.78 user 14.98 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14850, splice 7178, unsplice 0, max 2618, idle 0, accept 7198, send 60100, recv 11351, close 20093, drop 0 10.02 real 16.25 user 15.22 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 16466, splice 7422, unsplice 0, max 0, idle 0, accept 7504, send 70565, recv 11707, close 23060, drop 0 10.05 real 15.74 user 16.18 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2909, accept 2634, send 123918, recv 4598, close 0, drop 2627 10.02 real 17.57 user 15.96 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2307, splice 1114, unsplice 0, max 0, idle 0, accept 1466, send 188512, recv 79858, close 0, drop 3213 10.14 real 14.91 user 17.05 sys