==== 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 816, accept 46, send 354, recv 17, close 549, drop 0 10.03 real 15.46 user 8.47 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 128438, accept 61227, send 148326, recv 59823, close 123803, drop 0 0m10.09s real 0m09.26s user 0m18.27s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12470, splice 5912, unsplice 0, max 0, idle 0, accept 6058, send 33820, recv 7906, close 21016, drop 0 10.02 real 13.81 user 10.40 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16180, splice 5989, unsplice 10471, max 0, idle 0, accept 6823, send 32637, recv 6365, close 23578, drop 0 10.20 real 16.31 user 15.30 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12768, splice 5756, unsplice 0, max 2207, idle 0, accept 6537, send 53030, recv 8727, close 18789, drop 0 10.16 real 16.23 user 15.48 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12798, splice 5869, unsplice 0, max 0, idle 0, accept 6483, send 57140, recv 9342, close 19619, drop 0 10.02 real 16.38 user 15.67 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2880, accept 2637, send 122751, recv 4400, close 0, drop 2618 10.02 real 18.03 user 15.69 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2724, splice 1317, unsplice 0, max 0, idle 0, accept 1788, send 166201, recv 59366, close 0, drop 3839 10.04 real 16.25 user 16.42 sys