==== 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 848, accept 55, send 355, recv 22, close 596, drop 0 10.04 real 14.39 user 10.31 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 129395, accept 61163, send 149336, recv 62158, close 124133, drop 0 0m10.10s real 0m09.32s user 0m18.63s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11423, splice 5627, unsplice 0, max 0, idle 0, accept 5601, send 34722, recv 6893, close 19636, drop 0 10.08 real 13.78 user 11.14 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15020, splice 4399, unsplice 10031, max 0, idle 0, accept 5749, send 31496, recv 5211, close 22305, drop 0 10.05 real 16.55 user 15.31 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14238, splice 6762, unsplice 0, max 2431, idle 0, accept 7307, send 59314, recv 9688, close 20495, drop 0 10.23 real 15.79 user 15.42 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8932, splice 4654, unsplice 0, max 0, idle 0, accept 5030, send 43941, recv 10373, close 13772, drop 0 10.01 real 16.65 user 16.35 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2881, accept 2643, send 122980, recv 4135, close 0, drop 2625 10.02 real 17.19 user 17.00 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2790, splice 1286, unsplice 0, max 0, idle 0, accept 1765, send 155001, recv 40547, close 0, drop 3899 10.12 real 16.31 user 16.79 sys