==== 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 796, accept 87, send 403, recv 45, close 567, drop 0 10.04 real 15.05 user 8.99 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124439, accept 62939, send 159427, recv 63315, close 122591, drop 0 0m10.08s real 0m09.15s user 0m18.35s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13006, splice 6272, unsplice 0, max 0, idle 0, accept 6343, send 38037, recv 8324, close 21737, drop 0 10.02 real 13.11 user 10.54 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14918, splice 3822, unsplice 9479, max 0, idle 0, accept 4873, send 31653, recv 4688, close 20489, drop 0 10.03 real 16.94 user 14.89 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15023, splice 6420, unsplice 0, max 2270, idle 0, accept 7080, send 61285, recv 8576, close 20538, drop 0 10.02 real 16.34 user 15.37 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10877, splice 4823, unsplice 0, max 0, idle 0, accept 5118, send 50461, recv 8421, close 15521, drop 0 10.03 real 17.12 user 15.63 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2931, accept 2676, send 124375, recv 4354, close 0, drop 2669 10.10 real 18.22 user 15.96 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2226, splice 997, unsplice 0, max 0, idle 0, accept 1477, send 196338, recv 87542, close 0, drop 3160 10.06 real 14.64 user 17.31 sys