Anyone who can help me with this, or can point to a more relevant forum.
From: [email protected]
[mailto:[email protected]] On Behalf Of Arslan, Alp - Dell
Team
Sent: Friday, August 4, 2017 8:16 PM
To: [email protected]
Subject: [ovs-discuss] OVS-DPDK OVS port on dpdk bridge
Hi,
I was experimenting with OVS-DPDK based deployment of OpenStack (using
tripleo). In the documentation that I followed they suggested to use different
datapaths for control plane networks and tenant (VM) networks. For control
plane networks Linux bonds were used. While experimenting I deployed the
OpenStack with internal api network (a control plane network) on OVS-DPDK, to
my surprise the network was working. But after testing it out I found out it
was giving very poor performance, around 150 -250 Mbits/s on a 20 Gbits/s
bonded network. While the networks on Linux bond were working fine. Now after
reading a lot of answers on mailing list I couldn't find the answer to this
question. Other than a casual mention that it's a rule of thumb to not use
kernel and dpdk datapath ports on the same bridge. Also using the ethtool I
found that the tagged vLAN network that I created over dpdk bridge is showing a
link speed of 10 Mb/s. Can someone please explain what's happening here.
[root@compute-0 ~]# ovs-ofctl show br-tenant
OFPT_FEATURES_REPLY (xid=0x2): dpid:0000246e961158a2
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src
mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst
1(dpdk0): addr:24:6e:96:11:58:a2
config: 0
state: 0
current: 10GB-FD
speed: 10000 Mbps now, 0 Mbps max
2(dpdk1): addr:a0:36:9f:9b:75:12
config: 0
state: 0
current: 10GB-FD
speed: 10000 Mbps now, 0 Mbps max
3(vlan140): addr:1e:06:26:db:85:8c
config: 0
state: 0
current: 10MB-FD COPPER
speed: 10 Mbps now, 0 Mbps max
4(phy-br-tenant): addr:7e:d6:f6:ba:60:aa
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
LOCAL(br-tenant): addr:24:6e:96:11:58:a2
config: 0
state: 0
current: 10MB-FD COPPER
speed: 10 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
[root@compute-0 ~]# ethtool vlan140
Settings for vlan140:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 10Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
MDI-X: Unknown
Current message level: 0xffffffa1 (-95)
drv ifup tx_err tx_queued intr tx_done rx_status
pktdata hw wol 0xffff8000
Link detected: yes
[root@compute-0 ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: em3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 24:6e:96:11:58:a4 brd ff:ff:ff:ff:ff:ff
inet 192.168.120.18/24 brd 192.168.120.255 scope global em3
valid_lft forever preferred_lft forever
inet6 fe80::266e:96ff:fe11:58a4/64 scope link
valid_lft forever preferred_lft forever
3: em1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0
state UP qlen 1000
link/ether 24:6e:96:11:58:a0 brd ff:ff:ff:ff:ff:ff
4: em4: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen
1000
link/ether 24:6e:96:11:58:a5 brd ff:ff:ff:ff:ff:ff
6: p3p1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0
state UP qlen 1000
link/ether 24:6e:96:11:58:a0 brd ff:ff:ff:ff:ff:ff
8: p2p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether a0:36:9f:ac:a9:04 brd ff:ff:ff:ff:ff:ff
inet6 fe80::a236:9fff:feac:a904/64 scope link
valid_lft forever preferred_lft forever
9: p2p2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether a0:36:9f:ac:a9:06 brd ff:ff:ff:ff:ff:ff
inet6 fe80::a236:9fff:feac:a906/64 scope link
valid_lft forever preferred_lft forever
10: p1p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether a0:36:9f:7c:1d:a4 brd ff:ff:ff:ff:ff:ff
inet6 fe80::a236:9fff:fe7c:1da4/64 scope link
valid_lft forever preferred_lft forever
11: p1p2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether a0:36:9f:7c:1d:a6 brd ff:ff:ff:ff:ff:ff
inet6 fe80::a236:9fff:fe7c:1da6/64 scope link
valid_lft forever preferred_lft forever
12: ovs-netdev: <BROADCAST,PROMISC> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 06:94:79:00:e8:af brd ff:ff:ff:ff:ff:ff
13: br-int: <BROADCAST,PROMISC> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 96:67:93:64:75:40 brd ff:ff:ff:ff:ff:ff
14: br-ex: <BROADCAST,PROMISC> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether f2:54:f8:fa:26:4a brd ff:ff:ff:ff:ff:ff
15: br-tun: <BROADCAST,PROMISC> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether a6:40:37:20:d7:45 brd ff:ff:ff:ff:ff:ff
16: vlan140: <BROADCAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UNKNOWN qlen 1000
link/ether 1e:06:26:db:85:8c brd ff:ff:ff:ff:ff:ff
inet 192.168.140.15/24 brd 192.168.140.255 scope global vlan140
valid_lft forever preferred_lft forever
inet6 fe80::1c06:26ff:fedb:858c/64 scope link
valid_lft forever preferred_lft forever
17: br-tenant: <BROADCAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UNKNOWN qlen 1000
link/ether 24:6e:96:11:58:a2 brd ff:ff:ff:ff:ff:ff
inet6 fe80::266e:96ff:fe11:58a2/64 scope link
valid_lft forever preferred_lft forever
18: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP qlen 1000
link/ether 24:6e:96:11:58:a0 brd ff:ff:ff:ff:ff:ff
inet6 fe80::266e:96ff:fe11:58a0/64 scope link
valid_lft forever preferred_lft forever
19: vlan130@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP qlen 1000
link/ether 24:6e:96:11:58:a0 brd ff:ff:ff:ff:ff:ff
inet 192.168.130.15/24 brd 192.168.130.255 scope global vlan130
valid_lft forever preferred_lft forever
inet6 fe80::266e:96ff:fe11:58a0/64 scope link
valid_lft forever preferred_lft forever
20: vlan170@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP qlen 1000
link/ether 24:6e:96:11:58:a0 brd ff:ff:ff:ff:ff:ff
inet 192.168.170.15/24 brd 192.168.170.255 scope global vlan170
valid_lft forever preferred_lft forever
inet6 fe80::266e:96ff:fe11:58a0/64 scope link
valid_lft forever preferred_lft forever
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss