==== 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 1, accept 1, send 0, recv 0, close 1, drop 0 10.01 real 30.01 user 0.00 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 89184, accept 21220, send 64891, recv 40017, close 63093, drop 0 0m10.06s real 0m15.26s user 0m14.20s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 156443, splice 330, unsplice 0, max 0, idle 0, accept 10, send 26474, recv 20, close 143275, drop 0 10.05 real 20.99 user 13.79 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 57202, splice 1868, unsplice 8708, max 0, idle 0, accept 7374, send 45272, recv 8191, close 37305, drop 0 10.13 real 24.04 user 8.28 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 22197, splice 1229, unsplice 0, max 49, idle 0, accept 2668, send 313491, recv 65159, close 20098, drop 0 10.03 real 17.44 user 12.96 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 2534, splice 596, unsplice 0, max 0, idle 360, accept 752, send 39782, recv 1588, close 418, drop 0 10.10 real 28.60 user 9.92 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 1384, accept 1384, send 4267, recv 3175, close 0, drop 1379 10.01 real 20.52 user 18.84 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 31, splice 12, unsplice 0, max 0, idle 0, accept 10, send 221848, recv 113317, close 0, drop 20 10.02 real 7.65 user 23.36 sys