==== 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 841, accept 57, send 352, recv 15, close 591, drop 0 10.03 real 15.78 user 5.94 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123750, accept 61585, send 159533, recv 61712, close 120991, drop 0 0m10.07s real 0m09.30s user 0m17.93s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15129, splice 6779, unsplice 0, max 0, idle 0, accept 6850, send 44067, recv 8181, close 24463, drop 0 10.02 real 13.64 user 7.88 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14945, splice 4504, unsplice 9727, max 0, idle 0, accept 5161, send 32267, recv 5107, close 20923, drop 0 10.13 real 16.13 user 13.87 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 19718, splice 8431, unsplice 0, max 2903, idle 0, accept 9235, send 80505, recv 12652, close 26558, drop 0 10.04 real 15.20 user 14.23 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9754, splice 4585, unsplice 0, max 0, idle 0, accept 4646, send 47755, recv 8205, close 13765, drop 0 10.12 real 17.22 user 13.69 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2938, accept 2680, send 122656, recv 4627, close 0, drop 2675 10.02 real 17.83 user 14.67 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2641, splice 1133, unsplice 0, max 0, idle 0, accept 1637, send 163701, recv 55352, close 0, drop 3653 10.12 real 15.80 user 15.95 sys