==== 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 ld: warning: tcpthread.c:655 (/home/src/regress/sys/netinet/tcpthread/tcpthread.c:655)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 530, accept 14, send 70, recv 2, close 530, drop 0 10.03 real 29.88 user 0.00 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 48483, accept 19062, send 5157, recv 18246, close 48411, drop 0 0m10.02s real 0m18.05s user 0m16.84s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 147200, splice 1183, unsplice 0, max 0, idle 0, accept 2166, send 22569, recv 2471, close 143913, drop 0 10.04 real 21.04 user 13.12 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 10, splice 3, unsplice 5, max 0, idle 0, accept 6, send 3, recv 1, close 4, drop 0 10.13 real 35.50 user 4.65 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 828, splice 575, unsplice 0, max 498, idle 0, accept 616, send 163125, recv 108851, close 625, drop 0 10.04 real 25.93 user 10.98 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 1776, splice 1235, unsplice 0, max 0, idle 1166, accept 1265, send 110800, recv 40490, close 682, drop 0 10.07 real 26.68 user 10.89 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2162, accept 2157, send 7183, recv 5298, close 0, drop 2157 10.02 real 20.20 user 18.96 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 48, splice 12, unsplice 0, max 0, idle 0, accept 10, send 342157, recv 116303, close 0, drop 31 10.02 real 8.84 user 24.38 sys