==== 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 820, accept 79, send 403, recv 32, close 565, drop 0 10.01 real 14.96 user 9.84 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124760, accept 62810, send 170689, recv 63357, close 122360, drop 0 0m10.07s real 0m08.88s user 0m18.50s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 9341, splice 5077, unsplice 0, max 0, idle 0, accept 4952, send 30392, recv 8353, close 15443, drop 0 10.12 real 14.39 user 10.00 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13173, splice 4697, unsplice 8418, max 0, idle 0, accept 5417, send 30232, recv 5294, close 18618, drop 0 10.08 real 17.15 user 14.96 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16178, splice 7171, unsplice 0, max 2464, idle 0, accept 7325, send 68149, recv 10926, close 21774, drop 0 10.15 real 15.09 user 15.77 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10688, splice 5091, unsplice 0, max 0, idle 0, accept 5141, send 52839, recv 10624, close 14694, drop 0 10.04 real 16.64 user 15.45 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2891, accept 2643, send 121445, recv 4506, close 0, drop 2638 10.16 real 17.65 user 16.13 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3079, splice 1450, unsplice 0, max 0, idle 0, accept 1966, send 128471, recv 19075, close 0, drop 4252 10.18 real 17.12 user 15.96 sys