==== 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 819, accept 87, send 337, recv 37, close 630, drop 0 10.01 real 15.79 user 5.46 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 116275, accept 58830, send 155447, recv 60495, close 113983, drop 0 0m10.07s real 0m08.97s user 0m17.00s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10083, splice 5055, unsplice 0, max 0, idle 0, accept 4850, send 32571, recv 7466, close 16438, drop 0 10.02 real 13.31 user 8.51 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15152, splice 5653, unsplice 9626, max 0, idle 0, accept 6360, send 32803, recv 6105, close 21800, drop 0 10.02 real 15.95 user 13.44 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13286, splice 5526, unsplice 0, max 1817, idle 0, accept 5233, send 62255, recv 7764, close 16203, drop 0 10.21 real 13.58 user 12.00 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 18175, splice 7943, unsplice 0, max 0, idle 0, accept 7373, send 76689, recv 11296, close 23940, drop 0 10.22 real 15.05 user 14.52 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2960, accept 2667, send 124674, recv 4442, close 0, drop 2652 10.02 real 17.13 user 15.24 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1985, splice 838, unsplice 0, max 0, idle 0, accept 1137, send 194922, recv 95349, close 0, drop 2544 10.08 real 14.58 user 16.49 sys