==== 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 847, accept 54, send 346, recv 28, close 602, drop 0 10.03 real 15.12 user 8.73 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 120376, accept 62596, send 160623, recv 65480, close 119322, drop 0 0m10.07s real 0m09.45s user 0m18.00s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14340, splice 6839, unsplice 0, max 0, idle 0, accept 6907, send 41429, recv 8231, close 23936, drop 0 10.10 real 13.77 user 10.49 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14047, splice 3858, unsplice 9262, max 0, idle 0, accept 4905, send 29684, recv 4521, close 20167, drop 0 10.05 real 16.30 user 15.23 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 21006, splice 9295, unsplice 0, max 3094, idle 0, accept 9851, send 87080, recv 12755, close 29318, drop 0 10.22 real 14.38 user 15.96 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14156, splice 5984, unsplice 0, max 0, idle 0, accept 6082, send 58251, recv 9916, close 19040, drop 0 10.04 real 16.39 user 15.15 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2840, accept 2632, send 123536, recv 4478, close 0, drop 2619 10.02 real 18.16 user 15.81 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1915, splice 827, unsplice 0, max 0, idle 0, accept 1229, send 205948, recv 108416, close 0, drop 2694 10.04 real 14.11 user 17.83 sys