SunVTS 5.0 Test Reference Manual

vmemtest Command-Line Syntax

/opt/SUNWvts/bin/vmemtest standard_arguments -o mode=type, reserve=n,amount=n,bdinfo=n,cerr=number,type=n,pp=pattern,up=hex_address

Table 60-3 vmemtest Command-Line Syntax

Argument 

Explanation 

mode=Page|Regular

Specifies which mode of the vmemtest to run. Choose:

  • Page--tells the write/read memory test to proceed one system memory page at a time.

  • Regular--uses the valloc option to allocate the entire assigned memory, which is read and compared one long word at a time.

reserve=n

Specifies the amount of Mbytes of virtual memory to reserve in addition to the default amount. 

amount=n

Specifies the number of Mbytes of memory to be tested instead of the default (maximum) amount. 

bdinfo=n

Provides the board number information for all the CPU/memory boards in the system. For example, if board 0 and board 5 have memory, then the bdinfo=33 (2**5+2**0).

cerr=n

Specifies the maximum number of contiguous errors to be dumped when a memory error occurs. 

type=seq+rand+page+ block+file

  • seq--Uses Sequential test method

  • rand--Uses Random Address test method

  • page--Uses Page Striding test method

  • block--Uses Block Copy method

  • file--Uses File Caching test method

pp=pattern

Specifies the test pattern to use for testing. Valid pattern entries are: 

  • Address--uses the virtual addresses of the tested memory locations.

  • walk_1--uses a pattern that starts with 0x80000000 through 0x00000001.

  • walk_0--uses a pattern that starts with 0x7fff7fff through 0x7fff7ffe.

  • 0x00000000--uses all ones and zeros for testing.

  • 0x5aa55aa5--uses 0x5aa55aa5 pattern.

  • 0xdb6db6db--uses 0xdb6db6db pattern.

  • Checkerboard--uses 0x55555555 and 0xaaaaaaaa patterns.

  • Random--uses a random data pattern.

  • UserDefined--uses the pattern that is specified in the User Defined Pattern area (see below).

up=hex_address

Only used if the pp argument is set to UserDefined. The pattern specified should be in the form of a 8-digit, hexadecimal number such as 0x2a341234.


Note -

64-bit tests are located in the sparcv9 subdirectory: /opt/SUNWvts/bin/sparcv9/testname. If a test is not present in this directory, then it may only be available as a 32-bit test. For more information refer to "32-Bit and 64-Bit Tests".