==== 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 797, accept 78, send 388, recv 42, close 560, drop 0 10.01 real 16.11 user 5.70 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 119412, accept 62434, send 171127, recv 62644, close 119125, drop 0 0m10.08s real 0m08.82s user 0m18.65s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 16545, splice 7300, unsplice 0, max 0, idle 0, accept 7159, send 46969, recv 9574, close 25980, drop 0 10.02 real 13.62 user 8.48 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15889, splice 5800, unsplice 9610, max 0, idle 0, accept 6066, send 38414, recv 5803, close 21928, drop 0 10.10 real 17.24 user 13.26 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10812, splice 4964, unsplice 0, max 1857, idle 0, accept 4855, send 57640, recv 7658, close 13786, drop 0 10.13 real 13.16 user 11.37 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 7704, splice 4155, unsplice 0, max 0, idle 24, accept 4278, send 109574, recv 12353, close 11083, drop 0 10.12 real 9.04 user 9.02 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5013, accept 4481, send 96840, recv 10439, close 0, drop 4458 10.01 real 11.05 user 8.04 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 5281, splice 2247, unsplice 0, max 0, idle 0, accept 3033, send 77584, recv 9186, close 0, drop 6777 10.08 real 10.08 user 8.26 sys