==== 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 803, accept 66, send 354, recv 28, close 560, drop 0 10.03 real 14.73 user 9.40 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 129872, accept 62014, send 144153, recv 58127, close 126222, drop 0 0m10.08s real 0m09.57s user 0m18.21s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14825, splice 6215, unsplice 0, max 0, idle 0, accept 6405, send 36505, recv 6692, close 25042, drop 0 10.16 real 13.65 user 10.73 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 19741, splice 4584, unsplice 8470, max 0, idle 0, accept 5544, send 24256, recv 6302, close 20153, drop 0 10.01 real 16.89 user 15.47 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11700, splice 5585, unsplice 0, max 2003, idle 0, accept 5978, send 46297, recv 9466, close 17278, drop 0 10.02 real 16.19 user 15.38 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14782, splice 6426, unsplice 0, max 0, idle 0, accept 7590, send 60085, recv 10515, close 22504, drop 0 10.03 real 15.83 user 16.05 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2960, accept 2689, send 124655, recv 4460, close 0, drop 2678 10.02 real 18.36 user 15.41 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3652, splice 1604, unsplice 0, max 0, idle 0, accept 2349, send 201806, recv 69966, close 0, drop 4891 10.05 real 14.94 user 16.63 sys