==== 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 895, accept 93, send 433, recv 36, close 627, drop 0 10.02 real 14.91 user 8.92 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 120580, accept 62096, send 178957, recv 61433, close 119443, drop 0 0m10.07s real 0m09.04s user 0m18.07s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14935, splice 6600, unsplice 0, max 0, idle 0, accept 6667, send 43531, recv 7753, close 24058, drop 0 10.03 real 13.81 user 10.11 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 19556, splice 6053, unsplice 10951, max 0, idle 0, accept 7085, send 42784, recv 6591, close 26157, drop 0 10.08 real 15.58 user 14.84 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 20677, splice 8501, unsplice 0, max 2859, idle 0, accept 8980, send 85945, recv 10489, close 27128, drop 0 10.03 real 15.82 user 14.87 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12840, splice 5465, unsplice 0, max 0, idle 0, accept 5596, send 59821, recv 9397, close 17404, drop 0 10.06 real 16.36 user 15.42 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2971, accept 2638, send 123539, recv 4428, close 0, drop 2633 10.02 real 17.75 user 16.29 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2487, splice 1047, unsplice 0, max 0, idle 0, accept 1529, send 181543, recv 71192, close 0, drop 3407 10.04 real 15.27 user 17.06 sys