VirtualBox

Ignore:
Timestamp:
Dec 2, 2010 6:16:20 PM (14 years ago)
Author:
vboxsync
Message:

Manual: Add explanation of bandwidth groups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/user_Storage.xml

    r34076 r34643  
    946946    </sect2>
    947947  </sect1>
     948
     949  <sect1 id="storage-bandwidth-limit">
     950    <title>Limiting banwidth for disk images</title>
     951    <para>VirtualBox allows limiting the maximum bandwidth used for asynchronous
     952    I/O. Additionally it supports sharing limits through bandwidth groups for
     953    several images. It is possible to have more than limit.
     954    The limits can be configured through <computeroutput>VBoxManage</computeroutput>.
     955    The example below creates a bandwidth group named "Limit" and sets the limit
     956    to 20 MB/s and assigns the group to the attached disks of the VM:
     957    <screen>VBoxManage bandwidthctl "VM name" --name Limit --add disk --limit 20
     958VBoxManage storageattach "VM name" --controller "SATA" --port 0 --device 0 --type hdd
     959                                   --medium disk1.vdi --bandwidthgroup Limit
     960VBoxManage storageattach "VM name" --controller "SATA" --port 1 --device 0 --type hdd
     961                                   --medium disk2.vdi --bandwidthgroup Limit</screen>
     962
     963    <para>Both disks will share the bandwidth limit meaning that the used bandwidth of
     964    both can never exceed 20 MB/s. However if one disk doesn't require bandwidth
     965    the other can use everything.</para>
     966
     967    <para>The limits for each group can be changed while the VM is running.
     968    The VM will pick up the new limit immediately in that case.
     969    The example below changes the limit for the group created in the example
     970    above to 10 MB/s:
     971    <screen>VBoxManage bandwidthctl "VM name" --name Limit --limit 10</screen></para>
     972    </para>
     973  </sect1>
    948974</chapter>
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette