HP OpenVMS Systems Documentation |
OpenVMS Performance Management
1.3.3 Why Use Them?These system utilities and tools allow you to:
1.3.4 Knowing Your Work LoadThe experienced system manager can answer the following questions:
1.4 Developing a StrategyEach installation site must develop its own strategy for optimizing system performance. Such a strategy requires knowledge about system use in the following areas:
1.4.1 Managing the Work LoadBefore you attempt to adjust any system values, always ask yourself the following questions:
1.4.2 Distributing the Work LoadDistribute the work load as evenly as possible using the following techniques:
1.4.3 Sharing Application CodeApplication code sharing provides a cost-effective means of optimizing memory utilization. To ensure optimum performance of your system, make sure that frequently used code is shared. Use the site-specific startup procedure to install as shared known images user-written programs and routines that are designed for sharing and have reached production status or are in general use.
Encourage programmers to write shareable code.
Typically, an investigation into system performance begins when you receive a complaint about a slowdown of interactive response times or about some other symptom of decreased throughput. Before you decide that the current complaint reflects a performance problem, you should:
1.5.1 Preliminary StepsTo analyze the complaint, you will need some additional information as described in the following table:
The following sections describe several reasons for performance
problems.
Hardware problems are a common source of performance complaints. To determine if you have a hardware problem, do the following:
1.5.3 Blocked ProcessA process enters the miscellaneous resource wait (MWAIT or RWAST) state usually because some resource, such as a paging file or mailbox, is unavailable (for example, because of a low quota or a program bug). To identify processes in the MWAIT state, use the DCL command MONITOR STATES.
1.5.4 Unrealistic ExpectationsWhat appears at first to be a performance problem can turn out to be a case of unrealistic expectations. For example:
Adjusting system values will accomplish nothing in such circumstances.
Chapter 2
|
Decompressed object libraries take up about 25 percent more disk space than when compressed; the decompressed help libraries take up about 50 percent more disk space. |
High-water marking is set by default whenever a volume is initialized. This security feature guarantees that users cannot read data they have not written.
Disabling high-water marking improves performance when data is written past the current end-of-file. The amount of improvement depends on the following considerations:
To disable high-water marking, specify the /NOHIGHWATER_MARKING qualifier when initializing the volume, or do the following at any time:
$ SET VOLUME/NOHIGHWATER_MARKING device-spec[:] |
Because files extend in increments of twice the multiblock count (default is 16), system defaults now provide file extensions of only 32 blocks. Thus, when files are created or extended, increased I/O can slow performance. The problem can be overcome by:
When an image is used concurrently by more than one process on a routine basis, install the image with the Install utility (INSTALL), specifying the /OPEN, /SHARED, and /HEADER_RESIDENT qualifiers. You will ensure that:
You may use either of the following commands:
INSTALL ADD/OPEN/SHARED/HEADER_RESIDENT filename INSTALL CREATE/OPEN/SHARED/HEADER_RESIDENT filename |
ADD and CREATE are synonyms. The /SHARED and /HEADER_RESIDENT
qualifiers imply the image is open. The /OPEN qualifier indicates the
file is a permanently known image to the system.
2.5 Enabling File Caching
Enable virtual I/O or extended file caching to reduce the number of
disk I/O operations. (See Section 12.2 and the OpenVMS System Manager's Manual.)
2.6 Reducing System Disk I/O
Remove frequently accessed files from the system disk and use logical names, or where necessary, use other pointers to access them as shown in the following table:
Logical Name | File |
---|---|
ACCOUNTING | System Accounting Data File |
AUDIT_SERVER | Audit server master file |
QMAN$MASTER | Job queue database master file 1 |
Directory specification 2 | Job queue database queue and journal files |
NETPROXY | NETPROXY.DAT |
OPC$LOGFILE_NAME | Operator log files |
RIGHTSLIST | RIGHTSLIST.DAT |
SYS$ERRORLOG | ERRFMT log files |
SYS$JOURNAL | DECdtm transaction log files |
SYS$MONITOR | MONITOR log files |
SYSUAF | SYSUAF.DAT |
VMSMAIL_PROFILE | VMSMAIL_PROFILE.DATA |
In addition, the default DECNET account can reside on another disk. Refer to the DECNET record in the system authorization file.
You might consider moving paging and swapping activity off the system disk by creating large secondary page and swap files on a less heavily used disk.
In an educational or learning environment, there are several other files you might want to move off the system disk. If many users will frequently access the help libraries, you could move the directory pointed to by logical name SYS$HELP to another disk. However, the system installation and upgrade procedures assume SYS$HELP is on the system disk. If you move SYS$HELP to another disk, you will have to update it manually after a system upgrade.
If users frequently use computer-based instruction programs, you can move SYS$INSTRUCTION or DECW$CBI (or both) off the system disk, or make them into search lists.
Make these changes only if you have determined that the files in these
directories are frequently used on your system.
2.7 Tuning
Tuning is the process of altering various system values to obtain the optimum overall performance possible from any given configuration and work load.
You will rarely need to make major adjustments to system parameters.
When you have optimized your current system, the acquisition and installation of additional memory or devices can vastly improve system operation and performance. |
Always aim for best overall performance, that is, performance viewed
over time. The work load is constantly changing on most systems.
Therefore, what guarantees optimal workload performance at one time
might not produce optimal performance a short time later as the work
load changes.
2.7.1 Prerequisites
Before you undertake any action, you must recognize that the following sources of performance problems cannot be resolved by adjusting system values:
Tuning is rarely required for OpenVMS systems for the following reasons:
As a result, these areas can grow dynamically, as appropriate, during normal operation. For more information on automatic adjustment features, see Section 3.5. The most common cause of poor system performance is insufficient hardware capacity.
Although tuning is rarely required, it is appropriate in response to two particular situations:
Use the AUTOGEN command procedure to manage your system parameters. If you modify a system parameter using AUTOGEN, AUTOGEN makes automatic adjustments in associated parameters. See the OpenVMS System Manager's Manual for a detailed description of the AUTOGEN command procedure.
Do not directly modify system parameters using SYSGEN. AUTOGEN overrides system parameters set with SYSGEN, which can cause a setting to be lost months or years after it was made. |
Use AUTHORIZE to change user account information, quotas, and
privileges.
2.7.4 When to Use AUTOGEN
Run AUTOGEN in the following circumstances:
AUTOGEN will not fix a resource limitation.
2.7.5 Adjusting System Parameter Values
When it becomes necessary to make adjustments, you normally select a
very small number of values for change, based on a careful analysis of
the behavior observed. These values are usually either system
parameters or entries in the user authorization file (UAF).
If you want to... | Then... |
---|---|
Modify system parameters | Use the AUTOGEN command procedure. |
Change entries in the UAF | Use AUTHORIZE. |
AUTOGEN has special features that allow it to make automatic adjustments for you in associated parameters. Periodically running AUTOGEN in feedback mode ensures that the system is optimally tuned.
The operating system keeps track of resource shortages in subsystems
where resource expansion occurs. AUTOGEN in feedback mode uses this
data to perform tuning.
2.7.7 Evaluating Tuning Success
Whenever you make adjustments to your system, you must spend time monitoring its behavior afterward to ensure that you obtain the desired results. Use the following procedure to evaluate the success of your tuning:
Step | Action |
---|---|
1 | Run a few programs that produce fixed and reproducible results at the same time you run your normal work load. |
2 | Measure the running times. |
3 | Adjust system values. |
4 | Run the programs again at the same time you run your normal work load under nearly identical conditions as those in step 1. |
5 | Measure the running times under nearly identical workload conditions. |
6 | Compare the results. |
7 | Continue to observe system behavior closely for a time after you make any changes. |
This test alone does not provide conclusive proof of success. There is always the possibility that your adjustments have favored the performance of the image you are measuring---to the detriment of others. |
Previous | Next | Contents | Index |