==== 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:645 (/home/src/regress/sys/netinet/tcpthread/tcpthread.c:645)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 541, accept 1, send 354, recv 0, close 217, drop 0 10.02 real 30.00 user 0.02 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 68967, accept 16318, send 54378, recv 32490, close 48027, drop 0 0m10.05s real 0m15.34s user 0m12.63s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10, splice 4, unsplice 0, max 0, idle 0, accept 9, send 6, recv 5, close 10, drop 0 10.12 real 25.65 user 4.32 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12, splice 7, unsplice 5868757, max 0, idle 0, accept 8, send 18, recv 2, close 10, drop 0 10.10 real 29.80 user 10.23 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 803, splice 515, unsplice 0, max 466, idle 0, accept 555, send 247867, recv 117219, close 407, drop 0 10.05 real 22.08 user 11.43 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 38539, splice 1648, unsplice 0, max 0, idle 27, accept 5478, send 34899, recv 7619, close 33536, drop 0 10.02 real 21.55 user 13.25 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 34, accept 10, send 284, recv 6, close 0, drop 10 10.03 real 13.89 user 25.97 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 4, send 99, recv 0, close 0, drop 5 10.13 real 30.41 user 9.35 sys