==== 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 609, accept 1, send 177, recv 0, close 443, drop 0 10.01 real 30.08 user 0.03 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 153, recv 0, close 51, drop 0 0m10.40s real 0m25.63s user 0m04.52s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 42548, splice 1631, unsplice 0, max 0, idle 0, accept 4017, send 261902, recv 159629, close 50675, drop 0 10.03 real 11.84 user 11.36 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 38195, splice 910, unsplice 3270, max 0, idle 0, accept 1197, send 4787, recv 103, close 44134, drop 0 10.04 real 24.51 user 12.36 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 5, send 9, recv 2, close 2, drop 0 10.15 real 29.64 user 10.32 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 25, splice 8, unsplice 0, max 0, idle 0, accept 7, send 21, recv 16, close 9, drop 0 10.15 real 30.16 user 9.79 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 9, recv 5, close 0, drop 10 10.10 real 40.02 user 0.02 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 14, splice 7, unsplice 0, max 0, idle 0, accept 9, send 263444, recv 105911, close 0, drop 6 10.07 real 6.58 user 18.44 sys