==== 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 840, accept 97, send 393, recv 48, close 626, drop 0 10.02 real 14.99 user 8.90 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124848, accept 61882, send 165911, recv 60992, close 122259, drop 0 0m10.07s real 0m09.33s user 0m18.41s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 20604, splice 8092, unsplice 0, max 0, idle 0, accept 8438, send 56796, recv 9509, close 32985, drop 0 10.08 real 13.96 user 9.02 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 17561, splice 5307, unsplice 10392, max 0, idle 0, accept 6037, send 37852, recv 5654, close 23614, drop 0 10.21 real 16.33 user 14.26 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13721, splice 5818, unsplice 0, max 2021, idle 0, accept 6162, send 53601, recv 8136, close 18319, drop 0 10.02 real 16.85 user 14.48 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13532, splice 5773, unsplice 0, max 0, idle 0, accept 6048, send 59045, recv 10377, close 17813, drop 0 10.02 real 16.46 user 14.28 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2895, accept 2631, send 122290, recv 4227, close 0, drop 2622 10.14 real 17.74 user 15.33 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2420, splice 1051, unsplice 0, max 0, idle 0, accept 1584, send 177959, recv 71504, close 0, drop 3468 10.10 real 15.47 user 16.87 sys