==== 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 805, accept 85, send 371, recv 40, close 574, drop 0 10.02 real 15.91 user 5.87 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 128876, accept 63127, send 157846, recv 63267, close 124511, drop 0 0m10.07s real 0m08.98s user 0m18.48s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 9891, splice 4921, unsplice 0, max 0, idle 0, accept 4932, send 22625, recv 6628, close 17678, drop 0 10.08 real 14.14 user 7.11 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 20137, splice 5841, unsplice 13449, max 0, idle 0, accept 7884, send 39381, recv 6439, close 29500, drop 0 10.03 real 15.82 user 14.58 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16080, splice 6913, unsplice 0, max 2369, idle 0, accept 7919, send 61909, recv 9862, close 22923, drop 0 10.04 real 16.04 user 14.70 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 96411, splice 8840, unsplice 0, max 0, idle 0, accept 6391, send 120849, recv 10342, close 52004, drop 0 10.04 real 12.92 user 18.34 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2919, accept 2660, send 125118, recv 4425, close 0, drop 2645 10.02 real 18.01 user 15.52 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2709, splice 1043, unsplice 0, max 0, idle 0, accept 1601, send 162455, recv 45900, close 0, drop 3594 10.04 real 16.15 user 15.94 sys