==== 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 758, accept 43, send 332, recv 21, close 527, drop 0 10.01 real 15.72 user 6.07 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126493, accept 62321, send 155788, recv 61634, close 123730, drop 0 0m10.08s real 0m09.63s user 0m17.77s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 9104, splice 5015, unsplice 0, max 0, idle 0, accept 4980, send 29294, recv 8937, close 15711, drop 0 10.02 real 14.44 user 7.48 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13501, splice 5216, unsplice 8866, max 0, idle 0, accept 6018, send 27564, recv 5234, close 20223, drop 0 10.02 real 16.92 user 14.17 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13094, splice 5324, unsplice 0, max 1612, idle 0, accept 5282, send 58481, recv 6111, close 17383, drop 0 10.23 real 12.89 user 12.66 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8526, splice 4422, unsplice 0, max 0, idle 0, accept 4114, send 54920, recv 9946, close 11450, drop 0 10.05 real 12.66 user 12.41 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3078, accept 2744, send 123808, recv 5158, close 0, drop 2729 10.02 real 14.00 user 12.11 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2818, splice 1379, unsplice 0, max 0, idle 0, accept 1645, send 162560, recv 53139, close 0, drop 3707 10.12 real 12.61 user 12.69 sys