==== 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 773, accept 59, send 350, recv 38, close 535, drop 0 10.01 real 15.01 user 9.98 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125394, accept 61612, send 147544, recv 58941, close 122658, drop 0 0m10.08s real 0m09.07s user 0m18.51s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14267, splice 6579, unsplice 0, max 0, idle 0, accept 6754, send 38225, recv 7468, close 24357, drop 0 10.02 real 13.50 user 11.43 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14190, splice 5313, unsplice 9831, max 0, idle 0, accept 6302, send 29246, recv 6395, close 20591, drop 0 10.18 real 15.87 user 15.27 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12264, splice 5835, unsplice 0, max 2110, idle 0, accept 6480, send 48246, recv 9807, close 17879, drop 0 10.03 real 16.26 user 15.75 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 20222, splice 6189, unsplice 0, max 0, idle 4, accept 5814, send 61411, recv 11235, close 20100, drop 0 10.09 real 14.34 user 15.95 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2933, accept 2675, send 125332, recv 4350, close 0, drop 2657 10.02 real 18.18 user 16.30 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2903, splice 1377, unsplice 0, max 0, idle 0, accept 1895, send 144098, recv 39066, close 0, drop 4143 10.18 real 16.55 user 16.14 sys