==== 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 852, accept 135, send 410, recv 70, close 641, drop 0 10.01 real 15.38 user 5.59 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125296, accept 63932, send 178361, recv 62422, close 123294, drop 0 0m10.08s real 0m08.43s user 0m18.35s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 21849, splice 8986, unsplice 0, max 0, idle 0, accept 9314, send 60794, recv 10384, close 34508, drop 0 10.23 real 13.29 user 9.36 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14008, splice 3869, unsplice 8634, max 0, idle 0, accept 4470, send 31434, recv 4292, close 19005, drop 0 10.02 real 17.22 user 14.10 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14476, splice 6309, unsplice 0, max 2181, idle 0, accept 6539, send 67690, recv 9579, close 18916, drop 0 10.06 real 13.78 user 13.16 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 7535, splice 4127, unsplice 0, max 0, idle 2, accept 3749, send 48969, recv 9398, close 10388, drop 0 10.02 real 12.57 user 12.89 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5674, accept 4974, send 124318, recv 9323, close 0, drop 4965 10.01 real 12.58 user 13.23 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2905, splice 1260, unsplice 0, max 0, idle 0, accept 1736, send 142201, recv 41061, close 0, drop 3860 10.12 real 11.82 user 12.61 sys