==== 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 742, accept 45, send 303, recv 15, close 503, drop 0 10.02 real 15.99 user 6.46 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 127783, accept 62299, send 158420, recv 63746, close 123915, drop 0 0m10.08s real 0m09.38s user 0m18.47s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13430, splice 5956, unsplice 0, max 0, idle 0, accept 6114, send 32331, recv 6623, close 23158, drop 0 10.22 real 14.30 user 8.91 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 20813, splice 5116, unsplice 13530, max 0, idle 0, accept 6942, send 38928, recv 5647, close 29160, drop 0 10.15 real 15.08 user 15.20 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10299, splice 5059, unsplice 0, max 1748, idle 0, accept 5442, send 38383, recv 8341, close 15250, drop 0 10.01 real 16.70 user 15.01 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8905, splice 4836, unsplice 0, max 0, idle 2, accept 4834, send 36283, recv 9369, close 13605, drop 0 10.07 real 16.75 user 15.00 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2965, accept 2691, send 123685, recv 4535, close 0, drop 2678 10.02 real 17.23 user 15.23 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2212, splice 935, unsplice 0, max 0, idle 0, accept 1425, send 197349, recv 93037, close 0, drop 3087 10.12 real 15.09 user 16.25 sys