Date: Mon, 26 Aug 2019 19:25:27 +0300 From: Victor Gamov <vit@otcnet.ru> To: Eugene Grosbein <eugen@grosbein.net>, freebsd-net@freebsd.org Subject: Re: finding optimal ipfw strategy Message-ID: <a559d2bd-5218-f344-2e88-c00893272222@otcnet.ru> In-Reply-To: <4ff39c8f-341c-5d72-1b26-6558c57bff8d@grosbein.net> References: <f38b21a5-8f9f-4f60-4b27-c810f78cdc88@otcnet.ru> <4ff39c8f-341c-5d72-1b26-6558c57bff8d@grosbein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 24/08/2019 22:34, Eugene Grosbein wrote: > 25.08.2019 1:13, Victor Gamov wrote: > >> I have nonstandard network task for my FreeBSD box: >> many VLANs bridged together via bridge interface and specific multicast traffic must be send >> from one VLAN to many (but not all) other VLANs. > > It is quite standard filtering bridge :-) Hi All More general question about my current config. I have about 200Mbit input multicasts which bridged and filtered later (about 380 Mbit bridged if trafshow does not lie me :-) ) My FreeBSD box (12.0-STABLE r348449 GENERIC amd64) has one "Intel(R) Xeon(R) CPU E31270 @ 3.40GHz" and 4-ports "Intel(R) PRO/1000 PCI-Express Network Driver". HT disabled and traffic mainly income via igb0 and out both via igb0 and igb2. About 30 VLANs now active some at igb0 and some at igb2. And I have following `top` stat: ===== CPU 0: 0.0% user, 0.0% nice, 80.5% system, 0.0% interrupt, 19.5% idle CPU 1: 0.0% user, 0.0% nice, 34.1% system, 0.0% interrupt, 65.9% idle CPU 2: 0.0% user, 0.0% nice, 17.1% system, 0.0% interrupt, 82.9% idle CPU 3: 0.0% user, 0.0% nice, 46.3% system, 0.0% interrupt, 53.7% idle ===== Also `vmstat -i |grep igb`: ===== irq264: igb0:rxq0 9310734762 5471 irq265: igb0:rxq1 10186691956 5985 irq266: igb0:rxq2 8190475727 4812 irq267: igb0:rxq3 10063786697 5913 irq268: igb0:aq 34 0 irq273: igb1:aq 1 0 irq274: igb2:rxq0 11010248236 6469 irq275: igb2:rxq1 10843712062 6371 irq276: igb2:rxq2 8810194905 5177 irq277: igb2:rxq3 10975949272 6449 irq278: igb2:aq 10 0 irq283: igb3:aq 1 0 ===== Is it possible to get CPU load about 30% at this config after ipfw optimization? Or may be main bottleneck is not ipfw-specific? -- CU, Victor Gamov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a559d2bd-5218-f344-2e88-c00893272222>