C H A P T E R  34

Level 3 Cache Test (l3sramtest)


l3sramtest Description

l3sramtest exercises the level3 cache in the CPU module of Sun's Ultra-SPARC-IV+ systems. This is an external cache, with on-chip tags.

l3sramtest runs various subtests on the cache that try to exercise the cache by causing hits/misses, performing marching patterns on the level3 cache cells and writing patterns that cause electrical stress. This test also supports Cache Interconnect Stress test using SSO patterns that targets various interconnects between level 1, level 2, and level 3 caches.

l3sramtest is self-scaling and adaptive. It scales with the size of the system. It automatically retrieves the number of CPUs in the system and internally creates that many threads to give coverage to the whole system at a given time. This test also dynamically determines the size and organization of the l3cache. You do not have to input these values.



caution icon

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



 


l3sramtest Options

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 User's Guide for more details.


FIGURE 34-1 l3sramtest Test Parameter Options Dialog Box

Screenshot of the l2sramtest Test Parameter Options dialog box





TABLE 34-1 l3sramtest Options

Option

Description

Thrash Cycles

Specifies the number of thrashing cycles the test completes for the level3 cache on the system. The default value is 32.

ECC Error Monitor

Specifies whether the error monitoring should be enabled or disable. The error monitor monitors the /var/adm/messagesfile for failure messages that could be caused due to the test. The default value is disabled.

ECC Threshold

Specifies the threshold value of the number of errors after which the test would register an error. This argument is only applicable if the Error Monitor option is enabled. The errors that are logged in the /var/adm/messagescould be correctable, that is why the threshold value is provided ignore the errors if they are below the threshold value. The default value is 1.

Core Sync

Specifies whether the core syncronization mode is enabled or disabled. When this option is enabled, each CPU core runs with exclusive access to the cache during the entire cache test execution. The default value is Disabled.

SSO

Specifies whether the Internal Cache Interconnect test is enabled or disabled. The default value is Disabled.




Note - The l3sramtest automatically handles processor binding. Do not use the Processor Affinity option for the l3sramtest.




l3sramtest Test Modes


TABLE 34-2 l3sramtest Supported Test Modes

Test Mode

Description

Exclusive

Performs only the l3sramtest (full test).



l3sramtest Command-Line Syntax

/opt/SUNWvts/bin/sparcv9/l3sramtest -standard_arguments -o [dev=l3sram, count=[1...1024], em=[Enabled,Disabled], threshold=[0..255], coresync=[0+1+2+...]], corethreads=[1..4], sso=[Enabled,Disabled] ]



Note - The l3sramtest is not a per CPU test. There will be only one l3sramtest for the whole system (one image of Solaris). l3sramtest runs on all the CPUs of the domain.




TABLE 34-3 l3sramtest Command-Line Syntax

Argument

Description

dev=l3sram

Specifies the device. The default value is l3sram.

count=number

Specifies the number of thrashing cycles that the test completes for the level3 cache on the system. Default value for offline mode is 8.

em=Enabled/Disabled

Specifies the enabling or disabling of the ECC Error Monitor. The default value is disabled.

threshold=number

Specifies the threshold value of how many correctable ECC errors can occur in the elapsed time before l3sramtest reports a test failure. The default value is 1.

coresync=[Enabled/Disabled]

Specifies the enabling or disabling of the core syncronization mode. When this option is enabled, each CPU core runs with exclusive access to the cache during the entire cache test execution. The default value is Disabled.

corethreads=number

Specifies the number of threads spawned per core. This is applicable in coresync and sso options only. The default value is 2.

sso=[Enabled/Disabled]

Specifies the enabling or disabling of the internal cache interconnect test. The default value is Disabled.