==== 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 784, accept 85, send 385, recv 37, close 565, drop 0 10.02 real 15.15 user 9.10 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124575, accept 62716, send 170999, recv 63722, close 122035, drop 0 0m10.07s real 0m09.32s user 0m18.11s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14636, splice 6311, unsplice 0, max 0, idle 0, accept 6288, send 43000, recv 8707, close 22538, drop 0 10.03 real 13.53 user 10.52 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16911, splice 4134, unsplice 9852, max 0, idle 0, accept 5271, send 39993, recv 4888, close 22415, drop 0 10.03 real 17.24 user 13.87 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15761, splice 6664, unsplice 0, max 2363, idle 0, accept 7165, send 65049, recv 10130, close 21155, drop 0 10.03 real 15.69 user 15.23 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12762, splice 5516, unsplice 0, max 0, idle 0, accept 5535, send 71606, recv 7605, close 17386, drop 0 10.04 real 12.38 user 12.64 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3378, accept 2708, send 126814, recv 4799, close 0, drop 2695 10.02 real 13.61 user 12.98 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2200, splice 780, unsplice 0, max 0, idle 0, accept 1203, send 226898, recv 101419, close 0, drop 2785 10.08 real 10.19 user 12.87 sys