----- On Jan 25, 2016, at 11:04 AM, Robert Mustacchi [email protected] wrote:
> On 1/25/16 5:38 , Humberto Ramirez wrote: >> What would you say is the improvement over a standard vnic? Does it >> approach a 10G link speed? > > An etherstub is a local virtual switch. VNICs can be created on top of > it like they can be created on top of normal physical devices. > > When you're only focusing on loopback devices and virtio devices, link > speed is a red herring and you should just ignore it. Link speed only > matters when you have a physical device as that speed indicates the > upper band of the data rate that it can put on the wire. > > If you've rigged everything up over an etherstub then you'll never go > out over the physical device; however, devices will still show a link > speed, because there's really no way not to. For example, a virtio > device in a hardware virtualized guest has no way of knowing what the > link speed of the device its going out over is. It could be 100 Mbit/s, > 1 Gbit/s, 10 Gbit/s, or 40 Gbit/s, etc. and still only show the link > speed in the guest as 1 Gbit/s. > > Practically, the limits of link speed for a VNIC are based on the > underlying device or the kernel data path, so it can saturate a 10 > Gbit/s device. On the flip side, due to how the hardware virtualization > is currently implemented, it is unlikely that you will see speeds much > higher than 1 Gbit/s. would you please give an example of how one would create an etherstub (acting as a virtual switch) in such a way that the vms local to the given smartos machine would leverage that, while vms on other smartos machines would still be able to reach the vms connected to the etherstub? in vmware, the virtual switch would have connections from each of the vms in question, as well as a physical nic (or several) acting as an uplink to the rest of the physical network. is it safe to assume this would work in a similar fashion in smartos? if so, i've been doing it all wrong (for several years now) and am happy to learn the correct way to go about this. thanks to the OP for bringing up the subject, and for the great responses so far. ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
