==== 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 781, accept 79, send 374, recv 35, close 557, drop 0 10.03 real 14.58 user 9.92 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123971, accept 63042, send 150449, recv 63443, close 121931, drop 0 0m10.07s real 0m09.45s user 0m18.32s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11544, splice 5975, unsplice 0, max 0, idle 0, accept 6026, send 33967, recv 7302, close 20525, drop 0 10.22 real 13.56 user 11.16 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13872, splice 3723, unsplice 9023, max 0, idle 0, accept 5082, send 27536, recv 4417, close 20164, drop 0 10.05 real 17.38 user 15.23 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12650, splice 5477, unsplice 0, max 1765, idle 0, accept 5476, send 56513, recv 7878, close 16291, drop 0 10.22 real 13.28 user 13.32 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 7733, splice 4001, unsplice 0, max 0, idle 3, accept 3685, send 45352, recv 6036, close 11349, drop 0 10.15 real 13.12 user 12.48 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2881, accept 2675, send 122581, recv 4962, close 0, drop 2657 10.02 real 13.93 user 12.66 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2448, splice 1146, unsplice 0, max 0, idle 0, accept 1381, send 169226, recv 62331, close 0, drop 3150 10.06 real 12.02 user 13.10 sys