Contents Index Compress connection parameter [COMP] ConnectionName connection parameter [CON]

ASA Database Administration Guide
  Connection and Communication Parameters
    Connection parameters

CompressionThreshold connection parameter [COMPTH]


Function 

To increase or decrease the size limit at which packets are compressed. Changing the compression threshold can help performance of a compressed connection by allowing you to only compress packets when compression will increase the speed at which the packets are transferred.

Usage 

Anywhere except TDS. Only applies to compressed connections.

Values 

Integer, representing the minimum byte-size of packets to be compressed. Values less than 80 are not recommended.

If both client and server specify different compression threshold settings, the client setting applies.

Default 

120

If no CompressionThreshold value is set, the compression threshold value is controlled by the setting on the server, which defaults to 120 bytes.

Description 

When compression is enabled, individual packets may or may not be compressed, depending on their size. For example, Adaptive Server Anywhere does not compress packets smaller than the compression threshold, even if communication compression is enabled. As well, small packets (less than about 100 bytes) usually do not compress at all. Since CPU time is required to compress packets, attempting to compress small packets could actually decrease performance.

Generally speaking, lowering the compression threshold value may improve performance on very slow networks, while raising the compression threshold may improve performance by reducing CPU. However, since lowering the compression threshold value will increase CPU usage on both the client and server, a performance analysis should be done to determine whether or not changing the compression threshold is beneficial.

Example 
CompressionThreshold=100
See also 

-pt server option

Adjusting communication compression settings to improve performance


Contents Index Compress connection parameter [COMP] ConnectionName connection parameter [CON]