==== 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 791, accept 65, send 325, recv 28, close 580, drop 0 10.01 real 14.78 user 9.87 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123222, accept 63061, send 156706, recv 63293, close 122012, drop 0 0m10.08s real 0m09.23s user 0m18.07s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14559, splice 6844, unsplice 0, max 0, idle 0, accept 6793, send 42210, recv 9489, close 23513, drop 0 10.07 real 13.63 user 10.13 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15936, splice 5366, unsplice 11248, max 0, idle 0, accept 6803, send 37147, recv 7307, close 22431, drop 0 10.05 real 16.22 user 14.74 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 24110, splice 10129, unsplice 0, max 3362, idle 0, accept 10609, send 101476, recv 13139, close 32594, drop 0 10.03 real 13.54 user 15.24 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 26453, splice 8355, unsplice 0, max 0, idle 1, accept 8135, send 99539, recv 11166, close 29121, drop 0 10.03 real 13.74 user 15.64 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3128, accept 2661, send 125892, recv 4516, close 0, drop 2653 10.14 real 18.44 user 15.49 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2642, splice 1246, unsplice 0, max 0, idle 0, accept 1725, send 174248, recv 62712, close 0, drop 3713 10.11 real 15.08 user 17.40 sys