==== 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 801, accept 39, send 330, recv 13, close 554, drop 0 10.01 real 16.24 user 5.72 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126935, accept 63131, send 154663, recv 62454, close 123757, drop 0 0m10.08s real 0m09.29s user 0m18.28s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 8015, splice 4445, unsplice 0, max 0, idle 0, accept 4562, send 20489, recv 7276, close 14806, drop 0 10.02 real 15.17 user 6.93 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 11926, splice 4082, unsplice 7927, max 0, idle 0, accept 4834, send 21469, recv 4618, close 17690, drop 0 10.04 real 17.45 user 14.03 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13418, splice 5971, unsplice 0, max 2007, idle 0, accept 7107, send 50605, recv 9733, close 20772, drop 0 10.08 real 16.03 user 15.01 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8501, splice 4429, unsplice 0, max 0, idle 0, accept 4664, send 36592, recv 8085, close 13516, drop 0 10.04 real 17.65 user 15.03 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5494, accept 5057, send 171543, recv 8322, close 0, drop 5042 10.02 real 17.53 user 14.87 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2596, splice 1167, unsplice 0, max 0, idle 0, accept 1664, send 224050, recv 111154, close 0, drop 3527 10.12 real 14.30 user 16.88 sys