==== 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 761, accept 59, send 345, recv 39, close 530, drop 0 10.02 real 15.11 user 7.52 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 130780, accept 62649, send 151909, recv 64645, close 125711, drop 0 0m10.08s real 0m09.70s user 0m17.97s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12791, splice 5440, unsplice 0, max 0, idle 0, accept 5937, send 33005, recv 7022, close 21591, drop 0 10.04 real 13.79 user 8.15 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14711, splice 5490, unsplice 10210, max 0, idle 0, accept 6866, send 29350, recv 6170, close 22043, drop 0 10.03 real 16.15 user 14.27 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12216, splice 5727, unsplice 0, max 1979, idle 0, accept 6085, send 52052, recv 7870, close 17929, drop 0 10.12 real 15.90 user 14.63 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10007, splice 4780, unsplice 0, max 0, idle 0, accept 5335, send 40683, recv 7063, close 16130, drop 0 10.02 real 17.27 user 14.70 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2888, accept 2648, send 123241, recv 4428, close 0, drop 2629 10.02 real 18.14 user 15.29 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2303, splice 1004, unsplice 0, max 0, idle 0, accept 1408, send 201200, recv 83851, close 0, drop 3034 10.04 real 14.86 user 16.94 sys