Communication Performance Problems

Performance problems are normally indicated when response times seem slower than usual, or when it takes an excessively long time to send a given amount of data from one place to another. Before examining how traces (X.25/LAPB or Raw Sync) and statistics (X.25/LAPB or Raw Sync) can be used to find a throughput problem, consider these questions:


Communication Line Problems

The software provides a number of indications that there may be a faulty facility (communications line) between the SyncSwitch 1000 and the device to which it is connected.

Numerous frames arriving with CRC errors and abort sequences indicate that the data from the remote system is not arriving error-free. This may be a result of a "noisy" line where some kind of electrical interference in the path causes data to be altered during transmission.

For X.25 and LAPB links, frame level statistics also provide clues to the quality of the signals exchanged on the communications circuit. T1 timeouts, REJ frames transmitted and received, and abort sequences transmitted are all mechanisms used for recovering from CRC errors. If these counts are constantly incrementing (a few times per second), there is likely to be a facility problem which is having a detrimental effect on throughput.


Insufficient Buffer Space (X.25 and LAPB)

When a frame-level RNR is received, it indicates that the remote node is having problems with the data flow, because data is being supplied faster than the remote system can handle it. You need to discuss this with your network service provider.

If the remote system does not implement the RNR response to an I frame, insufficient buffer space on the part of the remote system may manifest itself by window closure. When this occurs, you will see the local node send a window's worth of I frames (k frames) without receiving any frames which rotate the frame level window. You'll see this in the frame log if there are "k" I frames transmitted ("I(r,s) hh hh hh . . . ") with incrementing values for "s", BUT the received "RR(r)" and/or I-frames will show a constant value for "r".

Some equipment does neither of these things. When the switch decides that it has insufficient buffer space, it clears some of the calls that are up, giving network congestion as the reason code. Such behaviour represents an incorrect implementation of X.25 and should be discussed with your network provider.


Link Too Slow

If performance problems are associated with increased traffic, it may be that the link is overloaded. To assess whether you need a faster link, use the procedure described below. Note that this procedure represents a set of general guidelines. If you are new to data communications, you may wish to obtain the assistance of an experienced communications analyst.

  1. Obtain a watch with a second hand.
  2. Set up whatever combination of applications are required in your environment to recreate the performance problem.
  3. Calculate your link speed in bytes per second (for example, a 9600 bps link translates to 1200 bytes per second).
  4. Look at the Device Level Statistics (X.25 and LAPB or (Raw Sync) and record the Bytes Transmitted OK value.
  5. Record the time on your watch (seconds only).
  6. Repeat the previous two steps for "bytes received" (Reception Statistics).
  7. Repeat both measurements several times over the course of the next few minutes.
  8. Examine the statistics (X.25 and LAPB or (Raw Sync) to ensure that there are no excessive error counts or abnormal protocol sequences.
  9. Using the recorded times and byte counts, calculate average throughput per second for both the inbound and outbound sides of the link (divide total byte count by total seconds).
  10. Determine what percentage of maximum theoretical throughput this number represents (divide the number by link speed and multiply by 100).
    If your calculated percentage is in the 90 to 100 percent range, it is likely that your link speed is too slow for your traffic requirements.

If your performance problem is poor response time, keep in mind that interactive response times, while dependent on many factors, are rarely fast when messages have to traverse heavily utilized links. You may wish to experiment with link utilizations as low as 35%, depending on message lengths, to achieve your response time targets.

Always bear in mind when using shared packet networks, that the source of performance problems may be your local link, the remote link, or the internal packet network itself. Furthermore if you are running sessions across interconnected packet networks, additional delays may be imposed by the network "gateway". If you have eliminated your local WAN link as a source of performance degradation, these are other avenues to pursue.


Revision 6.3.0 (April 2004)

Copyright © 1997-2004 The Software Group Limited. All Rights Reserved.