SunVTS 2.1.3 Test Reference Manual
  Suchtext Nur in diesem Buch
Dieses Buch im PDF-Format herunterladen
CHAPTER 28

Prestoserve Test (pstest)


Prestoserve(TM) is an NFS accelerator. It reduces the frequency of disk I/O access by caching the written data blocks in nonvolatile memory. Prestoserve then flushes the cached data to disk asynchronously, as necessary.
pstest verifies the Prestoserve accelerator's functionality with the following three checks:
  • Board Battery Check
To ensure proper battery power level, the test runs this check before running the other two checks. If it finds a bad battery, it exits pstest immediately with a fatal error message.
  • Board Memory Check
This check maps the entire board memory to a process address space and locks the board to prevent multiple accesses. The test then travels through the mapped address spaces sequentially, doing a character, short, and long comparison on each space. The pstest runs this check twice.
  • Board Performance and File I/O Access Check
This check exercises only synchronous read/write access. pstest writes data equal to the amount of on-board memory to the memory cache and reads the data back for comparison. The time taken to write that data is measured twice: the first time with the Prestoserve accelerator disabled, the second time with Prestoserve enabled. The first value is divided by the second to get the performance ratio. If the ration is less than 1.5 on three passes of the test, the Prestoserve board may or may not have a problem.
Since the Prestoserve accelerator speeds up the /opt partition during testing and this partition may be mounted remotely, there may or may not be a problem with the Prestoserve board itself, a network performance problem could be the problem. In either case, a warning message is displayed if the performance ratio is less than 1:5.

CAUTION Caution - To ensure consistent results, run as many concurrent tests as possible when a Prestoserve product has been installed. Tests are selected from the Option menu. The default is 2; the maximum is 10. However, do not run pstest and kmem tests at the same time. Running these tests together causes SunVTS to report erroneous errors.


pstest Options

Grafik

FIGURE 28-1 pstest


pstest Test Modes

TABLE 28-1 pstest
Test ModeDescription
Functional TestThe test runs the Board Battery Check subtest, Board Memory Check subtest, and Board Performance and File I/O Access Check subtest.

pstest Command Line Syntax

/opt/SUNWvts/bin/pstest standard_argument -o e,l,f=testfile_directory

TABLE 28-2 pstest
ArgumentExplanation
eEnables performance warning, which displays a warning message if the performance ratio is less than 1:5.
lEnables the long memory test.
f=testfile_directorySpecifies the directory of a test file.

pstest Error Messages

TABLE 28-3 pstest

Error MessageProbable Cause(s)Recommended Action
6001Checking prstatus failed:

6002Failed to turn prestoserve DOWN:

6003File I/O test failed with low performance ratio: number
Check that Prestoserve is configured for /tmp.
6004byte compare: location = address, observed = number, expected = number

6005word compare: location = address, observed = number, expected =number

6006(data type) long compare: location = address, observed = number, expected = number

6007lseek() failed:

6008NVRAM write failed:

6009NVRAM read failed:

6010Failed to get status of Prestoserve failed:

6011Failed to reinitialize Prestoserve:

6012Failed to turn prestoserve UP:

6013Failed to munmap
prestoserve:


6014File write failed:

6015File read failed:

6016Data compare failed

6017Failed to restore
prestoserve state: %s


TABLE 28-3 pstest(Continued)

Error MessageProbable Cause(s)Recommended Action
6018Prestoserve test is applicable in Functional test only

8001Failed to open prestoserve board:Prestoserve hardware not installed.


NVSIMM/NVRAM SBus board not seated correctly.


Prestoserve software not installed.


Not in superuser mode.
8002Prestoserve is in the ERROR stateErrors occurred on a disk drive.
8003Some batteries are not
good or not enabled


8004memory_check (pass pass_id) failed

8005fileio_check (pass pass_id) failed

8006File I/O test failed
(Prestoserve down)


8007File I/O test failed
(Prestoserve up)


8008Open %s also failed: %s. Please enter test file directory

8009PRESTOSERVE TESTS FAILED!