==== 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 815, accept 62, send 369, recv 33, close 571, drop 0 10.04 real 15.23 user 8.11 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121514, accept 62000, send 169427, recv 63847, close 118990, drop 0 0m10.08s real 0m09.21s user 0m17.71s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13870, splice 6319, unsplice 0, max 0, idle 0, accept 6434, send 38366, recv 8761, close 22745, drop 0 10.04 real 13.72 user 10.11 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14560, splice 5416, unsplice 10176, max 0, idle 0, accept 6064, send 30403, recv 6813, close 20554, drop 0 10.04 real 16.07 user 14.90 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14577, splice 7027, unsplice 0, max 2592, idle 0, accept 7453, send 61163, recv 10777, close 20153, drop 0 10.11 real 15.89 user 15.70 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11429, splice 5486, unsplice 0, max 0, idle 0, accept 5725, send 50294, recv 8796, close 17368, drop 0 10.03 real 16.67 user 15.26 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2916, accept 2639, send 122887, recv 4402, close 0, drop 2626 10.02 real 18.51 user 15.49 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2485, splice 1245, unsplice 0, max 0, idle 0, accept 1677, send 179220, recv 73394, close 0, drop 3538 10.08 real 15.70 user 16.86 sys