fmc policer core pool

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

fmc policer core pool

2,117 Views
ysack
Contributor I

I'm using SDK 2.0 fmc on T4240RDB board. 

When I use policer as shown below, I see that all traffic passes through a single CPU core. How can I prevent this situation?

<policer name="policer2">

<algorithm>rfc2698</algorithm>

<color_mode>color_blind</color_mode>

<CIR>12000</CIR>

<EIR>34000</EIR>

<CBS>56000</CBS>

<EBS>78000</EBS>

<unit>packet</unit>

<action condition="on-red" type="drop"/>

0 Kudos
Reply
3 Replies

1,303 Views
peter_jone
Contributor I

It sounds like you’re encountering a common issue where traffic isn’t being properly distributed across multiple cores. To troubleshoot, consider verifying if your SDK or hardware supports multi-core load balancing for policers or if additional configuration is needed to enable it. Also, reviewing examples related to Cook County arrest could offer insights on managing resource distribution efficiently. This approach might help optimize your setup for better performance.

0 Kudos
Reply

2,065 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the following explanation.

This is because in DPAA1, each Ethernet interface uses one pool channel across all software portals and also one dedicated channel for each CPU. In Linux Kernel, PCD Frame queues use dedicated channels. You could refer to the section "5. Dedicated and Pool Channels Usage in Linux Kernel" in https://community.nxp.com/docs/DOC-329916 for details.

 

In the multiple flows scenario, after executing FMC policy, one flow will bind to one core.

0 Kudos
Reply

1,965 Views
ysack
Contributor I
Thank you very much for your reply. When I clicked on the link you gave, I saw the qman_driver.c file.
Can you help me on how to use this file?
0 Kudos
Reply