<html><body><div style="font-family: trebuchet ms,sans-serif; font-size: 10pt; color: #000000"><div>If you are using virtio as the network adapter model for your VMs then you will see the interface speed reported as 10MB interfaces (virtio has no limit, and is reported falsely in most tools).  </div><div><br></div><div>You can run a bandwidth test between 2 VMs (or from a VM to another system in your infrastructure) using a tool like iperf to validate.  Here's a good blog post that gives a brief overview on how to use it:</div><div><br></div><div><a href="http://linux.cloudibee.com/2009/02/iperf-network-throughput-measurement-tool/" data-mce-href="http://linux.cloudibee.com/2009/02/iperf-network-throughput-measurement-tool/">http://linux.cloudibee.com/2009/02/iperf-network-throughput-measurement-tool/</a></div><div><br></div><div>If using CentOS/RHEL, EPEL has this tool.  I believe it is in the Ubuntu/Debian default repositories.</div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Shek Mohd Fahmi Abdul Latip" <fahmi.latip@mimos.my><br><b>To: </b>users@lists.opennebula.org<br><b>Cc: </b>"Hadi Noira Omar" <hadi.omar@mimos.my>, "Shahrin Mohamad Fuzi" <shahrin.fuzi@mimos.my><br><b>Sent: </b>Thursday, September 26, 2013 6:52:15 AM<br><b>Subject: </b>[one-users] OpenvSwitch intergration<br><div><br></div><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style><div>Hi experts,</div><div> </div><div>I’m integrating OpenvSwitch with Opennebula. The good news is, they work beautifully together <span face="Wingdings" data-mce-style="font-family: Wingdings;" style="font-family: Wingdings;">J</span>. Bad news is very less documentation available for OpenvSwitch. Then I have doubt on the new setup of OpenvSwitch. When I deploying VM through Opennebula, it created vnet as expected. Somehow the speed of it downgraded to 10MB-FD compare what I have on physical hardware, 1GB-FD. Could someone please advise me how to ensure that vnet speed same at physical network card? Here is my current configuration:</div><div> </div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;"># ovs-vsctl show</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">8167368c-a8f8-41dd-beab-7984a3e63ddb</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">    Bridge "ovsbr0"</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">        Port "ovsbr0"</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">            Interface "ovsbr0"</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">                type: internal</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">        Port "vnet1"</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">            tag: 407</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">            Interface "vnet1"</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">        Port "ovsbond0"</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">            Interface "eth1"</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">            Interface "eth0"</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">        Port "vnet0"</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">            tag: 264</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">            Interface "vnet0"</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">    ovs_version: "1.10.0"</span></span></div><div> </div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;"># ovs-appctl bond/show</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">---- ovsbond0 ----</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">bond_mode: active-backup</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">bond-hash-basis: 0</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">updelay: 0 ms</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">downdelay: 0 ms</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">lacp_status: negotiated</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;"> </span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">slave eth0: enabled</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">        may_enable: true</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;"> </span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">slave eth1: enabled</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">        active slave</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">        may_enable: true</span></span></div><div> </div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;"># ovs-ofctl show ovsbr0</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">OFPT_FEATURES_REPLY (xid=0x2): dpid:0000e8393524b2b6</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">n_tables:254, n_buffers:256</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;"> 1(eth0): addr:e8:39:35:24:b2:b6</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     config:     0</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     state:      0</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     current:    1GB-FD COPPER AUTO_NEG</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD AUTO_NEG</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     <span style="background-color:lime;" data-mce-style="background-color: lime;">speed: 1000 Mbps now, 1000 Mbps max</span></span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;"> 2(eth1): addr:e8:39:xx:xx:xx:xx</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     config:     0</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     state:      0</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     current:    1GB-FD COPPER AUTO_NEG</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD AUTO_NEG</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     <span style="background-color:lime;" data-mce-style="background-color: lime;">speed: 1000 Mbps now, 1000 Mbps max</span></span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;"> 11(vnet0): addr:fe:00:xx:xx:xx:xx</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     config:     0</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     state:      0</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     <span style="background-color:yellow;" data-mce-style="background-color: yellow;">current:    10MB-FD COPPER</span></span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     speed: 10 Mbps now, 0 Mbps max</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;"> 12(vnet1): addr:fe:00:xx:xx:xx:xx</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     config:     0</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     state:      0</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     <span style="background-color:yellow;" data-mce-style="background-color: yellow;">current:    10MB-FD COPPER</span></span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     speed: 10 Mbps now, 0 Mbps max</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;"> LOCAL(ovsbr0): addr:e8:39:xx:xx:xx:xx</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     config:     0</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     state:      0</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">     speed: 0 Mbps now, 0 Mbps max</span></span></div><div><span face="Lucida Console" size="2" data-mce-style="font-family: 'Lucida Console'; font-size: small;" style="font-family: 'Lucida Console'; font-size: small;"><span style="font-size:9pt;" data-mce-style="font-size: 9pt;">OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0</span></span></div><div> </div><div> </div><div>Best regards,</div><div>.fahmie</div><div> </div><div> </div><div> </div><p>------------------------------------------------------------------<br> -<br> -<br> DISCLAIMER: <br> <br> This e-mail (including any attachments) is for the addressee(s) <br> only and may contain confidential information. If you are not the <br> intended recipient, please note that any dealing, review, <br> distribution, printing, copying or use of this e-mail is strictly <br> prohibited. If you have received this email in error, please notify <br> the sender immediately and delete the original message. <br> MIMOS Berhad is a research and development institution under <br> the purview of the Malaysian Ministry of Science, Technology and <br> Innovation. Opinions, conclusions and other information in this e-<br> mail that do not relate to the official business of MIMOS Berhad <br> and/or its subsidiaries shall be understood as neither given nor <br> endorsed by MIMOS Berhad and/or its subsidiaries and neither <br> MIMOS Berhad nor its subsidiaries accepts responsibility for the <br> same. All liability arising from or in connection with computer <br> viruses and/or corrupted e-mails is excluded to the fullest extent <br> permitted by law.<br> <br> <br></p><br>_______________________________________________<br>Users mailing list<br>Users@lists.opennebula.org<br>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org<br></div><div><br></div></div>
<br><html><body><b>NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies.</b></body></html>

<br></body></html>