==== 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 814, accept 82, send 421, recv 44, close 559, drop 0 10.03 real 16.79 user 5.78 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 127731, accept 62911, send 167260, recv 61475, close 124400, drop 0 0m10.08s real 0m09.14s user 0m18.55s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 16638, splice 7058, unsplice 0, max 0, idle 0, accept 7030, send 46686, recv 9369, close 25681, drop 0 10.06 real 13.79 user 11.01 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13025, splice 5448, unsplice 8671, max 0, idle 0, accept 5647, send 30106, recv 6966, close 17571, drop 0 10.16 real 17.04 user 14.88 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15249, splice 6378, unsplice 0, max 2257, idle 0, accept 6357, send 65458, recv 9964, close 18615, drop 0 10.22 real 14.67 user 14.69 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 6833, splice 3954, unsplice 0, max 0, idle 2, accept 3514, send 47403, recv 9329, close 9560, drop 0 10.04 real 12.97 user 12.92 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3141, accept 2690, send 124736, recv 5247, close 0, drop 2682 10.02 real 14.05 user 12.45 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2175, splice 962, unsplice 0, max 0, idle 0, accept 1213, send 214452, recv 77051, close 0, drop 2794 10.08 real 11.22 user 13.35 sys