START sys/netinet/tcpthread 2025-01-27T23:06:10Z ==== 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 1184, accept 1, send 22, recv 0, close 1180, drop 0 10.01 real 30.15 user 0.03 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 464943, accept 1600, send 481978, recv 635, close 1538, drop 0 0m10.12s real 0m19.58s user 0m19.78s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 96, splice 6, unsplice 0, max 0, idle 0, accept 5, send 2, recv 88, close 89, drop 0 10.10 real 24.24 user 5.77 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 456759, splice 171, unsplice 2211, max 0, idle 0, accept 227, send 4752, recv 3548, close 455351, drop 0 10.02 real 28.72 user 20.73 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 498097, splice 1575, unsplice 0, max 73, idle 0, accept 2847, send 62251, recv 3223, close 476608, drop 0 10.02 real 30.62 user 24.48 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 121468, splice 3729, unsplice 0, max 0, idle 5, accept 4418, send 17009, recv 2226, close 133289, drop 0 10.02 real 43.76 user 7.05 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 41, recv 4, close 0, drop 10 10.09 real 49.93 user 0.02 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 26461, splice 390, unsplice 0, max 0, idle 0, accept 465, send 73627, recv 1053, close 0, drop 442 10.01 real 35.60 user 13.93 sys PASS sys/netinet/tcpthread Duration 1m21.16s