==== 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:645 (/home/src/regress/sys/netinet/tcpthread/tcpthread.c:645)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 548, accept 1, send 274, recv 0, close 296, drop 0 10.01 real 29.95 user 0.04 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 50, recv 0, close 50, drop 0 0m10.23s real 0m25.31s user 0m04.96s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 100549, splice 369, unsplice 0, max 0, idle 0, accept 2228, send 360709, recv 119285, close 106582, drop 0 10.03 real 10.18 user 13.84 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 435, splice 38, unsplice 315, max 0, idle 0, accept 228, send 522721, recv 56849, close 242, drop 0 10.05 real 22.19 user 6.59 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 727, splice 329, unsplice 0, max 303, idle 0, accept 354, send 267668, recv 101823, close 261, drop 0 10.15 real 24.05 user 11.02 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 2917, splice 848, unsplice 0, max 0, idle 541, accept 1027, send 56616, recv 2340, close 560, drop 0 10.04 real 27.73 user 10.66 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 1475, accept 1475, send 4691, recv 3283, close 0, drop 1475 10.02 real 20.09 user 19.32 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1336, splice 710, unsplice 0, max 0, idle 0, accept 800, send 85424, recv 2043, close 0, drop 773 10.08 real 28.15 user 9.90 sys