==== 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 510, accept 1, send 279, recv 0, close 244, drop 0 10.01 real 30.00 user 0.06 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 39965, accept 19141, send 5655, recv 18129, close 39880, drop 0 0m10.02s real 0m17.98s user 0m16.29s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 35569, splice 1641, unsplice 0, max 0, idle 0, accept 739, send 210055, recv 88818, close 43761, drop 0 10.05 real 11.84 user 10.98 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 432, splice 22, unsplice 131, max 0, idle 0, accept 64, send 412541, recv 107135, close 91, drop 0 10.02 real 22.77 user 6.65 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 35402, splice 2710, unsplice 0, max 45, idle 0, accept 589, send 37789, recv 4999, close 26567, drop 0 10.06 real 20.29 user 15.59 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 15933, splice 1817, unsplice 0, max 0, idle 4, accept 2424, send 2378, recv 2311, close 19545, drop 0 10.06 real 24.13 user 13.87 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 6285, accept 2498, send 64161, recv 6133, close 0, drop 1777 10.04 real 18.83 user 19.50 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 5, unsplice 0, max 0, idle 0, accept 8, send 329, recv 5, close 0, drop 9 10.12 real 31.53 user 8.48 sys