==== 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 820, accept 57, send 368, recv 24, close 568, drop 0 10.01 real 15.99 user 5.94 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124557, accept 62792, send 156201, recv 63098, close 122666, drop 0 0m10.07s real 0m09.09s user 0m18.46s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11529, splice 5743, unsplice 0, max 0, idle 0, accept 5831, send 35030, recv 8777, close 19274, drop 0 10.02 real 14.78 user 7.51 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 9985, splice 4972, unsplice 8415, max 0, idle 0, accept 5496, send 23708, recv 7502, close 14274, drop 0 10.00 real 16.95 user 13.96 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15714, splice 7287, unsplice 0, max 2508, idle 0, accept 7513, send 62557, recv 10395, close 21727, drop 0 10.09 real 15.22 user 14.34 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10229, splice 4963, unsplice 0, max 0, idle 1, accept 5208, send 49101, recv 9737, close 15052, drop 0 10.02 real 16.39 user 14.55 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2939, accept 2651, send 123811, recv 4448, close 0, drop 2632 10.02 real 18.43 user 14.98 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2128, splice 1065, unsplice 0, max 0, idle 0, accept 1366, send 198548, recv 92428, close 0, drop 2944 10.12 real 15.83 user 16.62 sys