==== 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 820, accept 57, send 370, recv 21, close 567, drop 0 10.02 real 15.13 user 9.70 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125207, accept 62925, send 161109, recv 62742, close 122716, drop 0 0m10.07s real 0m09.14s user 0m18.26s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12254, splice 6009, unsplice 0, max 0, idle 0, accept 6005, send 33328, recv 9073, close 20021, drop 0 10.02 real 13.14 user 10.88 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12681, splice 4670, unsplice 9124, max 0, idle 0, accept 5739, send 27586, recv 6280, close 18463, drop 0 10.02 real 16.07 user 15.62 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 9076, splice 4707, unsplice 0, max 1928, idle 0, accept 5014, send 39190, recv 9267, close 13117, drop 0 10.02 real 16.58 user 16.03 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14583, splice 6900, unsplice 0, max 0, idle 0, accept 7095, send 62525, recv 11714, close 21074, drop 0 10.21 real 15.48 user 15.60 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2970, accept 2679, send 124570, recv 4509, close 0, drop 2671 10.14 real 17.86 user 15.98 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2751, splice 1122, unsplice 0, max 0, idle 0, accept 1749, send 223585, recv 104955, close 0, drop 3764 10.05 real 14.11 user 16.86 sys