[dpdk-users] CPU Utilization Question

Xu, Qian Q qian.q.xu at intel.com
Wed Aug 3 05:35:37 CEST 2016


Yes, 100% CPU utilization for DPDK cores. All the drivers are in polling mode, and we bind the thread to certain CPU cores, the core will always polling/working at 100% utilization. 

-----Original Message-----
From: users [mailto:users-bounces at dpdk.org] On Behalf Of yingzhi
Sent: Wednesday, August 3, 2016 11:32 AM
To: users <users at dpdk.org>
Subject: [dpdk-users] CPU Utilization Question

Hello,

I'm new to dpdk, have a basic question and would like to seek your advice.
When i run dpdk apps with rte_eth_rx_burst() and rte_eth_rt_burst() within a loop without any sleep, it will occupy 100% of cpu cycles of that core. For example, if I run the kni example app, "htop" command indicates the cpu cores assigned to the kni app are all at 100% ut.


Is this expected behavior of DPDK application usage in general?
It would be wonderful if you can share some best practices.


Thanks


More information about the users mailing list