==== 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 881, accept 371, send 566, recv 133, close 893, drop 0 10.02 real 18.54 user 11.61 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 45196, accept 35179, send 78646, recv 36831, close 52984, drop 0 0m10.04s real 0m10.49s user 0m20.05s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 21724, splice 7676, unsplice 0, max 0, idle 0, accept 10545, send 50945, recv 11805, close 36491, drop 0 10.03 real 13.99 user 13.67 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 37226, splice 5451, unsplice 20162, max 0, idle 0, accept 7307, send 52731, recv 6648, close 43717, drop 0 10.04 real 15.06 user 17.63 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 23754, splice 8193, unsplice 0, max 2215, idle 0, accept 10196, send 91020, recv 12570, close 33307, drop 0 10.03 real 14.61 user 18.77 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 22449, splice 7804, unsplice 0, max 0, idle 0, accept 10136, send 90497, recv 13323, close 31971, drop 0 10.02 real 15.47 user 17.56 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2972, accept 2808, send 127059, recv 4643, close 0, drop 2788 10.02 real 19.40 user 19.23 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2971, splice 504, unsplice 0, max 0, idle 0, accept 2140, send 150911, recv 31217, close 0, drop 4521 10.07 real 17.86 user 19.00 sys