Document revision date: 19 July 1999 | |
Previous | Contents | Index |
These calculations differ on OpenVMS VAX and Alpha systems:
On Alpha systems, the AUTOGEN command procedure calculates the appropriate size of your error log dump file. However, to calculate the size of the file manually, use the following formula, which calculates the file size required to hold all the error log buffers:
size-in-blocks(SYS$SYSTEM:SYS$ERRLOG.DMP) = number-of-error-log-buffers * blocks-per-buffer + 2 |
where:
number-of-error-log-buffers | Is the value of the system parameter ERRORLOGBUFFERS. This parameter sets the number of error log buffers that are permanently allocated in memory. |
blocks-per-buffer | Is the value of the system parameter ERLBUFFERPAGES. This parameter sets the number of pages of memory in each buffer. |
On VAX systems, the size of the error log dump file depends on your use of dump off system disk (DOSD):
Sufficient page file space is critical to system performance. The AUTOGEN command procedure calculates an appropriate size for your page file space. The size calculated by AUTOGEN should be sufficient. However, to manually calculate the size for page file space, use one of the following formulas.
On VAX systems, use the following formula:
size-in-blocks (total for all page files on the system) = size-of-average-process (in pages) * maximum-number-of-processes |
$ SHOW PROCESS/CONTINUOUS/ID=pid |
If the result of the formula is less than VIRTUALPAGECNT, use the value of VIRTUALPAGECNT instead.
To determine a system's virtual page count, enter the following command:
$ WRITE SYS$OUTPUT F$GETSYI ("VIRTUALPAGECNT") |
On Alpha systems, use the following formula:
size-in-blocks (total for all page files on the system) = physical-memory-size (in pagelets) + 8192 (supplementary amount) |
To calculate the physical memory size in pagelets, follow these steps:
$ SHOW MEMORY/PHYSICAL_PAGES |
$ WRITE SYS$OUTPUT F$GETSYI ("PAGE_SIZE") |
Adding 8192 to the physical memory size provides an extra margin of safety during periods of heavy paging activity.
After making the initial calculation, observe your system over time and
make adjustments as necessary.
15.4.3.1 Representing Page File Size
The page file size you calculate can be represented in one of the following ways:
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 14.4 and Section 14.4.2.) The DCL command SHOW MEMORY/FILES also displays file usage, as explained in Section 15.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.
15.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 15.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 | 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 15.5.1 discusses the order in which information is written to a
selective system dump on Alpha and VAX systems. Section 15.5.2
discusses how this order can be fine-tuned on Alpha systems.
15.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:
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 nonkey process.
15.5.2 Fine-Tuning the Order That Processes Are Written in Selective System Dumps (Alpha Only)
On Alpha systems, a new category of processes, key processes, are dumped immediately following PT, S0/S1, and S2, including transition pages that link back. 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 or appears to be stuck in a
miscellaneous wait state such as RWAST, the system manager can
designate the process as a priority process and then force a crash.
15.6 Writing the System Dump File to an Alternate Disk
You can write the system dump file to a device other than the system disk on OpenVMS systems. This feature is especially useful in large-memory systems and in clusters with common system disks where sufficient disk space, on one disk, is not always available to support customer dump file requirements.
Requirements for writing the dump file off the system disk (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 writing DOSD on
Alpha and VAX systems.
15.6.1 DOSD Requirements on Alpha Systems
On Alpha systems, writing the 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 1998 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. |
Previous | Next | Contents | Index |
privacy and legal statement | ||
6017PRO_070.HTML |