==== 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 810, accept 68, send 360, recv 28, close 564, drop 0 10.02 real 15.40 user 8.77 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121547, accept 61343, send 161273, recv 62303, close 119480, drop 0 0m10.08s real 0m09.56s user 0m18.06s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15866, splice 7158, unsplice 0, max 0, idle 0, accept 7081, send 44700, recv 9302, close 25469, drop 0 10.03 real 12.96 user 10.44 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 9987, splice 4804, unsplice 8106, max 0, idle 0, accept 5128, send 21940, recv 7222, close 14166, drop 0 10.01 real 17.64 user 14.03 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 19309, splice 8358, unsplice 0, max 2816, idle 0, accept 9232, send 76483, recv 11613, close 27285, drop 0 10.18 real 15.03 user 15.19 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11918, splice 5534, unsplice 0, max 0, idle 0, accept 6065, send 55186, recv 11153, close 17533, drop 0 10.07 real 15.94 user 15.78 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2853, accept 2626, send 123275, recv 4503, close 0, drop 2616 10.06 real 18.27 user 15.31 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2831, splice 1355, unsplice 0, max 0, idle 0, accept 1791, send 156287, recv 45793, close 0, drop 3878 10.12 real 15.86 user 16.73 sys