==== 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 776, accept 51, send 335, recv 20, close 543, drop 0 10.02 real 14.73 user 10.18 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122936, accept 61912, send 153615, recv 60834, close 121805, drop 0 0m10.07s real 0m09.74s user 0m18.13s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 9153, splice 5066, unsplice 0, max 0, idle 0, accept 5091, send 29207, recv 8449, close 15592, drop 0 10.02 real 13.66 user 10.16 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14656, splice 4952, unsplice 10345, max 0, idle 0, accept 6527, send 32755, recv 6239, close 21518, drop 0 10.22 real 16.39 user 14.90 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16976, splice 7460, unsplice 0, max 2564, idle 0, accept 7552, send 77659, recv 9465, close 22594, drop 0 10.03 real 12.16 user 12.86 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8615, splice 4214, unsplice 0, max 0, idle 0, accept 3866, send 49935, recv 9758, close 11321, drop 0 10.02 real 13.29 user 12.07 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3307, accept 2739, send 127565, recv 5654, close 0, drop 2732 10.12 real 13.87 user 12.32 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2519, splice 1297, unsplice 0, max 0, idle 0, accept 1471, send 175940, recv 65222, close 0, drop 3370 10.04 real 11.87 user 13.27 sys