Virsh Bandbreiten beschränkung Network

Aus Xinux Wiki
Version vom 17. Oktober 2017, 18:09 Uhr von Thomas (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen
<network>
  <name>route</name>
  <forward mode='route'/>
  <bridge name='virbr0-route'/>
  <mac address='52:54:10:08:28:fb'/>
  <bandwidth>
    <inbound average='1000' peak='5000' burst='5120'/>
    <outbound average='128' peak='256' burst='256'/>
    </bandwidth>
  </network>
  • average

Specifies the desired average bit rate for the interface being shaped (in kilobytes/second).

  • peak

Optional attribute which specifies the maximum rate at which the bridge can send data (in kilobytes/second). Note the limitation of implementation: this attribute in the outbound element is ignored (as Linux ingress filters don't know it yet).

  • burst

Optional attribute which specifies the amount of kilobytes that can be transmitted in a single burst at peak speed.