Date: Fri, 10 Jul 2020 08:45:30 +0200 From: Patrick Lamaiziere <patfbsd@davenulle.org> To: freebsd-net@freebsd.org Subject: poor performance with Intel X520 card Message-ID: <20200710084530.777ce321@mr185033.univ-rennes1.fr>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200710084530.777ce321>