Virsh Bandbreiten beschränkung Network: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „<pre> <network> <name>route</name> <forward mode='route'/> <bridge name='virbr0-route'/> <mac address='52:54:10:08:28:fb'/> <bandwidth> <inbound…“)
 
 
Zeile 11: Zeile 11:
 
   </network>
 
   </network>
 
</pre>
 
</pre>
 +
*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.

Aktuelle Version vom 17. Oktober 2017, 18:09 Uhr

<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.