fmc policer core pool

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

fmc policer core pool

2,130件の閲覧回数
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 件の賞賛
返信
3 返答(返信)

1,316件の閲覧回数
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 件の賞賛
返信

2,078件の閲覧回数
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 件の賞賛
返信

1,978件の閲覧回数
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 件の賞賛
返信