==== 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 803, accept 41, send 304, recv 13, close 579, drop 0 10.01 real 14.54 user 9.60 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124980, accept 62755, send 152058, recv 64722, close 123070, drop 0 0m10.07s real 0m09.03s user 0m18.61s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 9991, splice 5132, unsplice 0, max 0, idle 0, accept 5149, send 23680, recv 7411, close 17695, drop 0 10.02 real 14.26 user 10.42 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 9611, splice 5006, unsplice 7958, max 0, idle 0, accept 5598, send 18776, recv 5856, close 14948, drop 0 10.01 real 17.51 user 14.98 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16949, splice 7801, unsplice 0, max 2621, idle 0, accept 8749, send 62424, recv 11638, close 25319, drop 0 10.02 real 15.73 user 15.85 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14687, splice 7002, unsplice 0, max 0, idle 0, accept 7326, send 58902, recv 9200, close 22452, drop 0 10.18 real 15.63 user 16.48 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2951, accept 2694, send 125874, recv 4447, close 0, drop 2689 10.02 real 18.14 user 16.48 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2062, splice 839, unsplice 0, max 0, idle 0, accept 1218, send 198220, recv 93046, close 0, drop 2785 10.10 real 14.93 user 17.18 sys