==== 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 798, accept 51, send 376, recv 20, close 519, drop 0 10.01 real 15.04 user 9.82 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 118894, accept 63036, send 164110, recv 65096, close 119709, drop 0 0m10.08s real 0m08.90s user 0m18.73s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 16382, splice 6853, unsplice 0, max 0, idle 0, accept 7009, send 43399, recv 8272, close 26009, drop 0 10.15 real 13.32 user 10.54 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13643, splice 4949, unsplice 8779, max 0, idle 0, accept 5707, send 26839, recv 5239, close 20080, drop 0 10.10 real 16.71 user 14.91 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 8093, splice 4336, unsplice 0, max 1785, idle 0, accept 4566, send 34475, recv 8066, close 11740, drop 0 10.02 real 17.41 user 15.25 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10380, splice 5098, unsplice 0, max 0, idle 0, accept 5737, send 47696, recv 8389, close 16361, drop 0 10.01 real 16.53 user 15.12 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2902, accept 2615, send 123393, recv 4353, close 0, drop 2595 10.02 real 18.12 user 15.35 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2184, splice 1112, unsplice 0, max 0, idle 0, accept 1515, send 194570, recv 88290, close 0, drop 3159 10.12 real 14.63 user 17.51 sys