Date: Thu, 1 Oct 2020 12:28:11 +0200 From: Hans Petter Selasky <hps@selasky.org> To: =?UTF-8?Q?Michal_Van=c4=8do?= <michal@microwave.sk>, freebsd-net@freebsd.org Subject: Re: mlx5 irq Message-ID: <32dbe3be-4b0a-6a94-d368-c5943d688bc6@selasky.org> In-Reply-To: <3c64095f-8a45-0fb4-4835-7486bbd84663@microwave.sk> References: <0aa09fcc-dfcc-005e-8834-2a758ba6a03f@microwave.sk> <94978a05-94c6-cc55-229c-5a3c5352b29a@selasky.org> <c9f8bd7f-6d9d-bb6e-307c-a19c9730b564@microwave.sk> <c2fc9301-f085-189f-ca3a-42d1f97fd870@selasky.org> <3c64095f-8a45-0fb4-4835-7486bbd84663@microwave.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-10-01 11:13, Michal Vančo via freebsd-net wrote: > On 01/10/2020 10:52, Hans Petter Selasky wrote: >> On 2020-10-01 10:24, Michal Vančo wrote: >>> But why is the actual number of IRQ lines bigger than number of CPU >>> cores? >> >> There are some dedicated IRQ's used for firmware management. >> >> Else the driver will use the number of online CPU's by default as the >> number of rings, if the hardware supports it. > > Thanks for clarification. Is there any way to optimize this? In my case > I have 2 CPU sockets with 8 cores each (SMT is disabled). NIC is > connected via PCIe to the first CPU socket (numa domain 0). In this > case, wouldn't it be better if all interrupts were firing only on cores > of first socket? > Hi, You can use "cpuset" to bind those IRQ threads to the right core. There is no automatic way :-) --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32dbe3be-4b0a-6a94-d368-c5943d688bc6>