VirtualBox

Changeset 34643 in vbox for trunk/doc


Ignore:
Timestamp:
Dec 2, 2010 6:16:20 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68445
Message:

Manual: Add explanation of bandwidth groups

Location:
trunk/doc/manual/en_US
Files:
2 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>
  • trunk/doc/manual/en_US/user_VBoxManage.xml

    r34599 r34643  
    15201520                             --medium none|emptydrive|uuid|filename|host:&lt;drive&gt;]
    15211521                            [--passthrough on|off]
    1522                             [--forceunmount]</screen>
     1522                            [--forceunmount]
     1523                            [--bandwidthgroup name|none]</screen>
    15231524
    15241525      <para>where the parameters mean: <glosslist>
     
    16311632            </glossdef>
    16321633          </glossentry>
     1634
     1635          <glossentry>
     1636            <glossterm>bandwidthgroup</glossterm>
     1637
     1638            <glossdef>
     1639              <para>Sets the bandwidth group to use for the given device;
     1640              see see <xref linkend="storage-bandwdith-limit" /></para>
     1641            </glossdef>
     1642          </glossentry>
    16331643        </glosslist></para>
    16341644    </sect2>
     1645  </sect1>
     1646
     1647  <sect1>
     1648    <title>VBoxManage bandwidthctl</title>
     1649
     1650    <para>This command creates/deletes/modifies bandwidth groups of
     1651    the given virtual machine:</para>
     1652
     1653    <screen>VBoxManage bandwidhtctl    &lt;uuid|vmname&gt;
     1654                          --name &lt;name&gt;
     1655                          [--add disk
     1656                          [--delete]
     1657                          [--limit MB/s]</screen>
     1658
     1659    <para>where the parameters mean: <glosslist>
     1660        <glossentry>
     1661          <glossterm>uuid|vmname</glossterm>
     1662
     1663          <glossdef>
     1664            <para>The VM UUID or VM Name. Mandatory.</para>
     1665          </glossdef>
     1666        </glossentry>
     1667
     1668        <glossentry>
     1669          <glossterm>name</glossterm>
     1670
     1671          <glossdef>
     1672            <para>Name of the bandwidth group. Mandatory.</para>
     1673          </glossdef>
     1674        </glossentry>
     1675
     1676        <glossentry>
     1677          <glossterm>add</glossterm>
     1678
     1679          <glossdef>
     1680            <para>Creates a new bandwdith group with the given type.</para>
     1681          </glossdef>
     1682        </glossentry>
     1683
     1684        <glossentry>
     1685          <glossterm>delete</glossterm>
     1686
     1687          <glossdef>
     1688            <para>Deletes a bandwdith group if it isn't used anymore.</para>
     1689          </glossdef>
     1690        </glossentry>
     1691
     1692        <glossentry>
     1693          <glossterm>limit</glossterm>
     1694
     1695          <glossdef>
     1696            <para>Sets the limit for the given group to the specified amount.
     1697            Can be changed while the VM is running.</para>
     1698          </glossdef>
     1699        </glossentry>
     1700
     1701      </glosslist></para>
    16351702  </sect1>
    16361703
Note: See TracChangeset for help on using the changeset viewer.

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