==== 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 time ./tcpthread count: connect 817, accept 74, send 350, recv 38, close 592, drop 0 10.01 real 15.86 user 9.15 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124097, accept 63322, send 186732, recv 64578, close 122078, drop 0 0m10.07s real 0m09.03s user 0m18.12s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14892, splice 6593, unsplice 0, max 0, idle 0, accept 6623, send 46871, recv 10199, close 23540, drop 0 10.02 real 13.61 user 9.95 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 17058, splice 5517, unsplice 10170, max 0, idle 0, accept 6222, send 37464, recv 5837, close 23107, drop 0 10.03 real 16.63 user 15.02 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 20041, splice 7787, unsplice 0, max 2624, idle 0, accept 8145, send 85309, recv 9461, close 25080, drop 0 10.03 real 15.05 user 15.50 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 20946, splice 8209, unsplice 0, max 0, idle 0, accept 8465, send 93019, recv 12421, close 26737, drop 0 10.04 real 15.36 user 15.83 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3041, accept 2686, send 125695, recv 4363, close 0, drop 2674 10.02 real 18.14 user 16.59 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2612, splice 1050, unsplice 0, max 0, idle 0, accept 1596, send 185000, recv 72270, close 0, drop 3611 10.05 real 15.07 user 17.27 sys