==== 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 826, accept 81, send 378, recv 31, close 583, drop 0 10.02 real 15.79 user 5.86 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 128412, accept 63432, send 166871, recv 61346, close 124908, drop 0 0m10.08s real 0m09.27s user 0m18.26s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 16248, splice 6697, unsplice 0, max 0, idle 0, accept 6794, send 47390, recv 9653, close 24300, drop 0 10.03 real 14.01 user 8.07 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 18902, splice 5797, unsplice 10748, max 0, idle 0, accept 7139, send 43962, recv 5861, close 26406, drop 0 10.20 real 16.06 user 14.03 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 19376, splice 8198, unsplice 0, max 2785, idle 0, accept 8445, send 82250, recv 10860, close 25303, drop 0 10.12 real 14.69 user 14.87 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 16205, splice 6396, unsplice 0, max 0, idle 0, accept 6543, send 69566, recv 10720, close 20642, drop 0 10.04 real 16.17 user 14.61 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2932, accept 2640, send 123923, recv 4411, close 0, drop 2637 10.02 real 18.05 user 15.01 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2391, splice 989, unsplice 0, max 0, idle 0, accept 1489, send 178297, recv 76317, close 0, drop 3292 10.05 real 15.38 user 16.77 sys