==== 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 827, accept 42, send 338, recv 25, close 570, drop 0 10.01 real 16.01 user 5.93 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124224, accept 61647, send 150795, recv 61122, close 121152, drop 0 0m10.07s real 0m09.78s user 0m18.79s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13866, splice 6592, unsplice 0, max 0, idle 0, accept 6600, send 40661, recv 9732, close 22425, drop 0 10.02 real 13.95 user 8.03 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12530, splice 4977, unsplice 9113, max 0, idle 0, accept 5881, send 29839, recv 6064, close 18325, drop 0 10.06 real 16.90 user 14.68 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 18079, splice 7914, unsplice 0, max 2805, idle 0, accept 8598, send 72414, recv 11759, close 24697, drop 0 10.21 real 15.46 user 14.73 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 16758, splice 6950, unsplice 0, max 0, idle 0, accept 7305, send 71436, recv 11074, close 23052, drop 0 10.02 real 15.70 user 14.37 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2931, accept 2629, send 123870, recv 4299, close 0, drop 2623 10.02 real 18.13 user 15.25 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2652, splice 1189, unsplice 0, max 0, idle 0, accept 1732, send 169469, recv 57020, close 0, drop 3671 10.11 real 15.42 user 17.04 sys