Hi OVS: When I tested the forwarding performance of float IP, I found that the NAT traffic passing through ovsdpdk nodes could not increase linearly with the increase of PMD threads, but was evenly distributed? Are some resources mutually exclusive among multiple PMDS?
OVS Version:2.13.4
OVN version:21.03
DPDK version:19.11.10
ovsdpdk-vswitchd)[root@node08 /root/zhangtongjian/openvswitch-2.13.4]$
ovs-vsctl -V
ovs-vsctl (Open vSwitch) 2.13.4
DB Schema 8.2.0
[root@node08 ~]# docker exec -it -u root ovn_northd bash
(ovn-northd)[root@node08 /]# ovn-nbctl -V
ovn-nbctl 21.03.0
Open vSwitch Library 2.15.0
DB Schema 5.31.0
(ovn-northd)[root@node08 /]# ovn-sbctl -V
ovn-sbctl 21.03.0
Open vSwitch Library 2.15.0
DB Schema 20.16.1
(ovsdpdk-vswitchd)[root@node08 /root/zhangtongjian/openvswitch-2.13.4]$
ovs-vsctl list open
_uuid : 236bb95d-8911-4f58-8162-b635fb58f409
bridges : [1f7a0c91-b705-44b2-9daf-5a087b6af484,
3e104e83-897e-4fb3-8db8-dc950d5140d0, bb0d89bf-729c-43d0-9a32-3dffb9358eb0]
cur_cfg : 79
datapath_types : [netdev, system]
datapaths : {}
db_version : []
dpdk_initialized : true
dpdk_version : "DPDK 19.11.10"
external_ids : {ovn-bridge-datapath-type=netdev,
ovn-bridge-mappings="physnet1:br-ex", ovn-cms-options="enable-chassis-as-gw,
availability-zones=ztj", ovn-encap-ip="123.123.45.8", ovn-encap-type=geneve,
ovn-remote="tcp:100.7.50.68:6642,tcp:100.7.50.8:6642,tcp:100.7.50.10:6642",
ovn-remote-probe-interval="60000",
system-id="7d35377c-6fbd-5fbf-81bb-482a338e42af"}
iface_types : [dpdk, dpdkr, dpdkvhostuser, dpdkvhostuserclient,
erspan, geneve, gre, internal, ip6erspan, ip6gre, lisp, patch, stt, system,
tap, vxlan]
manager_options : []
next_cfg : 79
other_config : {dpdk-hugepage-dir="/dev/hugepages", dpdk-init="true",
dpdk-lcore-mask="0x1000100", dpdk-socket-mem="4096,4096",
emc-insert-inv-prob="1", pmd-cpu-mask="0x8000000"}
ovs_version : []
ssl : []
statistics : {}
system_type : []
system_version : []
(ovsdpdk-vswitchd)[root@node08 /root/zhangtongjian/openvswitch-2.13.4]$
ovs-appctl dpif-netdev/pmd-perf-show
Time: 09:17:12.930
Measurement duration: 16.401 s
pmd thread numa_id 1 core_id 27:
Iterations: 257678 (63.50 us/it)
- Used TSC cycles: 34360991472 ( 99.8 % of total cycles)
- idle iterations: 0 ( 0.0 % of used cycles)
- busy iterations: 257678 (100.0 % of used cycles)
Rx packets: 16411837 (1001 Kpps, 2094 cycles/pkt)
Datapath passes: 49235245 (3.00 passes/pkt)
- EMC hits: 49235242 (100.0 %)
- SMC hits: 0 ( 0.0 %)
- Megaflow hits: 0 ( 0.0 %, 0.00 subtbl lookups/hit)
- Upcalls: 3 ( 0.0 %, 0.0 us/upcall)
- Lost upcalls: 0 ( 0.0 %)
Tx packets: 16411863 (1001 Kpps)
Tx batches: 514950 (31.87 pkts/batch)
(ovsdpdk-vswitchd)[root@node08 /root/zhangtongjian/openvswitch-2.13.4]$
ovs-vsctl list open
_uuid : 236bb95d-8911-4f58-8162-b635fb58f409
bridges : [1f7a0c91-b705-44b2-9daf-5a087b6af484,
3e104e83-897e-4fb3-8db8-dc950d5140d0, bb0d89bf-729c-43d0-9a32-3dffb9358eb0]
cur_cfg : 79
datapath_types : [netdev, system]
datapaths : {}
db_version : []
dpdk_initialized : true
dpdk_version : "DPDK 19.11.10"
external_ids : {ovn-bridge-datapath-type=netdev,
ovn-bridge-mappings="physnet1:br-ex", ovn-cms-options="enable-chassis-as-gw,
availability-zones=ztj", ovn-encap-ip="123.123.45.8", ovn-encap-type=geneve,
ovn-remote="tcp:100.7.50.68:6642,tcp:100.7.50.8:6642,tcp:100.7.50.10:6642",
ovn-remote-probe-interval="60000",
system-id="7d35377c-6fbd-5fbf-81bb-482a338e42af"}
iface_types : [dpdk, dpdkr, dpdkvhostuser, dpdkvhostuserclient,
erspan, geneve, gre, internal, ip6erspan, ip6gre, lisp, patch, stt, system,
tap, vxlan]
manager_options : []
next_cfg : 79
other_config : {dpdk-hugepage-dir="/dev/hugepages", dpdk-init="true",
dpdk-lcore-mask="0x1000100", dpdk-socket-mem="4096,4096",
emc-insert-inv-prob="1", pmd-cpu-mask="0x8002000"}
ovs_version : []
ssl : []
statistics : {}
system_type : []
system_version : []
(ovsdpdk-vswitchd)[root@node08 /root/zhangtongjian/openvswitch-2.13.4]$
ovs-appctl dpif-netdev/pmd-perf-show
Time: 09:18:34.850
Measurement duration: 11.544 s
pmd thread numa_id 1 core_id 13:
Iterations: 1713176 (6.72 us/it)
- Used TSC cycles: 24186355940 ( 99.8 % of total cycles)
- idle iterations: 1451611 ( 1.8 % of used cycles)
- busy iterations: 261565 ( 98.2 % of used cycles)
Rx packets: 7869999 (682 Kpps, 3017 cycles/pkt)
Datapath passes: 23609771 (3.00 passes/pkt)
- EMC hits: 23609771 (100.0 %)
- SMC hits: 0 ( 0.0 %)
- Megaflow hits: 0 ( 0.0 %, 0.00 subtbl lookups/hit)
- Upcalls: 0 ( 0.0 %, 0.0 us/upcall)
- Lost upcalls: 0 ( 0.0 %)
Tx packets: 7870010 (682 Kpps)
Tx batches: 261717 (30.07 pkts/batch)
Time: 09:18:34.850
Measurement duration: 11.544 s
pmd thread numa_id 1 core_id 27:
Iterations: 414510 (27.79 us/it)
- Used TSC cycles: 24186397002 ( 99.8 % of total cycles)
- idle iterations: 165585 ( 0.2 % of used cycles)
- busy iterations: 248925 ( 99.8 % of used cycles)
Rx packets: 7907552 (685 Kpps, 3052 cycles/pkt)
Datapath passes: 23722656 (3.00 passes/pkt)
- EMC hits: 23722656 (100.0 %)
- SMC hits: 0 ( 0.0 %)
- Megaflow hits: 0 ( 0.0 %, 0.00 subtbl lookups/hit)
- Upcalls: 0 ( 0.0 %, 0.0 us/upcall)
- Lost upcalls: 0 ( 0.0 %)
Tx packets: 7907520 (685 Kpps)
Tx batches: 248925 (31.77 pkts/batch)
David zhang | 张同剑
CBRD | 云计算与大数据研发部
T: 18801157293
E: <mailto:[email protected]> [email protected]
浪潮电子信息产业股份有限公司
Inspur Electronic Information Industry Co.,Ltd.
郑州市郑东新区心怡路278号基运投资大厦17层
17th Floor, , No.278 Xinyi Road, Zhengzhou City
浪潮云海
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
