==== 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 801, accept 90, send 407, recv 37, close 574, drop 0 10.01 real 14.49 user 9.66 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 118958, accept 62383, send 180031, recv 66180, close 116703, drop 0 0m10.06s real 0m09.25s user 0m18.29s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 18141, splice 7876, unsplice 0, max 0, idle 0, accept 8085, send 49334, recv 9401, close 29073, drop 0 10.03 real 13.94 user 8.51 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 18505, splice 6072, unsplice 11478, max 0, idle 0, accept 6994, send 40752, recv 7324, close 25130, drop 0 10.02 real 16.67 user 13.43 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13993, splice 6431, unsplice 0, max 2253, idle 0, accept 6366, send 67693, recv 9123, close 18711, drop 0 10.03 real 13.10 user 13.22 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11887, splice 5306, unsplice 0, max 0, idle 0, accept 4934, send 64663, recv 7994, close 14834, drop 0 10.18 real 12.37 user 12.95 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2943, accept 2673, send 123548, recv 5166, close 0, drop 2661 10.04 real 14.31 user 12.32 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 5334, splice 1509, unsplice 0, max 0, idle 0, accept 2651, send 101491, recv 6477, close 0, drop 6545 10.12 real 12.79 user 12.21 sys