START sys/netinet/tcpthread 2025-02-04T21:49:39Z ==== 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:649 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:649)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 1264, accept 1, send 16, recv 0, close 1257, drop 0 10.02 real 30.03 user 0.07 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 12579, accept 12579, send 6469, recv 18960, close 12529, drop 0 0m10.43s real 0m24.15s user 0m07.69s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 277, splice 16, unsplice 0, max 0, idle 0, accept 12, send 984770, recv 925429, close 139, drop 0 10.12 real 12.77 user 11.60 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 510549, splice 73, unsplice 486, max 0, idle 0, accept 77, send 389, recv 1271, close 511978, drop 0 10.03 real 23.15 user 25.91 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 419038, splice 2527, unsplice 0, max 74, idle 0, accept 562, send 37972, recv 85, close 412895, drop 0 10.04 real 25.07 user 28.62 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 438177, splice 1508, unsplice 0, max 0, idle 0, accept 2073, send 57576, recv 2491, close 424858, drop 0 10.03 real 31.33 user 22.91 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 22, recv 5, close 0, drop 10 10.09 real 50.14 user 0.02 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 31, splice 10, unsplice 0, max 0, idle 0, accept 15, send 804940, recv 337664, close 0, drop 25 10.01 real 4.21 user 31.26 sys PASS sys/netinet/tcpthread Duration 1m21.53s