==== 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 774, accept 63, send 347, recv 28, close 537, drop 0 10.01 real 14.72 user 9.29 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124327, accept 62371, send 160992, recv 64250, close 121142, drop 0 0m10.07s real 0m09.32s user 0m17.74s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 16812, splice 7311, unsplice 0, max 0, idle 0, accept 7592, send 43752, recv 9222, close 27260, drop 0 10.03 real 13.63 user 10.88 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 9648, splice 4783, unsplice 8064, max 0, idle 0, accept 5248, send 24702, recv 7348, close 13849, drop 0 10.04 real 16.82 user 15.09 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13159, splice 6304, unsplice 0, max 2249, idle 0, accept 6689, send 52617, recv 8731, close 19380, drop 0 10.08 real 15.91 user 15.80 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14068, splice 6041, unsplice 0, max 0, idle 0, accept 6912, send 61510, recv 10064, close 21007, drop 0 10.04 real 16.02 user 15.94 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2892, accept 2670, send 123685, recv 4229, close 0, drop 2665 10.06 real 18.07 user 15.82 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1982, splice 932, unsplice 0, max 0, idle 0, accept 1258, send 207731, recv 106246, close 0, drop 2750 10.07 real 14.61 user 17.23 sys