==== 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 800, accept 71, send 399, recv 24, close 539, drop 0 10.02 real 15.18 user 8.74 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123741, accept 63790, send 174784, recv 63961, close 122986, drop 0 0m10.07s real 0m08.99s user 0m18.45s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 18027, splice 7492, unsplice 0, max 0, idle 0, accept 7581, send 47989, recv 9705, close 27644, drop 0 10.02 real 13.44 user 10.55 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 17909, splice 5099, unsplice 10728, max 0, idle 0, accept 6219, send 39797, recv 5508, close 24405, drop 0 10.02 real 16.41 user 15.18 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17130, splice 6814, unsplice 0, max 2335, idle 0, accept 7194, send 77441, recv 10052, close 21826, drop 0 10.02 real 14.62 user 14.22 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11796, splice 5529, unsplice 0, max 0, idle 0, accept 5276, send 68524, recv 9210, close 15899, drop 0 10.21 real 12.17 user 12.55 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5625, accept 5003, send 122915, recv 9936, close 0, drop 4981 10.03 real 13.63 user 12.24 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2243, splice 1027, unsplice 0, max 0, idle 0, accept 1310, send 205456, recv 78261, close 0, drop 2890 10.20 real 11.38 user 13.03 sys