==== 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 845, accept 51, send 360, recv 18, close 584, drop 0 10.01 real 15.87 user 5.78 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124498, accept 62092, send 155364, recv 60383, close 122967, drop 0 0m10.08s real 0m09.38s user 0m18.12s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14898, splice 6166, unsplice 0, max 0, idle 0, accept 6702, send 38887, recv 8434, close 25362, drop 0 10.02 real 14.19 user 8.10 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15711, splice 5376, unsplice 11471, max 0, idle 0, accept 7064, send 29836, recv 6790, close 23007, drop 0 10.22 real 16.21 user 14.12 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13987, splice 5780, unsplice 0, max 1815, idle 0, accept 6826, send 62049, recv 8690, close 20654, drop 0 10.04 real 13.61 user 13.81 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 7260, splice 4240, unsplice 0, max 0, idle 0, accept 4399, send 38197, recv 9088, close 11682, drop 0 10.11 real 12.98 user 12.22 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3168, accept 2727, send 127579, recv 5403, close 0, drop 2715 10.03 real 14.00 user 12.26 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1905, splice 1042, unsplice 0, max 0, idle 0, accept 1192, send 212568, recv 99975, close 0, drop 2540 10.04 real 10.44 user 13.85 sys