==== 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 864, accept 40, send 419, recv 18, close 529, drop 0 10.04 real 15.86 user 5.85 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121622, accept 63026, send 159053, recv 63768, close 121028, drop 0 0m10.08s real 0m08.96s user 0m17.86s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 9326, splice 5052, unsplice 0, max 0, idle 0, accept 4938, send 32636, recv 9033, close 15745, drop 0 10.04 real 14.45 user 7.27 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13283, splice 4574, unsplice 8312, max 0, idle 0, accept 5411, send 27475, recv 4884, close 19169, drop 0 10.11 real 16.75 user 14.03 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12894, splice 5886, unsplice 0, max 2074, idle 0, accept 6647, send 56664, recv 8630, close 18822, drop 0 10.18 real 16.80 user 13.93 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 7159, splice 4189, unsplice 0, max 0, idle 0, accept 4180, send 34012, recv 9601, close 10870, drop 0 10.04 real 17.38 user 14.15 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2870, accept 2627, send 123655, recv 4673, close 0, drop 2611 10.02 real 18.02 user 14.07 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2012, splice 987, unsplice 0, max 0, idle 0, accept 1298, send 197854, recv 94265, close 0, drop 2825 10.04 real 14.50 user 17.02 sys