==== 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 795, accept 39, send 358, recv 13, close 508, drop 0 10.03 real 15.08 user 9.34 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 120325, accept 62487, send 166818, recv 65469, close 118893, drop 0 0m10.06s real 0m09.82s user 0m17.61s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 9755, splice 5176, unsplice 0, max 0, idle 0, accept 5134, send 29116, recv 8491, close 16416, drop 0 10.02 real 13.91 user 10.12 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14488, splice 5631, unsplice 10572, max 0, idle 0, accept 6899, send 31985, recv 8092, close 21195, drop 0 10.10 real 16.50 user 14.72 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14448, splice 6646, unsplice 0, max 2351, idle 0, accept 7262, send 58582, recv 9410, close 20886, drop 0 10.02 real 16.57 user 15.36 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12115, splice 5762, unsplice 0, max 0, idle 2, accept 6505, send 56268, recv 11411, close 18653, drop 0 10.02 real 15.88 user 15.96 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2970, accept 2700, send 125955, recv 4364, close 0, drop 2690 10.04 real 18.29 user 15.25 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2618, splice 1196, unsplice 0, max 0, idle 0, accept 1715, send 170618, recv 62097, close 0, drop 3672 10.06 real 14.98 user 17.24 sys