finding optimal ipfw strategy
Victor Gamov
vit at otcnet.ru
Mon Aug 26 16:25:39 UTC 2019
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
More information about the freebsd-net
mailing list