C H A P T E R  15

Physical Memory Test (pmemtest)


pmemtest Description

The pmemtest checks the physical memory of the system, memory read errors, and addressing problems. The pseudo driver mem reads the physical memory.

This test reads through all the available physical memory. It does not write to any physical memory location.



Note - ECC errors testing is not supported on x86 platforms




pmemtest Options

pmemtest is supported both in physical mapping and logical mapping displays in the UI. In physical mapping, pmemtest provides support to test the memory on a per-board basis. Users can select the pmemtest that is displayed under the physical memory board, that is to be tested and test only that board. In logical mapping, the pmemtest options apply to the complete memory across all boards.

To reach the following dialog box, right-click on the test name in the System Map and select Test Parameter Options. If you do not see this test in the System Map, you might need to expand the collapsed groups, or your system might not include the device appropriate to this test. Refer to the SunVTS 6.3 User's Guide for more details.


Screenshot of the pmemtest Test Parameter Options dialog box

FIGURE 15-1 pmemtestTest Parameter Options Dialog Box

 


TABLE 15-1 pmemtest Options

pmemtest Options

Description

Configuration

Shows the total amount of physical memory, rounded up to the nearest MB, that is probed by the SunVTS kernel.

Amount of Memory

Specifies the percentage of the physical memory to be tested. The default 0% ensures dividing the total memory equally among instances which results in 100% coverage at the completion of every test pass. One test pass includes one pass each by all instances.

Section ID

For UltraSPARC servers only. When set to -1, pmemtest will test one memory section in each pass, automatically testing each subsequent memory section as testing progresses. When set to a number other than -1, only the section specified is tested. A section is defined by the pass and instance number settings.

Instance

Instances are the number of copies of pmemtest to run simultaneously on the memory being tested.




Note - The amount of memory option is specified on a per-instance basis. The real memory coverage for one test pass depends on the amount of memory option and the number of instances. For example, if there are four instances, and each instance specifies 50% for the amount of memory option, then this will result in 200% (4 times 50%) coverage on each test pass. For guaranteed 100% memory coverage for each test pass, choose the default percentage size option as 0% for all instances.




pmemtest Test Modes


TABLE 15-2 pmemtest Supported Test Modes

Test Mode

Description

Connection

One percent of the memory is read. pmemtest also informs you how much physical memory is available.

Functional

The amount of memory to be read can vary. By default 100% of the memory is tested.

Online

The amount of memory to be read can vary. By default 100% of the memory is tested.



pmemtest Command-Line Syntax

For 32-bit configurations:

/opt/SUNWvts/bin/pmemtest standard-arguments -o size=[0-100],dev=device-name,section=section-id

For 64-bit configurations:

/opt/SUNWvts/bin/64/pmemtest standard-arguments -o size=[0-100],dev=device-name,bdinfo=number,section=section-id


TABLE 15-3 pmemtest Command-Line Syntax

Argument

Description

size=0-100

Specifies the percentage of memory to be tested. The default is 0% (for 100% memory coverage).

dev=device-name

Specifies the device to test, for example, mem.

section=section-id

For UltraSPARC servers only. When set to -1, pmemtest tests one memory section in each pass, automatically testing each subsequent memory section. When set to a number other than -1, only the section specified is tested. A section is defined by the pass and instance number settings.