==== 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 796, accept 59, send 356, recv 27, close 548, drop 0 10.01 real 15.29 user 9.19 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 119178, accept 62642, send 166076, recv 63497, close 119349, drop 0 0m10.08s real 0m09.42s user 0m18.28s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10414, splice 5378, unsplice 0, max 0, idle 0, accept 5310, send 33957, recv 8277, close 17489, drop 0 10.04 real 13.62 user 9.86 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15007, splice 5616, unsplice 10486, max 0, idle 0, accept 6421, send 33112, recv 7295, close 21079, drop 0 10.02 real 16.43 user 14.91 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16643, splice 8022, unsplice 0, max 2867, idle 0, accept 8093, send 72654, recv 11984, close 22914, drop 0 10.04 real 15.22 user 14.84 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11496, splice 5169, unsplice 0, max 0, idle 0, accept 5553, send 53123, recv 8664, close 16780, drop 0 10.02 real 16.80 user 15.10 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2889, accept 2641, send 123241, recv 4271, close 0, drop 2630 10.02 real 17.74 user 15.48 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2550, splice 1331, unsplice 0, max 0, idle 0, accept 1694, send 174106, recv 70889, close 0, drop 3617 10.12 real 15.25 user 16.85 sys