[ovs-discuss] cycles_count_xxx CPU overhead

nickcooper-zhangtonghao nic at opencloud.tech
Fri Jan 13 07:47:25 UTC 2017

The dp_netdev_process_rxq_port() will use the “cycles_count_start” and “cycles_count_end” for counting the cycles.
But via perf tool, I found that cycles_count_xxx uses a lot of CPU. One question to ask: there is one thread to use the 
pmd struct to processing the packets, right? If so, pmd should be thread safety and atomic should not be used for 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170113/9fe0a70d/attachment.html>

More information about the discuss mailing list