==== 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 774, accept 95, send 378, recv 33, close 585, drop 0 10.02 real 15.20 user 9.06 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123906, accept 62727, send 163821, recv 64108, close 121841, drop 0 0m10.08s real 0m09.35s user 0m17.64s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10989, splice 5518, unsplice 0, max 0, idle 0, accept 5526, send 34607, recv 9738, close 17793, drop 0 10.02 real 14.03 user 9.40 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15690, splice 5052, unsplice 8388, max 0, idle 0, accept 5766, send 33880, recv 4358, close 22070, drop 0 10.06 real 16.52 user 13.74 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 19296, splice 7965, unsplice 0, max 2700, idle 0, accept 8414, send 81603, recv 10566, close 25451, drop 0 10.19 real 15.08 user 15.85 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10941, splice 5070, unsplice 0, max 0, idle 0, accept 5233, send 50103, recv 9665, close 15733, drop 0 10.04 real 16.07 user 15.57 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2869, accept 2659, send 123979, recv 4303, close 0, drop 2639 10.02 real 18.03 user 15.81 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1578, splice 794, unsplice 0, max 0, idle 0, accept 1035, send 229758, recv 126022, close 0, drop 2207 10.10 real 14.89 user 16.98 sys