==== 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 797, accept 62, send 379, recv 33, close 554, drop 0 10.03 real 15.33 user 8.66 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123614, accept 63144, send 156371, recv 62405, close 122866, drop 0 0m10.09s real 0m09.32s user 0m17.58s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10477, splice 5273, unsplice 0, max 0, idle 0, accept 5394, send 30634, recv 8592, close 17539, drop 0 10.04 real 13.89 user 10.07 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13765, splice 5212, unsplice 10019, max 0, idle 0, accept 6342, send 30459, recv 7107, close 19740, drop 0 10.03 real 16.20 user 15.06 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 8429, splice 4333, unsplice 0, max 1620, idle 0, accept 4350, send 43376, recv 6190, close 12303, drop 0 10.12 real 13.15 user 12.70 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9549, splice 4197, unsplice 0, max 0, idle 2, accept 3872, send 49997, recv 6097, close 12681, drop 0 10.09 real 12.84 user 12.80 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2929, accept 2671, send 124260, recv 4935, close 0, drop 2659 10.02 real 13.77 user 12.45 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2202, splice 969, unsplice 0, max 0, idle 0, accept 1128, send 208848, recv 85880, close 0, drop 2669 10.04 real 10.92 user 13.52 sys