START sys/netinet/tcpthread 2025-02-14T19:37:19Z ==== 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 210, accept 210, send 92, recv 299, close 210, drop 0 10.01 real 26.11 user 3.94 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 187346, accept 20044, send 486360, recv 333623, close 187284, drop 0 0m10.04s real 0m09.13s user 0m15.33s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 240497, splice 16, unsplice 0, max 0, idle 0, accept 250, send 10536, recv 243, close 231954, drop 0 10.02 real 21.39 user 14.85 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 1207, splice 7, unsplice 170, max 0, idle 0, accept 125, send 13269, recv 78, close 294, drop 0 10.17 real 32.91 user 7.25 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 180507, splice 87, unsplice 0, max 2, idle 0, accept 510, send 11611, recv 646, close 185363, drop 0 10.03 real 32.85 user 20.95 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 105286, splice 263, unsplice 0, max 0, idle 2, accept 565, send 2892, recv 1333, close 113203, drop 0 10.03 real 20.21 user 33.12 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 1300, accept 1300, send 5760, recv 3774, close 0, drop 1300 10.11 real 19.68 user 30.04 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 33, splice 10, unsplice 0, max 0, idle 0, accept 20, send 589012, recv 306274, close 0, drop 26 10.05 real 2.93 user 21.05 sys PASS sys/netinet/tcpthread Duration 1m21.21s