[ovs-discuss] OVS-DPDK polling cycles and processing cycles for pmd
dball at vmware.com
Sun Jun 11 19:03:44 UTC 2017
From: <ovs-discuss-bounces at openvswitch.org> on behalf of Darrell Ball <dball at vmware.com>
Date: Sunday, June 11, 2017 at 10:55 AM
To: Hui Xiang <xianghuir at gmail.com>, "ovs-discuss at openvswitch.org" <ovs-discuss at openvswitch.org>
Subject: Re: [ovs-discuss] OVS-DPDK polling cycles and processing cycles for pmd
From: <ovs-discuss-bounces at openvswitch.org> on behalf of Hui Xiang <xianghuir at gmail.com>
Date: Saturday, June 10, 2017 at 9:06 PM
To: "ovs-discuss at openvswitch.org" <ovs-discuss at openvswitch.org>
Subject: [ovs-discuss] OVS-DPDK polling cycles and processing cycles for pmd
I got below results on my environment, but confusing with the cycles percents, it looks like the polling plus processing cycles per pmd is 100%, but as I recalled there are some improvment document that showed their processing cycles are 100% percents which means 0 for polling cycles? how should be the rate of polling and processing cycles take? should it be better for less polling and much processing for performance's benefits?
“polling” is checking for packets, but there are none to process.
Above will be the definition when
In the software that you are using, “polling” is the time spent polling
when there are no packets and also polling/receiving/batching packets.
Using this definition, polling percentage will not go below “some value”,
since even if all polling cycles receive packets that time spent polling/receiving/batching
is counted as “polling”.
input more packets -> higher “processing” percentage.
pmd thread numa_id 1 core_id 27:
avg. subtable lookups per hit:1.00
polling cycles:19832152639760 (12.60%)
processing cycles:137517517407771 (87.40%)
avg cycles per packet: 1113.33 (157349670047531/141332792711)
avg processing cycles per packet: 973.01 (137517517407771/141332792711)
Thanks a lot.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss