==== 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 832, accept 52, send 417, recv 24, close 522, drop 0 10.04 real 15.54 user 6.40 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121420, accept 62917, send 166522, recv 64701, close 120506, drop 0 0m10.08s real 0m09.26s user 0m18.25s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15249, splice 7018, unsplice 0, max 0, idle 0, accept 7053, send 46887, recv 9645, close 25393, drop 0 10.04 real 13.40 user 9.04 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 19239, splice 6563, unsplice 12125, max 0, idle 0, accept 7376, send 42358, recv 6931, close 27310, drop 0 10.03 real 15.85 user 14.06 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16141, splice 6852, unsplice 0, max 2279, idle 0, accept 7324, send 68236, recv 10178, close 21575, drop 0 10.02 real 15.76 user 15.00 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13986, splice 6267, unsplice 0, max 0, idle 2, accept 6723, send 62235, recv 11946, close 19687, drop 0 10.06 real 15.89 user 14.79 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2933, accept 2681, send 123923, recv 4359, close 0, drop 2667 10.12 real 18.05 user 15.84 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2855, splice 1237, unsplice 0, max 0, idle 0, accept 1869, send 161992, recv 54971, close 0, drop 4019 10.04 real 15.69 user 16.42 sys