Date: Thu, 10 Apr 2014 14:05:56 +0300 From: Vladislav Prodan <universite@ukr.net> To: Harti Brandt <harti@freebsd.org> Cc: stable@freebsd.org, hackers@freebsd.org, net@freebsd.org Subject: Re[2]: Some gruesome moments with performance of FreeBSD at over 20K interfaces Message-ID: <1397127901.499782177.24smhe7a@frv35.fwdcdn.com> In-Reply-To: <alpine.BSF.2.00.1404101200320.52873@KNOP-BEAGLE.kn.op.dlr.de> References: <1397077963.756961709.gspkmzvd@frv35.fwdcdn.com> <alpine.BSF.2.00.1404101200320.52873@KNOP-BEAGLE.kn.op.dlr.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Wed, 9 Apr 2014, Vladislav Prodan wrote: > > VP>b) Service bsnmpd started at 12K interfaces, but immediately loaded CPU > VP>at 80-100% > > I could imagine that this is because of the statistics polling. bsnmp > implements 64-bit interface statistics but we have only 32-bit statistics > in the kernel. So it polls the kernel statistics for each interface on a > rate that ensures that 32-bit don't overflow. If the interfaces are GBit > or, worse, 10GBit interfaces the polling rate is rather high (in the order > of seconds). > > You should either make sure that the interfaces report sensible bitrates > (I doubt that 20k interfaces could all be GBit interfaces) or force a slower > polling interval by setting begemotIfForcePoll.0 to some large value. > > harti > Thanks for the tip. At least 10 interfaces to be 1Gb, and the rest no more than 50M. BegemotIfForcePoll parameter in this case a little help, you will be forced to stand another value for Gigabit Interface begemotIfForcePoll ... -- Vladislav V. Prodan System & Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1397127901.499782177.24smhe7a>