==== 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 751, accept 75, send 326, recv 35, close 548, drop 0 10.02 real 16.14 user 5.78 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 129358, accept 62642, send 151086, recv 61791, close 125282, drop 0 0m10.07s real 0m09.50s user 0m18.10s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 17787, splice 6697, unsplice 0, max 0, idle 0, accept 7096, send 40697, recv 8044, close 29205, drop 0 10.02 real 13.58 user 8.12 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14210, splice 4135, unsplice 10135, max 0, idle 0, accept 5774, send 28197, recv 5339, close 21235, drop 0 10.16 real 17.25 user 13.83 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13066, splice 6034, unsplice 0, max 2282, idle 0, accept 7123, send 50373, recv 10224, close 19175, drop 0 10.12 real 16.84 user 14.87 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 16686, splice 7415, unsplice 0, max 0, idle 0, accept 8515, send 65628, recv 11381, close 26014, drop 0 10.03 real 15.46 user 15.10 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2848, accept 2625, send 123242, recv 4367, close 0, drop 2614 10.02 real 17.57 user 15.26 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2773, splice 1132, unsplice 0, max 0, idle 0, accept 1742, send 162251, recv 46565, close 0, drop 3779 10.15 real 15.61 user 16.55 sys