Содержащиеся вНайти другие документыРесурсы поддержки | Загрузить это руководство в формате PDF (2045 КБ)
Chapter 11 Managing System Performance (Overview)Achieving good performance from a computer or network is an important part of system administration. This chapter provides an overview of some factors that contribute to managing the performance of the computer systems in your care. This is a list of the overview information in this chapter. What's New in Managing System Performance?This section describes new or changed features in managing system performance in the Solaris release. Enhanced pfiles ToolSolaris 10: The /proc file system has been enhanced to include file name information in the /proc/pic/path directory. This information is used by pfiles to display file names for each file in the process. This change provides new insight into process behavior. For more information, see How to Display Information About Processes and the proc(1) man page. CPU Performance CountersSolaris 10: The CPU Performance Counter (CPC) system has been updated to give better access to the performance analysis features available in the SPARC and x86 platforms that run the Solaris Operating System. The CPC commands cpustat and cputrack have enhanced, command-line syntax for specifying CPU information. For example, in previous versions of the Solaris OS, you were required to specify two counters. The configuration of both commands now allows you to specify only one counter, as shown in the following example:
For simple measurements, you can even omit the counter configuration, as shown in the following example:
For more information on using the cpustat command, see the cpustat(1M) man page. For more information on using the cputrack command, see the cputrack(1) man page. Where to Find System Performance Tasks
System Performance and System ResourcesThe performance of a computer system depends upon how the system uses and allocates its resources. Monitor your system's performance regularly so that you know how it behaves under normal conditions. You should have a good idea of what to expect, and be able to recognize a problem when it occurs. System resources that affect performance are described in the following table.
Chapter 13, Monitoring System Performance (Tasks) describes the tools that display statistics about the system's activity and performance. Processes and System PerformanceThe following table describes terms that are related to processes. Table 11–1 Process Terminology
A process can consist of multiple LWPs and multiple application threads. The kernel schedules a kernel-thread structure, which is the scheduling entity in the SunOS environment. Various process structures are described in the following table. Table 11–2 Process Structures
The following figure illustrates the relationships among these process structures. Figure 11–1 Relationships Among Process Structures
Most process resources are accessible to all the threads in the process. Almost all process virtual memory is shared. A change in shared data by one thread is available to the other threads in the process. About Monitoring System PerformanceWhile your computer is running, counters in the operating system are incremented to track various system activities. System activities that are tracked are as follows:
Monitoring ToolsThe Solaris software provides several tools to help you track how your system is performing. The following table describes these tools. Table 11–3 Performance Monitoring Tools
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||