==== 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 813, accept 96, send 385, recv 32, close 598, drop 0 10.01 real 14.58 user 10.19 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123044, accept 62989, send 168508, recv 63615, close 120872, drop 0 0m10.07s real 0m09.34s user 0m18.21s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 16131, splice 6869, unsplice 0, max 0, idle 0, accept 7012, send 45809, recv 7805, close 26021, drop 0 10.03 real 13.43 user 11.11 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 8812, splice 4606, unsplice 7118, max 0, idle 0, accept 4692, send 21940, recv 6939, close 12330, drop 0 10.02 real 17.79 user 15.43 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 18710, splice 8242, unsplice 0, max 2889, idle 0, accept 9295, send 83875, recv 12169, close 26751, drop 0 10.11 real 13.99 user 14.80 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12717, splice 6034, unsplice 0, max 0, idle 0, accept 6206, send 78560, recv 9176, close 18068, drop 0 10.02 real 12.09 user 12.21 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3026, accept 2684, send 125145, recv 5279, close 0, drop 2678 10.02 real 13.41 user 12.94 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2276, splice 1042, unsplice 0, max 0, idle 0, accept 1379, send 189457, recv 76223, close 0, drop 3069 10.06 real 10.90 user 13.25 sys