Re: [PATCH 4/4 V2 net-next] net: mana: Assigning IRQ affinity on HT cores

2024-01-24 Thread Souradeep Chakrabarti
On Wed, Jan 24, 2024 at 07:20:27AM -0800, Yury Norov wrote: > On Mon, Jan 22, 2024 at 08:00:59AM -0800, Souradeep Chakrabarti wrote: > > Existing MANA design assigns IRQ to every CPU, including sibling > > hyper-threads. This may cause multiple IRQs to be active simultaneously > > in the same core

Re: [PATCH 4/4 V2 net-next] net: mana: Assigning IRQ affinity on HT cores

2024-01-24 Thread Souradeep Chakrabarti
On Tue, Jan 23, 2024 at 05:03:32PM -0800, Jakub Kicinski wrote: > On Mon, 22 Jan 2024 08:00:59 -0800 Souradeep Chakrabarti wrote: > > IRQ node-numcore-num CPUperformance(%) > > 1 0 | 0 0 | 0 0 | 0-1 0 > > 2 0 | 0 0 | 1 1 | 2-3 3 > > 3 0 | 0

Re: [PATCH 4/4 V2 net-next] net: mana: Assigning IRQ affinity on HT cores

2024-01-24 Thread Yury Norov
On Mon, Jan 22, 2024 at 08:00:59AM -0800, Souradeep Chakrabarti wrote: > Existing MANA design assigns IRQ to every CPU, including sibling > hyper-threads. This may cause multiple IRQs to be active simultaneously > in the same core and may reduce the network performance. > > Improve the performance

Re: [PATCH 4/4 V2 net-next] net: mana: Assigning IRQ affinity on HT cores

2024-01-23 Thread Jakub Kicinski
On Mon, 22 Jan 2024 08:00:59 -0800 Souradeep Chakrabarti wrote: > IRQ node-numcore-num CPUperformance(%) > 1 0 | 0 0 | 0 0 | 0-1 0 > 2 0 | 0 0 | 1 1 | 2-3 3 > 3 0 | 0 1 | 2 2 | 4-5 10 > 4 0 | 0 1 | 3 3 | 6-7

[PATCH 4/4 V2 net-next] net: mana: Assigning IRQ affinity on HT cores

2024-01-22 Thread Souradeep Chakrabarti
Existing MANA design assigns IRQ to every CPU, including sibling hyper-threads. This may cause multiple IRQs to be active simultaneously in the same core and may reduce the network performance. Improve the performance by assigning IRQ to non sibling CPUs in local NUMA node. The performance improve