START sys/netinet/tcpthread 2025-02-08T06:16:58Z ==== 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 1, accept 1, send 1, recv 0, close 1, drop 0 10.02 real 30.07 user 0.03 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 108428, accept 8047, send 447892, recv 239943, close 108374, drop 0 0m10.04s real 0m08.47s user 0m14.27s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14, splice 8, unsplice 0, max 0, idle 0, accept 9, send 366775, recv 234580, close 13, drop 0 10.08 real 14.72 user 9.47 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 109312, splice 1093, unsplice 2647, max 0, idle 0, accept 2053, send 46184, recv 2241, close 75485, drop 0 10.19 real 28.36 user 7.78 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 112913, splice 1022, unsplice 0, max 113, idle 0, accept 1868, send 72729, recv 2101, close 60003, drop 0 10.04 real 22.83 user 13.49 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 116789, splice 648, unsplice 0, max 0, idle 8, accept 1264, send 71217, recv 1470, close 57688, drop 0 10.03 real 22.52 user 12.90 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 5, recv 5, close 0, drop 10 10.22 real 39.95 user 0.02 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 6, unsplice 0, max 0, idle 0, accept 9, send 283, recv 9, close 0, drop 10 10.10 real 32.69 user 7.28 sys PASS sys/netinet/tcpthread Duration 1m21.94s