...
(device
(vif
)
)
...
To add a maximum transfer rate, add a parameter rate to this configuration as in:
...
(device
(vif
)
)
...
Note, that the rate is either Mb/s (megabit per second) or MB/s (megabyte per second).
In the above example, the maximum transfer rate of the virtual interface is 100 megabit.
By default, there is no limitation to the bandwidth of a guest to the virtual bridge.
It is even possible to fine tune the behavior by specifying the time window that is used
to define the granularity of the credit replenishment:
...
(device
(vif
)
)
...
54
Virtualization with Xen
(bridge br0)
(mac 00:16:3e:4f:94:a9)
(backend 0)
(uuid bf840a86-6aa9-62df-f8df-a7cf8c192c24)
(script /etc/xen/scripts/vif-bridge)
(bridge br0)
(mac 00:16:3e:4f:94:a9)
(rate 100Mb/s)
(backend 0)
(uuid bf840a86-6aa9-62df-f8df-a7cf8c192c24)
(script /etc/xen/scripts/vif-bridge)
(bridge br0)
(mac 00:16:3e:4f:94:a9)
(rate 100Mb/s@20ms)
(backend 0)
(uuid bf840a86-6aa9-62df-f8df-a7cf8c192c24)
(script /etc/xen/scripts/vif-bridge)
Need help?
Do you have a question about the SUSE LINUX ENTERPRISE DESKTOP 11 SP1 - 8-18-2010 VIRTUALIZATION WITH ZEN and is the answer not in the manual?
Questions and answers