If you have a slow network, with either low bandwidth or high latency causing slow response times, you may want to increase the compression of the data sent between Microsoft Dynamics AX clients and servers.

Decreasing the data size in each client/server request or response can greatly reduce transmission time because of:

  • Better use of limited bandwidth.

  • Decreased chance of bit errors.

  • Decreased chance of exceeding TCP window size.

The TCP window size is the amount of data received (in bytes) that can be buffered at one time on a connection. The sending host can send only that amount of data before waiting for an acknowledgment and window update from the receiving host.

If the size per client/server request or response is kept below the TCP window size, the sender does not have to wait for an acknowledgment (ACK) when the window size is exceeded. If exceeding the TCP window size cannot be avoided, making as few TCP round trips as possible for each client/server request or response is important.

  1. Open the Server Configuration utility ( Start> Control Panel> Administrative Tools> Microsoft Dynamics AX Server Configuration Utility).

  2. Verify that the currently selected Application Object Server (AOS) instance and configuration are the ones you want to modify.

  3. In the Minimum packet size to compress (in KB)field, choose a packet size.

    Choose the smallest useful packet size to compress. The larger the packet size chosen, the smaller the gains in performance.