Container element.
This element contains settings for how the server detects bandwidth. Set the enable attribute to true or false to turn this feature on or off.
The server can detect client bandwidth in the core server code (native) or in a server-side script (script-based). Native bandwidth detection is enabled by default and is faster than script-based because the core server code is written in C and C++.
The server detects bandwidth by sending a series of data chunks to the client, each larger than the last. You can configure the size of the data chunks, the rate at which they are sent, and the amount of time the server sends data to the client.
The following table lists the values available for the BandwidthDetection element.
|
Element |
Description |
Impact |
|---|---|---|
|
BandwidthDetection |
Set the enabled attribute to true or false to turn this feature on or off. |
|
|
MaxRate |
The maximum rate in Kbps that the server sends data to the client. The default value is -1, which sends the data at whatever rate is necessary to measure bandwidth. |
|
|
DataSize |
The amount of data in bytes that the server sends to the client. To detect the client's bandwidth, the server attempts to send a series of random blocks of data to the client, each time sending this much more data. For example, x bytes are sent, followed by 2x bytes, followed by 3x bytes, and so on until MaxWait time has elapsed. |
|
|
MaxWait |
The number of seconds the server sends data to the client. |
Increasing this number provides a more accurate bandwidth figure but also forces the client to wait longer. |
<BandwidthDetection enabled="true">
<MaxRate>-1</MaxRate>
<DataSize>16384</DataSize>
<MaxWait>2</MaxWait>
</BandwidthDetection>
Send me an e-mail when comments are added to this page | Comment Report