START sys/netinet/tcpthread 2025-02-02T06:30:05Z ==== 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 170, accept 170, send 156, recv 326, close 170, drop 0 10.01 real 25.78 user 4.27 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 33709, accept 30595, send 351135, recv 14623, close 30538, drop 0 0m10.27s real 0m14.12s user 0m18.55s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10, splice 4, unsplice 0, max 0, idle 0, accept 5, send 3, recv 1, close 5, drop 0 10.18 real 24.07 user 5.92 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 1086, splice 19, unsplice 755, max 0, idle 0, accept 275, send 398240, recv 267357, close 740, drop 0 10.06 real 20.64 user 8.84 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 9359, splice 391, unsplice 0, max 115, idle 0, accept 1012, send 21638, recv 505, close 603, drop 0 10.02 real 20.28 user 30.31 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 136636, splice 845, unsplice 0, max 0, idle 1, accept 3359, send 600, recv 3670, close 147361, drop 0 10.07 real 24.69 user 29.84 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 1268, accept 1268, send 5305, recv 3453, close 0, drop 1268 10.11 real 19.39 user 29.58 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 6, unsplice 0, max 0, idle 0, accept 6, send 374, recv 5, close 0, drop 3 10.16 real 43.84 user 6.35 sys PASS sys/netinet/tcpthread Duration 1m21.98s