C H A P T E R  33

Level 2 Cache Test (l2dcachetest)

l2dcachetest exercises the level2 external cache in the CPU module of a Sun machine. The test writes, reads, and verifies access of multiple virtual addresses.The multiple virtual addresses are chosen to cause thrashing (cache misses) in direct-mapped external caches.


l2dcachetest Options

To reach the dialog box below, 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 33-1 l2dcachetest Test Parameter Options Dialog Box

TABLE 33-1 l2dcachetest Options

Option

Description

Thrash Cycles

Specifies the number of thrashing cycles the test completes for the level2 cache on the system. Default value for Offline mode is 8.

Test Buffer Size

Sets the size of the buffer, in kbytes, that the test allocates for testing. Default value is 8192.



l2dcachetest Test Modes
TABLE 33-2 l2dcachetest Test Modes

Test Mode

Supported?

Description

Connection

No

Not supported.

Functional

(Offline)

Yes

Runs the full test.



l2dcachetest Command-Line Syntax

/opt/SUNWvts/bin/l2dcache standard_arguments -o count= number ,buffer= number ,dev= l2dcache

TABLE 33-3 l2dcachetest Command-Line Syntax

Argument

Description

count= number

Specifies the number of thrashing cycles the test completes for the level2 cache on the system. Default value for Offline mode is 8.

buffer= number

Sets the size of the buffer, in kbytes, that the test allocates for testing. Default value is 8192.

dev= l2dcache

Specifies the name of the device.