现象:1、l3fwd-power -l 1-3 -- -p 0x03 --config="(0,0,2),(1,0,3)" ,端口0绑2核,端口1绑3核,示例l3fwd-power就正常。 2、l3fwd-power -l 1-3 -- -p 0x03 --config="(0,0,3),(1,0,3)" ,端口0和端口1都绑在2核或者3核上,示例l3fwd-power就有问题,会卡在dpaa_dev_queue...
l3fwd-power 普通的DPDK是采用的PMD模式,也就是轮询模式,这种模式下无论是否有报文处理,都是采用的轮询也就是CPU占用率100%; L3FWD-power就是为了解决这个问题,当CPU根本就不需要处理报文的时候进入省电模式也就是中断模式; 使用者可以根据自己的策略来决定于什么时候用轮询什么时候用中断模式; 这种模式叫做DPDK的...
L3FWD_POWER: lcore 27 is waked up from rx interrupt on port 0 queue 0 L3FWD_POWER: lcore 27 sleeps until interrupt triggers L3FWD_POWER: lcore 27 is waked up from rx interrupt on port 0 queue 0 L3FWD_POWER: lcore 27 sleeps until interrupt triggers ^CPOWER: Power management govern...
> > examples/l3fwd-power/main.c | 24 ++++++++++++++ > > 1 file changed, 24 insertions(+) > > > > diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c > > index 2bb6b092c3..b0ddb54ee2 100644 > > --- a/examples/l3fwd-power/main.c > > +++ b...
现象:1、l3fwd-power -l 1-3 -- -p 0x03 --config="(0,0,2),(1,0,3)" ,端口0绑2核,端口1绑3核,示例l3fwd-power就正常。 2、l3fwd-power -l 1-3 -- -p 0x03 --config="(0,0,3),(1,0,3)" ,端口0和端口1都绑在2核或者3核上,示例l3fwd-power就有问题,会卡在dpaa_dev_queue...
+ RTE_POWER_QOS_STRICT_LATENCY_VALUE); I wonder why it is set to all worker cores silently and unconditionally? Wouldn't it be a change from current behavior of the power library? L3fwd-power uses Rx interrupt to receive packet.
> >>> RTE_POWER_QOS_STRICT_LATENCY_VALUE); > >>> I wonder why it is set to all worker cores silently and unconditionally? > >>> Wouldn't it be a change from current behavior of the power library? > >> L3fwd-power uses Rx interrupt to receive packet. >...
I have update the code into 20.05-rc2. However, the l3fwd-powerstartup fail. [root@centos-C3 build]# l3fwd-power -w 0000:7d:00.1 -c 0xc000000 -n 4-- -P -p 0x01 --config '(0,0,27)' --parse-ptype --snip-- POWER: Attempting to initialise ACPI cpufreq power management......
> >> + RTE_POWER_QOS_STRICT_LATENCY_VALUE); > > I wonder why it is set to all worker cores silently and unconditionally? > > Wouldn't it be a change from current behavior of the power library? > L3fwd-power uses Rx interrupt to receive packet. ...