==== 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 894, accept 76, send 358, recv 26, close 647, drop 0 10.04 real 15.93 user 6.24 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125206, accept 63545, send 174888, recv 64730, close 123178, drop 0 0m10.08s real 0m09.01s user 0m17.82s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15075, splice 6842, unsplice 0, max 0, idle 0, accept 7021, send 43750, recv 9789, close 24010, drop 0 10.02 real 14.18 user 8.14 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15806, splice 4883, unsplice 9506, max 0, idle 0, accept 5623, send 35188, recv 5551, close 21461, drop 0 10.03 real 17.19 user 13.95 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17215, splice 6783, unsplice 0, max 2266, idle 0, accept 7373, send 67886, recv 10263, close 22195, drop 0 10.03 real 16.00 user 15.14 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 23153, splice 9160, unsplice 0, max 0, idle 0, accept 9403, send 99932, recv 13047, close 30483, drop 0 10.03 real 14.79 user 14.91 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3075, accept 2661, send 122619, recv 4424, close 0, drop 2657 10.02 real 17.35 user 16.10 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2692, splice 1024, unsplice 0, max 0, idle 0, accept 1692, send 167184, recv 60477, close 0, drop 3683 10.08 real 15.50 user 16.43 sys