==== 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 794, accept 61, send 348, recv 33, close 553, drop 0 10.01 real 15.62 user 6.35 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125441, accept 62273, send 164321, recv 62266, close 122351, drop 0 0m10.08s real 0m09.34s user 0m18.73s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14478, splice 6751, unsplice 0, max 0, idle 0, accept 6810, send 41751, recv 8040, close 23997, drop 0 10.02 real 14.39 user 7.48 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16022, splice 5536, unsplice 10166, max 0, idle 0, accept 6197, send 37264, recv 6680, close 21431, drop 0 10.05 real 16.70 user 13.52 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17975, splice 7458, unsplice 0, max 2599, idle 0, accept 7770, send 70550, recv 10777, close 23185, drop 0 10.04 real 14.98 user 14.75 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10726, splice 5123, unsplice 0, max 0, idle 0, accept 4984, send 50422, recv 10260, close 14437, drop 0 10.04 real 16.15 user 14.93 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2983, accept 2669, send 124562, recv 4281, close 0, drop 2647 10.02 real 18.97 user 14.54 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2316, splice 1100, unsplice 0, max 0, idle 0, accept 1491, send 180078, recv 71434, close 0, drop 3262 10.04 real 15.26 user 16.60 sys