==== 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 788, accept 364, send 592, recv 130, close 787, drop 0 10.01 real 18.13 user 11.90 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 42847, accept 34122, send 77370, recv 35899, close 50698, drop 0 0m10.04s real 0m10.02s user 0m20.51s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 23122, splice 8458, unsplice 0, max 0, idle 0, accept 10964, send 54670, recv 12728, close 38475, drop 0 10.03 real 14.55 user 13.02 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 62806, splice 4573, unsplice 21431, max 0, idle 0, accept 7406, send 67986, recv 6371, close 55465, drop 0 10.04 real 13.87 user 18.61 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 24705, splice 8894, unsplice 0, max 2248, idle 0, accept 10236, send 92842, recv 12957, close 34154, drop 0 10.03 real 14.19 user 19.11 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 21369, splice 7558, unsplice 0, max 0, idle 0, accept 9490, send 89779, recv 12884, close 29935, drop 0 10.02 real 14.51 user 17.82 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5510, accept 5203, send 161394, recv 8482, close 0, drop 5153 10.02 real 17.80 user 19.22 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2766, splice 480, unsplice 0, max 0, idle 0, accept 1994, send 176036, recv 63021, close 0, drop 4208 10.10 real 17.25 user 19.16 sys