Bandiwdth limit on a Virtual Machine

Hello. Is there any limitation of bandwidth for a Virtual Machine per default ? I have a host with a bonding of 3 x 1Gb and the VM is connected to that bonding. On the Engine interface on the VM status I see "Network" and it has a percentage and a tiny graph. What that percentage is related to ? 1Gb ? 3Gb ? 10Gb ? Is there anything that has to be done in order the VM can achieve speeds over 1Gbps ? Fernando

On Mon, Feb 13, 2017 at 6:25 PM, Fernando Frediani < fernando.frediani@upx.com.br> wrote:
Hello.
Is there any limitation of bandwidth for a Virtual Machine per default ?
I have a host with a bonding of 3 x 1Gb and the VM is connected to that bonding. On the Engine interface on the VM status I see "Network" and it has a percentage and a tiny graph. What that percentage is related to ? 1Gb ? 3Gb ? 10Gb ?
Is there anything that has to be done in order the VM can achieve speeds over 1Gbps ?
To the external network, you cannot easily achieve >1Gb, unless you open multiple connections that will go over multiple physical NICs. It depends on the bond hashing policy. layer3+4 might make it easier to achieve. This is not very different than a connection from the host. (I think UDP should be easier, but it's less interesting?) VM to VM traffic should easily overcome 1Gbps. Y.
Fernando
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

This is a multi-part message in MIME format. --------------0B7C96C298279BBF104A7EDC Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello Yaniv. Yes that exactly the bonding hash I am using layer3+4. I have another server where I run simple libvirt/KVM in a similar scenario e it does balance the traffic well between all physical interfaces on the host as there are many individual connections to the VM. But my question was if there was anything that hard limit any VM traffic to 1Gb unless you change and also what the speed the is shown on the interface is related to ? 1Gb, 10Gb or if you can set that specifically ? Fernando On 13/02/2017 16:25, Yaniv Kaul wrote:
On Mon, Feb 13, 2017 at 6:25 PM, Fernando Frediani <fernando.frediani@upx.com.br <mailto:fernando.frediani@upx.com.br>> wrote:
Hello.
Is there any limitation of bandwidth for a Virtual Machine per default ?
I have a host with a bonding of 3 x 1Gb and the VM is connected to that bonding. On the Engine interface on the VM status I see "Network" and it has a percentage and a tiny graph. What that percentage is related to ? 1Gb ? 3Gb ? 10Gb ?
Is there anything that has to be done in order the VM can achieve speeds over 1Gbps ?
To the external network, you cannot easily achieve >1Gb, unless you open multiple connections that will go over multiple physical NICs. It depends on the bond hashing policy. layer3+4 might make it easier to achieve. This is not very different than a connection from the host. (I think UDP should be easier, but it's less interesting?)
VM to VM traffic should easily overcome 1Gbps. Y.
Fernando
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
--------------0B7C96C298279BBF104A7EDC Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <p>Hello Yaniv.</p> <p>Yes that exactly the bonding hash I am using layer3+4.</p> <p>I have another server where I run simple libvirt/KVM in a similar scenario e it does balance the traffic well between all physical interfaces on the host as there are many individual connections to the VM.</p> <p>But my question was if there was anything that hard limit any VM traffic to 1Gb unless you change and also what the speed the is shown on the interface is related to ? 1Gb, 10Gb or if you can set that specifically ?</p> <p>Fernando<br> </p> <br> <div class="moz-cite-prefix">On 13/02/2017 16:25, Yaniv Kaul wrote:<br> </div> <blockquote cite="mid:CAJgorsZfYt9BkO6T28Kj3TS4AWxA_xB4Wpdq1GnC+6=zZFZRJA@mail.gmail.com" type="cite"> <div dir="ltr"><br> <div class="gmail_extra"><br> <div class="gmail_quote">On Mon, Feb 13, 2017 at 6:25 PM, Fernando Frediani <span dir="ltr"><<a moz-do-not-send="true" href="mailto:fernando.frediani@upx.com.br" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:fernando.frediani@upx.com.br">fernando.frediani@upx.com.br</a></a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div dir="ltr"> <div> <div> <div> <div>Hello.<br> <br> </div> Is there any limitation of bandwidth for a Virtual Machine per default ?<br> <br> </div> I have a host with a bonding of 3 x 1Gb and the VM is connected to that bonding. On the Engine interface on the VM status I see "Network" and it has a percentage and a tiny graph. What that percentage is related to ? 1Gb ? 3Gb ? 10Gb ?<br> <br> </div> Is there anything that has to be done in order the VM can achieve speeds over 1Gbps ?</div> </div> </blockquote> <div><br> </div> <div>To the external network, you cannot easily achieve >1Gb, unless you open multiple connections that will go over multiple physical NICs. It depends on the bond hashing policy. layer3+4 might make it easier to achieve. This is not very different than a connection from the host. (I think UDP should be easier, but it's less interesting?)</div> <div><br> </div> <div>VM to VM traffic should easily overcome 1Gbps.</div> <div>Y.</div> <div> </div> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div dir="ltr"> <div><span class="HOEnZb"><font color="#888888"><br> <br> </font></span></div> <span class="HOEnZb"><font color="#888888">Fernando<br> </font></span></div> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a moz-do-not-send="true" href="mailto:Users@ovirt.org">Users@ovirt.org</a><br> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br> <br> </blockquote> </div> <br> </div> </div> </blockquote> <br> </body> </html> --------------0B7C96C298279BBF104A7EDC--

On Mon, Feb 13, 2017 at 8:30 PM, Fernando Frediani < fernando.frediani@upx.com.br> wrote:
Hello Yaniv.
Yes that exactly the bonding hash I am using layer3+4.
I have another server where I run simple libvirt/KVM in a similar scenario e it does balance the traffic well between all physical interfaces on the host as there are many individual connections to the VM.
But my question was if there was anything that hard limit any VM traffic to 1Gb unless you change and also what the speed the is shown on the interface is related to ? 1Gb, 10Gb or if you can set that specifically ?
Nope, no limit. It's just when virtio was invented they needed to give it some speed (to show in Windows, ethtool, etc.) and 1Gb seemed like a good nice number. It's not enforced anywhere. Y.
Fernando
On 13/02/2017 16:25, Yaniv Kaul wrote:
On Mon, Feb 13, 2017 at 6:25 PM, Fernando Frediani < <fernando.frediani@upx.com.br>fernando.frediani@upx.com.br> wrote:
Hello.
Is there any limitation of bandwidth for a Virtual Machine per default ?
I have a host with a bonding of 3 x 1Gb and the VM is connected to that bonding. On the Engine interface on the VM status I see "Network" and it has a percentage and a tiny graph. What that percentage is related to ? 1Gb ? 3Gb ? 10Gb ?
Is there anything that has to be done in order the VM can achieve speeds over 1Gbps ?
To the external network, you cannot easily achieve >1Gb, unless you open multiple connections that will go over multiple physical NICs. It depends on the bond hashing policy. layer3+4 might make it easier to achieve. This is not very different than a connection from the host. (I think UDP should be easier, but it's less interesting?)
VM to VM traffic should easily overcome 1Gbps. Y.
Fernando
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Thanks for the clarification Yaniv. Perhaps at some point we can set this value manually to reflect in the interface the maximum the VM can do either limited by the Host Nic or QoS. Regards, Fernando 2017-02-13 17:58 GMT-02:00 Yaniv Kaul <ykaul@redhat.com>:
On Mon, Feb 13, 2017 at 8:30 PM, Fernando Frediani < fernando.frediani@upx.com.br> wrote:
Hello Yaniv.
Yes that exactly the bonding hash I am using layer3+4.
I have another server where I run simple libvirt/KVM in a similar scenario e it does balance the traffic well between all physical interfaces on the host as there are many individual connections to the VM.
But my question was if there was anything that hard limit any VM traffic to 1Gb unless you change and also what the speed the is shown on the interface is related to ? 1Gb, 10Gb or if you can set that specifically ?
Nope, no limit. It's just when virtio was invented they needed to give it some speed (to show in Windows, ethtool, etc.) and 1Gb seemed like a good nice number. It's not enforced anywhere. Y.
Fernando
On 13/02/2017 16:25, Yaniv Kaul wrote:
On Mon, Feb 13, 2017 at 6:25 PM, Fernando Frediani < <fernando.frediani@upx.com.br>fernando.frediani@upx.com.br> wrote:
Hello.
Is there any limitation of bandwidth for a Virtual Machine per default ?
I have a host with a bonding of 3 x 1Gb and the VM is connected to that bonding. On the Engine interface on the VM status I see "Network" and it has a percentage and a tiny graph. What that percentage is related to ? 1Gb ? 3Gb ? 10Gb ?
Is there anything that has to be done in order the VM can achieve speeds over 1Gbps ?
To the external network, you cannot easily achieve >1Gb, unless you open multiple connections that will go over multiple physical NICs. It depends on the bond hashing policy. layer3+4 might make it easier to achieve. This is not very different than a connection from the host. (I think UDP should be easier, but it's less interesting?)
VM to VM traffic should easily overcome 1Gbps. Y.
Fernando
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Fernando Frediani
-
Yaniv Kaul