==== 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 807, accept 61, send 362, recv 26, close 545, drop 0 10.04 real 15.27 user 6.23 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124024, accept 62990, send 170106, recv 68887, close 121045, drop 0 0m10.07s real 0m08.60s user 0m18.45s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15875, splice 6383, unsplice 0, max 0, idle 0, accept 6642, send 45594, recv 9232, close 24905, drop 0 10.07 real 14.06 user 9.12 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14689, splice 6390, unsplice 10445, max 0, idle 0, accept 6654, send 32144, recv 7533, close 20927, drop 0 10.13 real 16.49 user 14.48 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 9695, splice 4722, unsplice 0, max 1762, idle 0, accept 4776, send 42795, recv 8332, close 13362, drop 0 10.04 real 14.33 user 13.91 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8748, splice 4151, unsplice 0, max 0, idle 0, accept 3766, send 43155, recv 6955, close 11856, drop 0 10.02 real 12.94 user 12.57 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3224, accept 2710, send 126401, recv 5164, close 0, drop 2696 10.02 real 13.93 user 12.56 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2731, splice 1427, unsplice 0, max 0, idle 0, accept 1649, send 175566, recv 55935, close 0, drop 3558 10.04 real 11.49 user 12.53 sys