==== 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 822, accept 84, send 382, recv 37, close 599, drop 0 10.01 real 14.90 user 9.62 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124970, accept 63174, send 159846, recv 62785, close 122888, drop 0 0m10.08s real 0m09.73s user 0m18.09s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15620, splice 6851, unsplice 0, max 0, idle 0, accept 6824, send 47234, recv 9451, close 25439, drop 0 10.17 real 13.32 user 10.84 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 9647, splice 4475, unsplice 7711, max 0, idle 0, accept 4892, send 22061, recv 7029, close 13654, drop 0 10.02 real 17.37 user 14.68 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11038, splice 4984, unsplice 0, max 1755, idle 0, accept 5394, send 44860, recv 6829, close 15831, drop 0 10.12 real 16.40 user 15.56 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12628, splice 5840, unsplice 0, max 0, idle 0, accept 6323, send 54550, recv 9204, close 19316, drop 0 10.07 real 16.22 user 15.10 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2894, accept 2674, send 123189, recv 4372, close 0, drop 2658 10.02 real 18.88 user 15.18 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2831, splice 1187, unsplice 0, max 0, idle 0, accept 1817, send 157492, recv 44110, close 0, drop 3939 10.15 real 15.91 user 16.49 sys