==== 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 777, accept 62, send 322, recv 35, close 563, drop 0 10.03 real 15.65 user 6.18 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 127402, accept 63283, send 153141, recv 62572, close 125466, drop 0 0m10.07s real 0m09.79s user 0m18.29s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 9366, splice 5334, unsplice 0, max 0, idle 0, accept 5262, send 28969, recv 8487, close 16374, drop 0 10.02 real 14.61 user 7.26 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 11615, splice 5310, unsplice 9504, max 0, idle 0, accept 6154, send 24981, recv 7505, close 17243, drop 0 10.01 real 16.79 user 14.11 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13930, splice 6160, unsplice 0, max 2108, idle 0, accept 6934, send 55679, recv 8523, close 20241, drop 0 10.14 real 16.59 user 14.81 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 16398, splice 7560, unsplice 0, max 0, idle 0, accept 7856, send 72239, recv 10377, close 23604, drop 0 10.04 real 15.73 user 14.36 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2878, accept 2650, send 124359, recv 4630, close 0, drop 2641 10.14 real 18.68 user 14.28 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3121, splice 1155, unsplice 0, max 0, idle 0, accept 1953, send 211320, recv 90037, close 0, drop 4269 10.14 real 13.95 user 17.39 sys