Chapter Fourteen. Code Tuning
By Edward G. Bradford and Mark Brown
Although an understanding of the methods of tuning the operating system is needed to optimize system workload and response, an equally important aspect of performance tuning is the actual work done in the application code to maximize performance— particularly for applications that are the sole purpose of a dedicated system. Applications such as web servers, database servers, or mail servers tend to be the primary application for a system, and performance hinges just as much on the application as it does on the operating system.
This chapter addresses some of the issues of writing a program that will run efficiently. We assume performance tuning of the underlying operating ...