C H A P T E R  7

Data Translation Look-Aside Buffer (dtlbtest)


dtlbtest Description

The dtlbtest verifies the proper functioning of DTLBs, but it does not measure performance of DTLBs.

This test verifies the following function of DTLBs:

dtlbtest detects the installed CPU type and iterprets the CPU architecture.

dtlbtest is classified as an exclusive SunVTS test because its accuracy and coverage depend significantly on the system's background quietness. For the best result, avoid performing any other SunVTS tests in the background, and also disable all user processes and nonessential daemons.



caution icon

Caution - This is an exclusive mode test. This test can not be run in parallel with any other tests or applications.





Note - To test 4 MByte pages, Intimate Shared Memory (ISM) must be enabled. If not already present, append the following to /etc/system and reboot:
set shmsys:shminfo_shmmax=0xFFFFFFFFFFFFFFFF
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10




dtlbtest Options


To reach the following dialog box, select the exclusive test mode and 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 may not include the device appropriate to this test. Refer to the SunVTS User's Guide for more details.FIGURE 7-1 dtlbtest Test Parameter Options Dialog Box

Screenshot of the dtlbtest Test Parameter Options dialog box


 


TABLE 7-1 dtlbtest Options

Option

Description

Processor ID

Specifies the CPU ID for testing. The default value is all.

Test Type

Specifies the type of test need to be performed, Hit/miss, address pattern, or both. The default value is both.

Page Size

Specifies the DTLB page size to test. The default value is all. Possible page size values are 8k, 64k, 512K, and 4M.

Address Pattern loop count

Specifies the address pattern loop count. The default value is 1. Loop count value ranges between 1 and 1000.

Address pattern seed value

Specifies the address pattern seed value. The default value is 0.


 


TABLE 7-2 dtlbtest Supported Test Modes

Test Mode

Description

Exclusive

Performs only the dtlbtest (full test).



dtlbtest Command-Line Syntax

/opt/SUNWvts/bin/dtlbtest [-scruvdtlxnf] [-p n] [-i n] [-w n] [-o cpu=N,test=x,psize=x,aloop=n,aseed=n]


TABLE 7-3 dtlbtest Command-Line Syntax

Argument

Description

cpu=cpuid

Specifies the CPU ID. The default value is all.

test=testType

Specifies the type of test h, a, or both. The default value is both.

psize=pageSize

Specifies the page size to be tested. The default value is all.

aloop=loopCount

Specifies the address pattern loop count. The default value is 1.

aseed=seedValue

Specifies the address pattern seed value. The default value is 0.