START sys/netinet/tcpthread 2025-01-17T01:36:29Z ==== 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 1, accept 1, send 1, recv 0, close 1, drop 0 10.01 real 29.94 user 0.00 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 27, recv 0, close 50, drop 0 0m10.21s real 0m24.48s user 0m05.62s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 8035, splice 15, unsplice 0, max 0, idle 0, accept 12, send 694676, recv 481014, close 27, drop 0 10.10 real 13.23 user 9.42 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 474445, splice 104, unsplice 578, max 0, idle 0, accept 145, send 4661, recv 158, close 471402, drop 0 10.07 real 31.51 user 17.74 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 1078, splice 554, unsplice 0, max 505, idle 0, accept 572, send 987200, recv 842173, close 419, drop 0 10.06 real 26.62 user 17.28 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 319052, splice 3093, unsplice 0, max 0, idle 2, accept 3880, send 27769, recv 4588, close 321436, drop 0 10.03 real 32.74 user 20.68 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 26, recv 5, close 0, drop 10 10.11 real 50.02 user 0.05 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 5103, splice 186, unsplice 0, max 0, idle 0, accept 217, send 28765, recv 504, close 0, drop 220 10.05 real 36.43 user 13.37 sys PASS sys/netinet/tcpthread Duration 1m21.41s