Thread (5 messages) 5 messages, 3 authors, 2023-01-25

Re: [PATCH net-next] ibmvnic: Toggle between queue types in affinity mapping

From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-01-25 02:39:32

On Mon, 23 Jan 2023 16:17:27 -0600 Nick Child wrote:
A more optimal algorithm would balance the number RX and TX IRQ's across
the physical cores. Therefore, to increase performance, distribute RX and
TX IRQs across cores by alternating between assigning IRQs for RX and TX
queues to CPUs.
With a system with 64 CPUs and 32 queues, this results in the following
pattern (binding is done in reverse order for readable code):

IRQ type |  CPU number
-----------------------
TX15	 |	0-1
RX15	 |	2-3
TX14	 |	4-5
RX14	 |	6-7
Seems sensible but why did you invert the order? To save LoC?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help