==== 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 345, recv 32, close 542, drop 0 10.02 real 15.42 user 6.21 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124877, accept 61688, send 164354, recv 62497, close 121235, drop 0 0m10.07s real 0m08.78s user 0m18.33s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 17954, splice 7357, unsplice 0, max 0, idle 0, accept 7157, send 48611, recv 8488, close 28327, drop 0 10.03 real 12.67 user 10.38 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 11228, splice 4521, unsplice 8174, max 0, idle 0, accept 4793, send 25438, recv 6385, close 15296, drop 0 10.02 real 17.20 user 13.90 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14170, splice 6433, unsplice 0, max 2201, idle 0, accept 6696, send 78651, recv 9219, close 19469, drop 0 10.04 real 11.35 user 10.37 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9903, splice 3607, unsplice 0, max 0, idle 4, accept 3211, send 81998, recv 5007, close 10669, drop 0 10.13 real 10.29 user 7.82 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3920, accept 2807, send 106340, recv 7248, close 0, drop 2796 10.15 real 10.93 user 8.25 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2873, splice 1266, unsplice 0, max 0, idle 0, accept 1428, send 226353, recv 55828, close 0, drop 3154 10.13 real 8.16 user 9.60 sys