==== 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 857, accept 82, send 420, recv 45, close 598, drop 0 10.01 real 14.80 user 9.65 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123330, accept 62456, send 167294, recv 62309, close 121244, drop 0 0m10.07s real 0m09.44s user 0m17.95s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 20266, splice 8564, unsplice 0, max 0, idle 0, accept 8625, send 53802, recv 9747, close 31802, drop 0 10.02 real 13.03 user 11.51 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 18600, splice 5309, unsplice 11038, max 0, idle 0, accept 6094, send 42662, recv 5944, close 24700, drop 0 10.04 real 16.37 user 14.48 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17878, splice 7252, unsplice 0, max 2451, idle 0, accept 7522, send 74438, recv 9613, close 22903, drop 0 10.02 real 15.58 user 15.73 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 20079, splice 7931, unsplice 0, max 0, idle 0, accept 7924, send 87845, recv 11877, close 25349, drop 0 10.02 real 14.92 user 15.46 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3043, accept 2663, send 123537, recv 4619, close 0, drop 2648 10.02 real 18.18 user 15.98 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2520, splice 1112, unsplice 0, max 0, idle 0, accept 1633, send 173572, recv 67529, close 0, drop 3603 10.10 real 15.74 user 16.53 sys