Date: Sun, 8 Jun 2014 14:06:59 -0700 From: Adrian Chadd <adrian@freebsd.org> To: Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au> Cc: FreeBSD Stable Mailing List <freebsd-stable@freebsd.org> Subject: Re: Flowtable stats Message-ID: <CAJ-Vmo=C2cCCT8zibUEaQTjrP2xHNeBBGyV4w=pi4zBsU%2B9RaA@mail.gmail.com> In-Reply-To: <53947752.2090507@heuristicsystems.com.au> References: <5393B20D.9050806@bsdinfo.com.br> <CAJ-Vmom%2BjOc7mCo%2Buffiiio9m4USAkeF_hQJDyPfO4awQf_r_Q@mail.gmail.com> <53947752.2090507@heuristicsystems.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, It's in netstat now. Try netstat -rs -a On 8 June 2014 07:46, Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au> wrote: > While preparing to transition from 9.2Stable to 10.0Stable, I noticed > that there is no ability to examine the status of the flowtable. The > sysctl net.inet.flowtable.stats was useful to ascertain if the > net.flowtable.maxflows (or previously net.inet.flowtable.nmbflows on 9.* > and 8.*) is sufficient or excessive. For boundary devices with 1G (or > less), it is helpful to tune. > > Is there another sysctl that I need to tweak to see this, or a > supporting program? > > It would be useful to see Hits/Lookups, while misses might be useful if > expiry were tuneable. > > Refer to single CPU boundary device FreeBSD9.2: > net.inet.flowtable.stats= > table name: ipv4 > collisions: 12 > allocated: 0 > misses: 225821 > max_depth: 1 > free_checks: 1502021 > frees: 225785 > hits: 220339242 > lookups: 220565063 > > net.inet.flowtable.nmbflows=25600 looks about right, while the FreeBSD10 > (server) that I'm using has autoset net.flowtable.maxflows=427552 > > There was no mention in UPDATING or the 10.0R Release Notes. > Regards, Dewayne. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=C2cCCT8zibUEaQTjrP2xHNeBBGyV4w=pi4zBsU%2B9RaA>