START sys/netinet/tcpthread 2025-02-14T00:50:25Z ==== 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 2322, accept 1, send 61, recv 3, close 2272, drop 0 10.01 real 29.94 user 0.13 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 12608, accept 12600, send 6425, recv 18921, close 12533, drop 0 0m10.01s real 0m24.62s user 0m07.62s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 90, splice 13, unsplice 0, max 0, idle 0, accept 9, send 1061447, recv 921279, close 39, drop 0 10.10 real 13.44 user 11.36 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 894, splice 17, unsplice 484, max 0, idle 0, accept 17, send 730111, recv 530180, close 178, drop 0 10.04 real 22.33 user 10.52 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 400725, splice 4258, unsplice 0, max 37, idle 0, accept 11, send 64295, recv 3, close 393526, drop 0 10.04 real 31.49 user 22.38 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 40111, splice 1317, unsplice 0, max 0, idle 1123, accept 1390, send 577926, recv 231251, close 782, drop 0 10.10 real 22.03 user 24.92 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 34, recv 5, close 0, drop 10 10.11 real 49.82 user 0.04 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 4, unsplice 0, max 0, idle 0, accept 5, send 147, recv 0, close 0, drop 6 10.12 real 38.14 user 11.70 sys PASS sys/netinet/tcpthread Duration 1m21.30s