VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/storage-bandwidth-limit.dita@ 105939

最後變更 在這個檔案從105939是 105335,由 vboxsync 提交於 7 月 前

FE/Qt: bugref:10705. Merging r6149 from doc team's repo.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id Revision
檔案大小: 1.9 KB
 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE topic
3 PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
4<topic xml:lang="en-us" id="storage-bandwidth-limit">
5 <title>Limiting Bandwidth for Disk Images</title>
6
7 <body>
8 <p><ph conkeyref="vbox-conkeyref-phrases/product-name"/> supports limiting of the maximum bandwidth used
9 for asynchronous I/O. Additionally it supports sharing limits through bandwidth groups for several images. It is
10 possible to have more than one such limit. </p>
11 <p>Limits are configured using <userinput>VBoxManage</userinput>. The example below creates a bandwidth
12 group named Limit, sets the limit to 20 MB per second, and assigns the group to the attached disks of the VM: </p>
13 <pre xml:space="preserve">VBoxManage bandwidthctl "VM name" add Limit --type disk --limit 20M
14VBoxManage storageattach "VM name" --storagectl "SATA" --port 0 --device 0 --type hdd
15 --medium disk1.vdi --bandwidthgroup Limit
16VBoxManage storageattach "VM name" --storagectl "SATA" --port 1 --device 0 --type hdd
17 --medium disk2.vdi --bandwidthgroup Limit</pre>
18 <p>All disks in a group share the bandwidth limit, meaning that in the example above the bandwidth of
19 both images combined can never exceed 20 MBps. However, if one disk does not require bandwidth the other can use
20 the remaining bandwidth of its group. </p>
21 <p>The limits for each group can be changed while the VM is running, with changes being picked up
22 immediately. The example below changes the limit for the group created in the example above to 10 MBps: </p>
23 <pre xml:space="preserve">VBoxManage bandwidthctl "VM name" set Limit --limit 10M</pre>
24 </body>
25
26 </topic>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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