START sys/netinet/tcpthread 2025-02-08T02:56:46Z ==== 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:655 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:655)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 501, accept 1, send 517, recv 1, close 1, drop 0 10.01 real 29.95 user 0.03 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 501415, accept 1962, send 542285, recv 100, close 1902, drop 0 0m10.02s real 0m21.29s user 0m15.62s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 72, splice 8, unsplice 0, max 0, idle 0, accept 6, send 3, recv 62, close 61, drop 0 10.13 real 24.31 user 5.70 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 10, splice 3, unsplice 6, max 0, idle 0, accept 3, send 1, recv 0, close 5, drop 0 10.16 real 34.18 user 5.87 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 205666, splice 327, unsplice 0, max 1, idle 0, accept 331, send 1727741, recv 578834, close 206673, drop 0 10.05 real 7.74 user 27.12 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 215539, splice 4765, unsplice 0, max 0, idle 1, accept 5952, send 30452, recv 7241, close 222857, drop 0 10.03 real 33.48 user 19.00 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 41, recv 4, close 0, drop 10 10.10 real 50.01 user 0.03 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 36, splice 10, unsplice 0, max 0, idle 0, accept 10, send 627774, recv 343519, close 0, drop 30 10.02 real 4.53 user 31.60 sys PASS sys/netinet/tcpthread Duration 1m21.28s