START sys/netinet/tcpthread 2025-02-09T19:34: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 236035, accept 133, send 49, recv 134, close 235992, drop 0 10.03 real 28.72 user 6.50 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 208773, accept 21400, send 212891, recv 88200, close 163745, drop 0 0m10.04s real 0m15.86s user 0m15.60s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 17, splice 5, unsplice 0, max 0, idle 0, accept 6, send 1, recv 8, close 9, drop 0 10.15 real 23.18 user 6.92 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 104308, splice 14, unsplice 203, max 0, idle 0, accept 532, send 2223, recv 498, close 107101, drop 0 10.02 real 25.75 user 16.93 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 26, splice 6, unsplice 0, max 0, idle 0, accept 8, send 3, recv 19, close 19, drop 0 10.07 real 36.23 user 14.11 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 170738, splice 86, unsplice 0, max 0, idle 6, accept 1347, send 6810, recv 4631, close 172845, drop 0 10.02 real 34.47 user 20.48 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 1337, accept 1337, send 5890, recv 4018, close 0, drop 1337 10.07 real 19.81 user 30.19 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 1601, splice 461, unsplice 0, max 0, idle 0, accept 540, send 66040, recv 1319, close 0, drop 549 10.03 real 34.81 user 14.88 sys PASS sys/netinet/tcpthread Duration 1m21.18s