==== 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 799, accept 79, send 355, recv 38, close 579, drop 0 10.02 real 15.64 user 6.40 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 128403, accept 61999, send 150633, recv 59901, close 125476, drop 0 0m10.09s real 0m09.52s user 0m18.08s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11796, splice 5323, unsplice 0, max 0, idle 0, accept 5557, send 28612, recv 6349, close 20764, drop 0 10.02 real 14.28 user 7.76 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 10762, splice 4984, unsplice 9012, max 0, idle 0, accept 5802, send 21773, recv 6828, close 16007, drop 0 10.13 real 16.29 user 13.76 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16440, splice 7033, unsplice 0, max 2318, idle 0, accept 8357, send 64810, recv 9695, close 24502, drop 0 10.04 real 15.70 user 14.61 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10547, splice 4972, unsplice 0, max 0, idle 0, accept 5446, send 42977, recv 8737, close 15923, drop 0 10.07 real 17.16 user 14.17 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2934, accept 2667, send 124210, recv 4432, close 0, drop 2658 10.16 real 17.87 user 14.79 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2641, splice 1065, unsplice 0, max 0, idle 0, accept 1610, send 179825, recv 67679, close 0, drop 3503 10.04 real 14.87 user 17.03 sys