==== 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 556, accept 41, send 27, recv 41, close 556, drop 0 10.02 real 29.96 user 0.05 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 24, recv 0, close 50, drop 0 0m10.23s real 0m25.20s user 0m04.96s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13, splice 6, unsplice 0, max 0, idle 0, accept 10, send 10, recv 4, close 12, drop 0 10.05 real 25.40 user 4.55 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 49985, splice 2247, unsplice 6081, max 0, idle 0, accept 692, send 6086, recv 4012, close 51805, drop 0 10.08 real 22.82 user 12.35 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 678, splice 415, unsplice 0, max 359, idle 0, accept 440, send 226143, recv 99880, close 267, drop 0 10.02 real 24.19 user 11.17 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 4447, splice 1419, unsplice 0, max 0, idle 1067, accept 1513, send 111220, recv 22149, close 798, drop 0 10.03 real 26.02 user 10.95 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 6134, accept 2548, send 56715, recv 5964, close 0, drop 1697 10.07 real 19.02 user 19.36 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 41, splice 10, unsplice 0, max 0, idle 0, accept 10, send 259089, recv 73458, close 0, drop 21 10.04 real 9.46 user 25.85 sys