==== 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 782, accept 52, send 337, recv 30, close 523, drop 0 10.02 real 15.64 user 6.41 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122543, accept 62130, send 156188, recv 61462, close 120804, drop 0 0m10.07s real 0m08.44s user 0m18.78s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10541, splice 5358, unsplice 0, max 0, idle 0, accept 5396, send 35470, recv 9530, close 17464, drop 0 10.02 real 13.97 user 8.07 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12727, splice 4936, unsplice 8982, max 0, idle 0, accept 5925, send 26896, recv 5658, close 19121, drop 0 10.07 real 17.12 user 13.97 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 9500, splice 4634, unsplice 0, max 1625, idle 0, accept 4728, send 41178, recv 7428, close 13464, drop 0 10.18 real 13.77 user 13.15 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 6903, splice 3914, unsplice 0, max 0, idle 0, accept 3344, send 40403, recv 7836, close 9549, drop 0 10.16 real 13.10 user 12.60 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2826, accept 2635, send 123336, recv 4718, close 0, drop 2626 10.10 real 13.98 user 12.54 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1512, splice 796, unsplice 0, max 0, idle 0, accept 892, send 217675, recv 110028, close 0, drop 2018 10.20 real 10.27 user 14.15 sys