==== 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 809, accept 74, send 386, recv 43, close 554, drop 0 10.01 real 15.21 user 9.14 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 120931, accept 62247, send 164258, recv 63061, close 119590, drop 0 0m10.08s real 0m08.92s user 0m18.21s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12070, splice 6085, unsplice 0, max 0, idle 0, accept 6133, send 35551, recv 8746, close 20492, drop 0 10.04 real 13.67 user 9.83 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 21897, splice 6792, unsplice 13276, max 0, idle 0, accept 7904, send 44852, recv 6804, close 30928, drop 0 10.09 real 15.43 user 15.44 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16474, splice 6577, unsplice 0, max 2202, idle 0, accept 7089, send 65376, recv 8231, close 21934, drop 0 10.05 real 15.69 user 16.31 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13313, splice 5619, unsplice 0, max 0, idle 0, accept 6341, send 62139, recv 10019, close 19389, drop 0 10.03 real 16.10 user 15.61 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2865, accept 2631, send 122536, recv 4338, close 0, drop 2626 10.02 real 17.95 user 16.17 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2543, splice 1021, unsplice 0, max 0, idle 0, accept 1581, send 178173, recv 68868, close 0, drop 3522 10.10 real 15.15 user 17.14 sys