Hello This interface is 14.8 Mpps, but such capacity is only possible without a firewall performing filtering. The more firewall rules on your router, the less forwarding capacity the card will have, due to having to process the packet in CPU to match the rules and then forward the packet. In the link that follows, a little is talked about: https://wiki.freebsd.org/NetworkPerformanceTuning
Here are some more useful links on FreeBSD and network tuning https://calomel.org/freebsd_network_tuning.html https://people.freebsd.org/~olivier/talks/2017_EuroBSDCon-Tuning_FreeBSD_for_routing_and_firewalling.pdf Em sex., 10 de jul. de 2020 às 03:45, Patrick Lamaiziere <patf...@davenulle.org> escreveu: > > Hello, > > That is mostly for the record but it looks like the intel X520 is not > very good and generates a high level of interrupts. > > On a router / firewall with 500 Kpps in input (dropped by pf) is enough to > put the CPUs at > 100% busy. > > We use FreeBSD 11.3 on a machine with 12 CPU Intel(R) Xeon(R) CPU E5-2643 v3 > @ 3.40GHz (3400.07-MHz K8-class CPU) > FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs > FreeBSD/SMP: 2 package(s) x 6 core(s) > Multi threading is disabled. > > ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 3.2.12-k> port > 0x3020-0x303f mem 0x92300000-0x923fffff,0x92404000-0x92407fff irq 34 at > device 0.0 numa-domain 0 on pci5 > ix0: Using MSI-X interrupts with 9 vectors > ix0: Ethernet address: a0:36:9f:93:84:10 > ix0: PCI Express Bus: Speed 5.0GT/s Width x8 > ix0: netmap queues/slots: TX 8/2048, RX 8/2048 > > I've set fews tunable in loader.conf but I don't remember why > loader.conf > # cartes ix > #hw.ix.max_interrupt_rate=100000 > #hw.ix.enable_aim=0 > hw.ix.tx_process_limit=-1 > hw.ix.rx_process_limit=-1 > #hw.ix.num_queues=6 > hw.intr_storm_threshold=9000 > > Well, do you think another NIC cards can help to reach a better pps rate ? I > think 500 Kpps is quite low for such a machine. > > Thanks, best regards. > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"