START sys/netinet/tcpthread 2025-01-14T02:57:59Z ==== run-default ==== cc -O2 -pipe -g -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/sys/netinet/tcpthread/tcpthread.c cc -o tcpthread tcpthread.o -lpthread ld: warning: tcpthread.c:649 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:649)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 499, accept 3, send 596, recv 3, close 3, drop 0 10.01 real 30.00 user 0.05 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 639250, accept 163, send 1701, recv 52, close 639192, drop 0 0m10.83s real 0m15.36s user 0m24.36s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 638065, splice 19, unsplice 0, max 0, idle 0, accept 24, send 375, recv 128, close 638137, drop 0 10.04 real 19.80 user 20.13 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 580925, splice 234, unsplice 2224, max 0, idle 0, accept 300, send 8225, recv 3547, close 579512, drop 0 10.03 real 30.46 user 18.73 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 502021, splice 527, unsplice 0, max 51, idle 0, accept 757, send 519884, recv 204029, close 492951, drop 0 10.04 real 22.85 user 24.90 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 625625, splice 2073, unsplice 0, max 0, idle 2, accept 3289, send 40522, recv 3608, close 615528, drop 0 10.02 real 35.41 user 18.65 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 48, recv 4, close 0, drop 10 10.10 real 50.01 user 0.01 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 38, splice 10, unsplice 0, max 0, idle 0, accept 15, send 1219388, recv 415310, close 0, drop 31 10.03 real 7.05 user 30.82 sys PASS sys/netinet/tcpthread Duration 1m21.80s