==== 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 836, accept 52, send 370, recv 17, close 576, drop 0 10.04 real 15.60 user 6.02 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125541, accept 62526, send 151748, recv 62742, close 122707, drop 0 0m10.09s real 0m09.20s user 0m18.26s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13367, splice 6285, unsplice 0, max 0, idle 0, accept 6213, send 39881, recv 8015, close 22391, drop 0 10.13 real 14.44 user 7.69 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13686, splice 5355, unsplice 9219, max 0, idle 0, accept 6047, send 30741, recv 6737, close 19232, drop 0 10.02 real 16.32 user 14.75 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13292, splice 5600, unsplice 0, max 1926, idle 0, accept 5622, send 50801, recv 8597, close 16789, drop 0 10.02 real 15.32 user 14.08 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8448, splice 4465, unsplice 0, max 0, idle 0, accept 4583, send 42361, recv 9443, close 12638, drop 0 10.08 real 16.87 user 14.59 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2923, accept 2661, send 124102, recv 4567, close 0, drop 2638 10.02 real 17.45 user 15.26 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2123, splice 1040, unsplice 0, max 0, idle 0, accept 1392, send 197042, recv 92593, close 0, drop 3013 10.06 real 14.95 user 16.88 sys