==== 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 642, accept 101, send 289, recv 119, close 374, drop 0 10.02 real 29.95 user 0.04 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 75380, accept 21086, send 50161, recv 32563, close 51977, drop 0 0m10.05s real 0m15.98s user 0m13.27s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 63, splice 16, unsplice 0, max 0, idle 0, accept 26, send 186338, recv 134647, close 37, drop 0 10.06 real 12.98 user 6.27 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 10, splice 5, unsplice 5457893, max 0, idle 0, accept 8, send 9, recv 2, close 7, drop 0 10.12 real 29.66 user 10.20 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 50280, splice 1366, unsplice 0, max 28, idle 0, accept 972, send 41541, recv 129, close 39603, drop 0 10.06 real 18.68 user 16.57 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 4905, splice 719, unsplice 0, max 0, idle 352, accept 1159, send 71902, recv 2045, close 699, drop 0 10.04 real 21.61 user 16.44 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 8, recv 5, close 0, drop 10 10.14 real 39.85 user 0.01 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 25, splice 10, unsplice 0, max 0, idle 0, accept 10, send 220845, recv 200221, close 0, drop 8 10.02 real 3.20 user 14.84 sys