==== 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 788, accept 42, send 311, recv 18, close 552, drop 0 10.03 real 15.25 user 7.88 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 128496, accept 62933, send 157235, recv 64969, close 124747, drop 0 0m10.08s real 0m09.32s user 0m18.22s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 17367, splice 6640, unsplice 0, max 0, idle 0, accept 7162, send 40467, recv 7420, close 29094, drop 0 10.12 real 13.81 user 10.18 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14734, splice 5293, unsplice 10859, max 0, idle 0, accept 7180, send 27657, recv 6627, close 22396, drop 0 10.10 real 16.71 user 15.32 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15905, splice 6966, unsplice 0, max 2268, idle 0, accept 8155, send 62067, recv 10078, close 24169, drop 0 10.19 real 15.99 user 15.50 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9662, splice 4877, unsplice 0, max 0, idle 0, accept 5357, send 40088, recv 9646, close 15279, drop 0 10.06 real 17.72 user 15.09 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2963, accept 2688, send 124546, recv 4512, close 0, drop 2671 10.02 real 17.96 user 15.65 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3827, splice 1590, unsplice 0, max 0, idle 0, accept 2377, send 196889, recv 62876, close 0, drop 5172 10.06 real 14.65 user 17.26 sys