r/openstack • u/satishdotpatel • Aug 10 '20
OpenVswitch vs LinuxBridge
I am sure if you google you will find lots of article about this to virtual network components but still i would like to ask this question to large audience to see what they are thinking about this in production deployment.
I am using LinuxBridge and extremely happy with simplicity and performance but when i am reading in blogs or any where in web i am finding all example pointing to OpenVSwitch and most of deployment talk about OpenvSwitch. I know openvswitch provide lots of features which might not useful for me and again those features comes with complexity and bugs.
what do you guys prefer in your cloud environment when you planning to deploy in your datacenter and why do you pick OV vs LB ?
3
1
u/Gnump Aug 10 '20
I am still waiting to see the benefits of using ovs when you dont want to use dvr because of ipv6 support ( or the lack thereof)
1
Aug 10 '20
Theres a difference between using legacy ovs vs the newly supported ovs with a central db. i use the legacy ovs with all the bells and whistles as theres a lot not readily available ib the new ovn style system
1
u/The_Valyard Aug 10 '20
Give this a watch:
Keep in mind these are intentionally untuned which for things like dpdk hurt it badly.
0
Aug 10 '20
[deleted]
1
u/satishdotpatel Aug 11 '20
I am running very large private cloud almost 600 compute nodes and fully SRIOV support with LinuxBridge (I build this for simplicity because during that time i was new but now i have pretty good hold on deployment and operation so thinking should i move to OVS in new datacenter or stick with LinuxBridge, We run network intensive application which required SR-IOV but its painful to run because lots of limitation, like it doesn't support security group, you can't monitor interface counter from host, not supporting nic bonding etc.. so started thinking about DPDK (only OVS support dpdk) but again OVS isn't fun to run and troubleshoot still it has some nasty bugs. (DVR is good but very complex when it come to troubleshooting south-north traffic flow also it consume lots of public IP because each compute node need SNAT vip, not sure if current deployment is changed nowadays)
1
u/hevisko Dec 24 '22
(only OVS support dpdk) but again OVS isn't fun to run and troubleshoot still it has some nasty bugs.
What are these "nasty bugs" everybody talks about, but nobody references?
2
u/satishdotpatel Dec 26 '22
There were use to be a bugs, like lockup of switch during upgrade etc. I don’t think they exist anymore now. OVN is getting default deployment of openstack.
3
u/lunar_bear Aug 10 '20
This is not entirely correct. You can use linuxbridge with DVR so long as your nova-compute nodes have neutron L3 agents running in dvr_no_external mode, and neutron network nodes running in dvr_snat mode. We do this, it works. Primary benefit of linuxbridge over OVS is sheer simplicity.
1
u/Phoebe5ell Aug 10 '20
I don't disagree-that said, I've run OVS since like Icehouse. I always used a linux kernel bridge when doing KVM/libvirt "by-hand" back in they day before I used OpenStack. Minor bug/problem here or there if memory serves, but nothing that was more than a hiccup-Hiccups were more an issue with older Neutron's honestly that wouldn't dynamically rebuild networks. Might also be easier to mange than using ebtables, and/or dropping traffic to broute.
1
u/emccormickva Aug 11 '20
For better or worse, there is a movement toward eventually deprecating LinuxBridge support because there are very few resources to maintain it. OVN appears to he the future, and OVS should continue to be supported as well.