START sys/netinet/tcpthread 2025-01-28T02:46:16Z ==== 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 195, accept 195, send 174, recv 362, close 195, drop 0 10.03 real 26.56 user 3.50 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 530850, accept 151, send 1561, recv 42, close 530778, drop 0 0m10.02s real 0m12.59s user 0m27.02s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 527511, splice 80, unsplice 0, max 0, idle 0, accept 138, send 2330, recv 1093, close 527637, drop 0 10.03 real 14.15 user 25.40 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 2410, splice 24, unsplice 1216, max 0, idle 0, accept 64, send 1013219, recv 898825, close 408, drop 0 10.06 real 20.87 user 10.86 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16, splice 8, unsplice 0, max 0, idle 0, accept 9, send 7, recv 9, close 11, drop 0 10.08 real 37.10 user 12.99 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 370148, splice 2728, unsplice 0, max 0, idle 1, accept 3779, send 27904, recv 4256, close 373559, drop 0 10.03 real 33.38 user 20.54 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 1450, accept 10, send 1906, recv 4, close 0, drop 10 10.02 real 10.37 user 39.55 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 7, unsplice 0, max 0, idle 0, accept 6, send 286, recv 7, close 0, drop 3 10.16 real 44.76 user 5.41 sys PASS sys/netinet/tcpthread Duration 1m21.19s