[
https://issues.apache.org/jira/browse/CLOUDSTACK-4488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13749799#comment-13749799
]
terryye edited comment on CLOUDSTACK-4488 at 8/26/13 3:04 AM:
--------------------------------------------------------------
ethtool vnet10
Settings for vnet10:
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
the vnet speed is 10Mb/s,When using wget to test ,the download speed is 939K/s.
how to config it to 1Gb/s?
was (Author: terryye):
<interface type='bridge'>
<mac address='06:fb:f6:00:00:76'/>
<source bridge='brbond1-20'/>
<target dev='vnet9'/>
<model type='virtio'/>
<bandwidth>
<inbound average='524288' peak='524288'/> // how to config
it?
<outbound average='524288' peak='524288'/> // how to config
it?
</bandwidth>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
</interface>
> There have some error on bandwidth limits. vm's network speed is 800kbyte/s.
> ----------------------------------------------------------------------------
>
> Key: CLOUDSTACK-4488
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4488
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Hypervisor Controller, KVM, Network Controller
> Affects Versions: 4.1.2
> Environment: ubuntu1204 kvm
> Reporter: terryye
> Labels: bandwidth, kvm, limits
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> Global configs
> network.throttling.rate 40000
>
> vm.network.throttling.rate 40000
> rate limits is not set.
> But i test the vm to another nfs ,speed is so poor.
> Using wget to test ,the speed is similar.
> so i edit the global config,but it seems not any role.
> when i set it to 100000000,the vm can not be created.
> agent log is :
> 2013-08-25 15:07:54,032 WARN [kvm.resource.LibvirtComputingResource]
> (agentRequest-Handler-3:null) Exception
> org.libvirt.LibvirtException: internal error cannot set bandwidth limits on
> vnet0
> at org.libvirt.ErrorHandler.processError(Unknown Source)
> at org.libvirt.Connect.processError(Unknown Source)
> at org.libvirt.Connect.domainCreateXML(Unknown Source)
> at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startDomain(LibvirtComputingResource.java:1012)
> at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3148)
> at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1128)
> at com.cloud.agent.Agent.processRequest(Agent.java:525)
> at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
> at com.cloud.utils.nio.Task.run(Task.java:83)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:679)
> 2013-08-25 15:08:05,252 WARN [kvm.resource.LibvirtComputingResource]
> (agentRequest-Handler-1:null) Exception
> org.libvirt.LibvirtException: internal error cannot set bandwidth limits on
> vnet0
> at org.libvirt.ErrorHandler.processError(Unknown Source)
> at org.libvirt.Connect.processError(Unknown Source)
> at org.libvirt.Connect.domainCreateXML(Unknown Source)
> at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startDomain(LibvirtComputingResource.java:1012)
> at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3148)
> at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1128)
> at com.cloud.agent.Agent.processRequest(Agent.java:525)
> at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
> at com.cloud.utils.nio.Task.run(Task.java:83)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:679)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira