==== 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 787, accept 34, send 341, recv 20, close 520, drop 0 10.03 real 15.15 user 8.96 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124072, accept 63090, send 154889, recv 63667, close 122315, drop 0 0m10.08s real 0m09.13s user 0m18.15s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15773, splice 7399, unsplice 0, max 0, idle 0, accept 7494, send 47674, recv 10411, close 26225, drop 0 10.06 real 13.70 user 10.51 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13600, splice 4849, unsplice 9203, max 0, idle 0, accept 5631, send 30025, recv 5539, close 19987, drop 0 10.05 real 15.44 user 15.67 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 8914, splice 4514, unsplice 0, max 1671, idle 0, accept 4527, send 37641, recv 7521, close 12599, drop 0 10.16 real 14.99 user 14.08 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9190, splice 4495, unsplice 0, max 0, idle 0, accept 4266, send 51020, recv 8020, close 12778, drop 0 10.02 real 12.96 user 12.67 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5518, accept 5016, send 120722, recv 9176, close 0, drop 4991 10.02 real 13.63 user 12.02 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2184, splice 963, unsplice 0, max 0, idle 0, accept 1181, send 198319, recv 80725, close 0, drop 2700 10.14 real 11.03 user 12.63 sys