START sys/netinet/tcpthread 2025-02-03T05:26:11Z ==== 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 501, accept 2, send 501, recv 0, close 2, drop 0 10.03 real 30.00 user 0.04 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 12995, accept 12995, send 6592, recv 19482, close 12945, drop 0 0m10.12s real 0m23.15s user 0m09.22s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 97, splice 23, unsplice 0, max 0, idle 0, accept 42, send 394323, recv 276421, close 76, drop 0 10.10 real 12.66 user 10.30 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 122245, splice 134, unsplice 5254, max 0, idle 0, accept 1369, send 952, recv 1340, close 127737, drop 0 10.05 real 30.74 user 12.09 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 265812, splice 322, unsplice 0, max 4, idle 0, accept 534, send 15387, recv 39, close 268108, drop 0 10.05 real 22.99 user 32.24 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 1899, splice 587, unsplice 0, max 0, idle 368, accept 753, send 73329, recv 11066, close 431, drop 0 10.02 real 31.75 user 18.00 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 15, recv 5, close 0, drop 10 10.12 real 50.01 user 0.02 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 12, splice 10, unsplice 0, max 0, idle 0, accept 9, send 373262, recv 168180, close 0, drop 5 10.02 real 2.10 user 19.76 sys PASS sys/netinet/tcpthread Duration 1m21.59s