==== 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 824, accept 344, send 575, recv 107, close 814, drop 0 10.02 real 17.94 user 12.07 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 43656, accept 34735, send 78256, recv 36477, close 51647, drop 0 0m10.03s real 0m10.23s user 0m20.07s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 25836, splice 8205, unsplice 0, max 0, idle 0, accept 11820, send 59916, recv 12968, close 42115, drop 0 10.19 real 13.48 user 14.16 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 69925, splice 4215, unsplice 20411, max 0, idle 0, accept 8233, send 68718, recv 6607, close 60164, drop 0 10.04 real 13.45 user 18.53 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 24732, splice 8704, unsplice 0, max 2262, idle 0, accept 11058, send 89814, recv 12879, close 34573, drop 0 10.22 real 14.19 user 18.68 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 22750, splice 7737, unsplice 0, max 0, idle 0, accept 10147, send 86542, recv 12945, close 32316, drop 0 10.03 real 14.39 user 18.89 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2928, accept 2786, send 127314, recv 4835, close 0, drop 2771 10.02 real 19.42 user 18.76 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2399, splice 529, unsplice 0, max 0, idle 0, accept 1762, send 218840, recv 100990, close 0, drop 3658 10.11 real 16.24 user 19.40 sys