Document revision date: 15 July 2002 | |
Previous | Contents | Index |
Once you determine an initial size for your page file or files (either with AUTOGEN or manually), monitor page file usage by executing AUTOGEN with the following command:
$ @SYS$UPDATE:AUTOGEN SAVPARAMS TESTFILES FEEDBACK |
With this command, AUTOGEN writes page file usage and size recommendations to the feedback report AGEN$PARAMS.REPORT. (For more information about AUTOGEN and the feedback report, see Section 15.4 and Section 15.4.2.) The DCL command SHOW MEMORY/FILES also displays file usage, as explained in Section 16.3.
Keep page file usage less than half the size of the page file or files. If a paging file starts to fill to the point where system performance is being affected, a message is printed on the console terminal. If this happens, increase the size of your page file or files or install additional files.
Your system resources and work load affect the required size of your page file. You should be familiar with your system resources and work load. For more information, refer to the OpenVMS Performance Management. |
Limit the amount of page file space consumed by user programs by using
the /PGFLQUOTA qualifier of the AUTHORIZE commands ADD and MODIFY.
(Refer to the AUTHORIZE section in the OpenVMS System Management Utilities Reference Manual for more
information.) Do not reduce the value of /PGFLQUOTA below 1024. Size
requirements of the page file vary widely, depending on user
applications.
16.4.4 Calculating Swap File Size
Sufficient swap file space is critical to system performance. The AUTOGEN command procedure calculates an appropriate size for your swap file space. To manually calculate the size for swap file space, use the following formula:
size-in-blocks (total for all swap files on the system) = maximum-number-of-processes * average-working-set-quota-of-processes-on-system |
where:
maximum-number-of-processes | Is the value of the MAXPROCESSCNT system parameter. |
average-working-set-quota-of-processes-on-system |
Is the average value of the WSQUOTA limit for processes running on the
system.
On VAX systems, specify the value in pages. On Alpha systems, specify the value in pagelets. |
The size you calculate can be represented in any of the following ways:
Once you have determined an appropriate size for swap file space (either manually or with AUTOGEN), monitor swap file usage with the DCL command SHOW MEMORY/FILES as explained in Section 16.3. Keep at least one-third of the swap file space unused; otherwise, system performance can be severely affected.
Your system resources and work load affect the required size of your swap file. You should be familiar with your system resources and work load. For more information, refer to the OpenVMS Performance Management. |
In certain system configurations, it might be impossible to preserve the entire contents of memory in a disk file. For instance, a large memory system might not be able to supply enough disk space for a full memory dump. If your system attempts to save all of memory but the dump file is too small to accommodate the entire dump, the System Dump Analyzer utility (SDA) might not be able to analyze the dump.
On VAX systems, insufficient dump space would also prevent the Crash Log Utility Extractor (CLUE) from being able to analyze the dump.
Options for Minimizing System Dump File Size
Use one of the following options to minimize the size of the system dump file when disk space is insufficient:
Type | Available Information | Unavailable Information |
---|---|---|
Physical dump (also known as full dump) | Complete contents of physical memory in use, stored in order of increasing physical address and error log buffers. | Contents of paged-out memory at the time of the crash. |
Selective dump | System page table, global page table, system space memory, error log buffers, and process and control regions (plus global pages) for all saved processes. | Contents of paged-out memory at the time of the crash, process and control regions of unsaved processes, and memory not mapped by a page table. |
Section 16.5.1 discusses the order in which information is written to a
selective system dump on Alpha and VAX systems. Section 16.5.2
discusses how this order can be fine-tuned on Alpha systems.
16.5.1 Understanding the Order of Information in a Selective System Dump
The following lists show the order in which information is written to selective dumps on VAX and Alpha systems.
On VAX systems, information is written to selective dumps in the following order:
On Alpha systems, information is written to selective system dumps in the following order:
MSCPmount
AUDIT_SERVER
NETACP
NET$ACP
REMACP
LES$ACP
Note that on Alpha systems, processes are dumped in two stages: the page tables for the process first, and then the body of the process.
Usage Notes on VAX and Alpha Systems
On both VAX and Alpha platforms, no process is dumped twice. For example, on Alpha systems, if the current process is the Swapper, it is dumped only once.
Similarly, on Alpha systems, no global page is dumped twice. Therefore,
if a page in the working set of a key process is dumped in the "Key
global pages" section, it is not dumped again later just because it is
also in the working set of a non-key process.
16.5.2 Fine-Tuning the Order That Processes Are Written in Selective System Dumps (Alpha Only)
On Alpha systems, a set of processes, known as key processes, are dumped immediately following PT, S0/S1, and S2, including transition pages that link back to the process. The system manager can designate additional processes to be treated as key processes. These processes have priority over other processes in a dump, thus ensuring that the selected processes are successfully written when the dump file is too small to contain all processes.
To designate the order of processes in a dump, follow these steps:
You can edit the data file and run the image at any time the system is
running. Therefore, if a process is hung, the system manager can
designate the process as a priority process and then force a crash.
16.6 Writing the System Dump File to the System Disk
If you have more than one path to the system disk, or the system disk
is a shadow set with multiple members, you must take additional steps
to ensure that a system dump can be written to the system disk.
16.6.1 System Dump to System Disk on Alpha
If there is more than one path to the system disk, the console environment variable DUMP_DEV must describe all paths to the system disk. This ensures that if the original boot path becomes unavailable because of failover, the system can still locate the system disk and write the system dump to it.
If the system disk shadow set has multiple members, the console environment variable DUMP_DEV must describe all paths to all members of the shadow set. This ensures that if the master member changes, the system can still locate the master member and write the system dump to it.
If you do not define DUMP_DEV, the system can write a system dump only to the physical disk used at boot time using only the same physical path used at boot time. For instructions on setting DUMP_DEV, see Section 16.7.1.
Certain configurations (for example, those using Fibre Channel disks) may contain more combinations of paths to the system disk than can be listed in DUMP_DEV. In that case, Compaq recommends that you include in DUMP_DEV all paths to what is usually the master member of the shadow set, because shadow set membership changes occur less often than path changes.
You can write the system dump to an alternate disk (see Section 16.7.1), but when doing so you must still define a path to the system disk for writing error logs. Therefore, DUMP_DEV should contain all paths to the system disk in addition to the paths to the alternate dump disk.
If there are more paths than DUMP_DEV can contain, Compaq recommends
that you define all paths to the dump disk and as many paths as
possible (but at least one) to the system disk. Note that the system
disk paths must come last in the list.
16.6.2 System Dump to System Disk on VAX
To ensure that the system can locate the system disk and write the system dump to it when there is more than one path to the system disk, or when the system disk shadow set has multiple members, you must follow the platform-specific instructions regarding booting. On some VAX systems, you must set appropriate register values; on other VAX systems, you must set specific environment variables. See the upgrade and installation supplement for your VAX system for details.
Note that if the system has multiple CI star couplers, the shadow set
members must all be connected through the same star coupler.
16.7 Writing the System Dump File to an Alternate Disk
You can write the system dump file to a device other than the system disk (DOSD) on OpenVMS systems. This is especially useful in large-memory systems and in clusters with common system disks where sufficient disk space is not always available on one disk to support customer dump file requirements.
Requirements for DOSD are somewhat different on VAX and Alpha systems. On both systems, however, you must correctly enable the DUMPSTYLE system parameter to enable the bugcheck code to write the system dump file to an alternate device.
The following sections describe the requirements for DOSD on Alpha and
VAX systems.
16.7.1 DOSD Requirements on Alpha Systems
On Alpha systems, DOSD has the following requirements:
DUMPFILE_DEVICE = "$nnn$ddcuuuu" |
>>> SET DUMP_DEV device-name[...] |
On DEC 3000 series systems, the following restrictions on the use of the DUMP_DEV environment variable exist:
|
To designate the dump device with the DUMP_DEV environment variable, and enable the DUMPSTYLE system parameter, follow these steps:
>>> SHOW BOOTDEF_DEV |
BOOTDEF_DEV dub204.7.0.4.3,dua204.4.0.2.3 |
>>> SHOW DEVICES |
Resetting IO subsystem... dua204.4.0.2.3 $4$DUA204 (RED70A) RA72 dua206.4.0.2.3 $4$DUA206 (RED70A) RA72 dua208.4.0.2.3 $4$DUA208 (RED70A) RA72 polling for units on cixcd1, slot 4, xmi0... dub204.7.0.4.3 $4$DUA204 (GRN70A) RA72 dub206.7.0.4.3 $4$DUA206 (GRN70A) RA72 dub208.7.0.4.3 $4$DUA208 (GRN70A) RA72 >>> |
>>> SET DUMP_DEV dua208.4.0.2.3,dub208.7.0.4.3,dub204.7.0.4.3,dua204.4.0.2.3 |
The system chooses the first valid device that it finds in the list as the dump device. Therefore, the dump disk path entries must appear before the system disk entries in the list. |
>>> SHOW * |
auto_action HALT baud 9600 boot_dev dua204.4.0.2.3 boot_file boot_osflags 0,0 boot_reset ON bootdef_dev dub204.7.0.4.3,dua204.4.0.2.3 booted_dev dua204.4.0.2.3 booted_file booted_osflags 0,0 cpu 0 cpu_enabled ff cpu_primary ff d_harderr halt d_report summary d_softerr continue dump_dev dua208.4.0.2.3,dub208.4.0.4.3,dub204.7.0.4.3,dua204.4.0.2.3 enable_audit ON interleave default language 36 pal V5.48-3/O1.35-2 prompt >>> stored_argc 2 stored_argv0 B stored_argv1 dua204.4.0.2.3 system_variant 0 version T4.3-4740 Jun 14 2000 15:16:38 >>> |
>>> BOOT SYSBOOT> SET DUMPSTYLE 4 |
The OpenVMS System Management Utilities Reference Manual and online help contain details about the DUMPSTYLE system parameter.
The error log dump file is always created on the system disk so that error log buffers can be restored when the system is rebooted. This file is not affected by setting the DUMPSTYLE system parameter or the DUMP_DEV environmental variable. |
On VAX systems, DOSD has the following requirements:
DUMPFILE_DEVICE = "$nnn$ddcuuuu" |
To restore error log buffers when the system is rebooted after a system crash, the error logs must be saved on the system disk. For this purpose, AUTOGEN creates a SYSDUMP.DMP file on the system disk; the file is large enough to contain the maximum size of error log buffers. |
Previous | Next | Contents | Index |
privacy and legal statement | ||
6017PRO_073.HTML |