==== run-default ==== cc -O2 -pipe -g -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /home/src/regress/sys/netinet/tcpthread/tcpthread.c cc -o tcpthread tcpthread.o -lpthread ld: warning: tcpthread.c:655 (/home/src/regress/sys/netinet/tcpthread/tcpthread.c:655)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 567, accept 37, send 34, recv 37, close 567, drop 0 10.01 real 29.96 user 0.08 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 22522, accept 20424, send 262161, recv 8877, close 20373, drop 0 0m10.01s real 0m16.96s user 0m14.12s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 119468, splice 1781, unsplice 0, max 0, idle 0, accept 10, send 25973, recv 10, close 117410, drop 0 10.05 real 20.88 user 12.53 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 1009, splice 89, unsplice 694, max 0, idle 0, accept 248, send 187309, recv 34602, close 465, drop 0 10.11 real 25.12 user 8.87 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 1950, splice 582, unsplice 0, max 359, idle 0, accept 678, send 402726, recv 124680, close 412, drop 0 10.04 real 18.53 user 15.02 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 3734, splice 1404, unsplice 0, max 0, idle 1012, accept 1480, send 99194, recv 12369, close 1465, drop 0 10.02 real 25.85 user 11.52 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5468, accept 2712, send 63383, recv 6161, close 0, drop 1918 10.02 real 19.15 user 19.04 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1370, splice 747, unsplice 0, max 0, idle 0, accept 823, send 59908, recv 2300, close 0, drop 775 10.03 real 24.12 user 14.23 sys