Rate This Document
Findability
Accuracy
Completeness
Readability

Tuning Guidelines

The system performance varies depending on the hardware, operating system (OS), and basic software in use. It is also affected by the design of each subsystem, algorithms used, and compiler settings.

Observe the following guidelines when tuning the performance:

  • Analyze resource bottlenecks from multiple aspects to identify the root cause. For example, 100% CPU usage may be caused by insufficient memory capacity. The CPU resources are exhausted by memory scheduling.
  • Adjust only one parameter of a specific performance aspect at a time. It is difficult to determine the exact parameter that affects the performance if you adjust multiple parameters at the same time.
  • During the system performance analysis, the performance analysis tool also consumes certain CPU and memory resources, which may worsen the resource bottleneck of the system.
  • Ensure that the program runs properly after performance tuning.
  • The performance tuning is a continuous process. The result of each tuning should be fed to the subsequent version development.
  • Performance tuning cannot compromise code readability and maintainability.