START sys/netinet/tcpthread 2025-02-14T16:33:03Z ==== 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 499, accept 2, send 550, recv 2, close 2, drop 0 10.01 real 29.95 user 0.09 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 442615, accept 571, send 2314, recv 270, close 442558, drop 0 0m10.02s real 0m15.35s user 0m21.98s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 139, splice 11, unsplice 0, max 0, idle 0, accept 9, send 1071885, recv 941856, close 72, drop 0 10.06 real 13.45 user 11.34 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 415186, splice 277, unsplice 3571, max 0, idle 0, accept 96, send 1166, recv 6218, close 412350, drop 0 10.07 real 26.04 user 20.77 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 257789, splice 575, unsplice 0, max 20, idle 0, accept 797, send 617184, recv 261956, close 247558, drop 0 10.05 real 23.22 user 22.88 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 41783, splice 1361, unsplice 0, max 0, idle 1146, accept 1376, send 448663, recv 208339, close 727, drop 0 10.04 real 31.31 user 16.66 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 26, recv 5, close 0, drop 10 10.09 real 49.95 user 0.02 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 64, splice 10, unsplice 0, max 0, idle 0, accept 21, send 758376, recv 348087, close 0, drop 61 10.03 real 4.07 user 30.60 sys PASS sys/netinet/tcpthread Duration 1m21.15s