==== 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 792, accept 41, send 323, recv 17, close 544, drop 0 10.02 real 14.99 user 9.73 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125296, accept 62793, send 155603, recv 64461, close 122999, drop 0 0m10.08s real 0m09.67s user 0m18.23s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14723, splice 6427, unsplice 0, max 0, idle 0, accept 6532, send 39134, recv 7395, close 24756, drop 0 10.09 real 13.47 user 11.61 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14744, splice 6163, unsplice 10496, max 0, idle 0, accept 6590, send 33435, recv 6745, close 21728, drop 0 10.23 real 16.01 user 15.99 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15511, splice 6809, unsplice 0, max 2118, idle 0, accept 7553, send 65143, recv 9343, close 22962, drop 0 10.05 real 16.12 user 16.09 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14288, splice 6488, unsplice 0, max 0, idle 0, accept 7073, send 63879, recv 10552, close 20538, drop 0 10.02 real 16.66 user 15.53 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2957, accept 2689, send 124662, recv 4500, close 0, drop 2671 10.02 real 18.11 user 16.68 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3074, splice 1228, unsplice 0, max 0, idle 0, accept 1927, send 208244, recv 89314, close 0, drop 4196 10.12 real 14.23 user 17.69 sys