Chapter Fourteen. Code Tuning

By Edward G. Bradford and Mark Brown

Introduction

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 ...

Get Performance Tuning for Linux® Servers now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.