Date: Fri, 26 Oct 2018 15:04:03 +0000 From: "Pieper, Jeffrey E" <jeffrey.e.pieper@intel.com> To: "lev@FreeBSD.org" <lev@FreeBSD.org>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: What are conditions to spread traffic across different NIC queues? Message-ID: <08D0D8DC-FCA8-4B56-9F4C-F407F69EFDE6@intel.com> In-Reply-To: <370ccdb0-cb71-a4da-0a35-4e878eb6ba1c@FreeBSD.org> References: <cbcadec2-bf74-a1a9-2c66-97d9d409907f@FreeBSD.org> <370ccdb0-cb71-a4da-0a35-4e878eb6ba1c@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
So what exactly is your complaint? That a higher end chipset has more features than a low-end chipset?
Jeff
On 10/26/18, 7:13 AM, "Lev Serebryakov" <owner-freebsd-net@freebsd.org on behalf of lev@FreeBSD.org> wrote:
On 26.10.2018 15:30, Lev Serebryakov wrote:
> I have "router" with two em (82574L) NICs. It has dual-core CPU and
> each NIC creates two receive and two transmit queues:
>
> $ sysctl dev.em | grep queue | grep _irq
> dev.em.1.queue_rx_1.rx_irq: 0
> dev.em.1.queue_rx_0.rx_irq: 0
> dev.em.1.queue_tx_1.tx_irq: 0
> dev.em.1.queue_tx_0.tx_irq: 0
> dev.em.0.queue_rx_1.rx_irq: 0
> dev.em.0.queue_rx_0.rx_irq: 0
> dev.em.0.queue_tx_1.tx_irq: 0
> dev.em.0.queue_tx_0.tx_irq: 0
> $
>
> When I pass, say, 64 UDP streams through this router, only one core is
> 100% loaded and other is 100% idle. These streams are for same IP pair,
> but port pairs are all different.
>
> What are right conditions to spread such traffic per queues and cores?
Ok, 82574L is "low end" chip, it supports only IP and IP+TCP checksums.
82576EB supports IP+UDP too. Intel, what is wrong with you?!
--
// Lev Serebryakov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08D0D8DC-FCA8-4B56-9F4C-F407F69EFDE6>
