04.03.2013 Views

Installation and Configuration Guide for Linux® Workstations

Installation and Configuration Guide for Linux® Workstations

Installation and Configuration Guide for Linux® Workstations

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Each partition managed by the B<strong>and</strong>width Manager must have a [Device] section associated to it in the<br />

/usr/discreet/sw/cfg/sw_bwmgr.cfg file.<br />

To add a new device to the B<strong>and</strong>width Manager:<br />

1 Open the /usr/discreet/sw/cfg/sw_bwmgr.cfg file in a text editor.<br />

2 Add a new [Device] section at the end of the file, using the following syntax:<br />

TIP You may also copy <strong>and</strong> paste an existing [Device] section, <strong>and</strong> change its parameters.<br />

[Device]<br />

Path=<br />

TotalAvailableReadB<strong>and</strong>width=<br />

TotalAvailableWriteB<strong>and</strong>width=<br />

DefaultReservation=<br />

where:<br />

■ represents the number of the [Device] section, starting at 0. For example:<br />

[Device0]<br />

■ Path specifies the partition's mount point. Since a partition can have several paths, <br />

represents the number of the current path, starting at 0 <strong>for</strong> each device. For example:<br />

Path0=/mnt/XYZ<br />

Path1=/usr/local/ABC<br />

■ TotalAvailableReadB<strong>and</strong>width represents the estimated total reading b<strong>and</strong>width of the device, in<br />

megabytes per second. Based on this value, <strong>and</strong> on the amount of active reservations <strong>for</strong> the current<br />

partition, the B<strong>and</strong>width Manager decides whether new reservation requests are granted or rejected.<br />

For example:<br />

TotalAvailableReadB<strong>and</strong>width=200<br />

■ TotalAvailableWriteB<strong>and</strong>width represents the maximum estimated writing b<strong>and</strong>width of the<br />

device, in megabytes per second. If this parameter is not specified, its value defaults to the value of<br />

TotalAvailableReadB<strong>and</strong>width. For example:<br />

TotalAvailableWriteB<strong>and</strong>width=150<br />

NOTE The total b<strong>and</strong>width parameters are estimates of the theoretical maximum b<strong>and</strong>width of the<br />

partition. The actual b<strong>and</strong>width is affected by several factors, including multiple applications trying to<br />

concurrently read or write to it. The B<strong>and</strong>width Manager continuously measures partition per<strong>for</strong>mance<br />

<strong>and</strong> dynamically maintains the actual total available b<strong>and</strong>width <strong>for</strong> each partition.<br />

■ DefaultReservation sets the b<strong>and</strong>width assigned by default to applications that are denied a<br />

reservation request or that don't have individual or group reservations associated to them. The<br />

value is expressed in megabytes per second. For example:<br />

DefaultReservation=10<br />

3 After setting up all the partition parameters described above, you can start defining reservations <strong>for</strong><br />

the current partition.<br />

4 Save <strong>and</strong> close the configuration file, <strong>and</strong> restart Stone <strong>and</strong> Wire by typing:<br />

/etc/init.d/stone+wire restart<br />

Advanced <strong>Configuration</strong> <strong>and</strong> Troubleshooting | 61

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!