==== 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 542, accept 39, send 204, recv 0, close 542, drop 0 10.01 real 30.06 user 0.05 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 12595, accept 12595, send 6315, recv 18788, close 12520, drop 0 0m10.13s real 0m24.67s user 0m08.09s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 66341, splice 2074, unsplice 0, max 0, idle 0, accept 1363, send 6209, recv 17, close 75687, drop 0 10.04 real 18.51 user 14.17 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 143, splice 20, unsplice 72, max 0, idle 0, accept 49, send 190461, recv 32639, close 55, drop 0 10.12 real 25.05 user 8.63 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 5, send 43, recv 6, close 4, drop 0 10.17 real 32.38 user 7.72 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 6278, splice 970, unsplice 0, max 0, idle 433, accept 1306, send 88699, recv 3228, close 694, drop 0 10.09 real 24.32 user 13.63 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 1396, accept 1396, send 4893, recv 3521, close 0, drop 1396 10.08 real 20.17 user 19.27 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 7, unsplice 0, max 0, idle 0, accept 6, send 238, recv 3, close 0, drop 3 10.18 real 37.41 user 2.59 sys