SMP Depth Test - User Mode (Compact 7)
3/12/2014
This test suite exercises KData, Exception Handling, Synchronization Primitives (Critical Section, Events), Affinity and backward compatibilities in the SMP environment.
Test Prerequisites
Your device must meet the following requirements before you run this test.
The following tables show the hardware requirements for this test.
Requirement | Description |
---|---|
Multi-core processor |
This test requires a multi-core processor. This test may not work properly on a single-core processor. |
The following table shows the software requirements for this test.
Requirements | Description |
---|---|
Tux.exe |
Tux test harness, required for executing the test |
Kato.dll |
Kato logging engine, required for logging test data |
KSMP_BC_P1_CE5.exe; KSMP_BC_P1_CE6.exe; KSMP_BC_P1_CE7.exe; KSMP_BC_P2_CE5.exe; KSMP_BC_P2_CE6.exe; KSMP_P1.EXE; SMP_P2.EXE; KSMP_SCHL1_P1.exe; KSMP_SCHL1_P2.exe; KSMP_STRESS_P1.exe; KSMP_STRESS_P2.exe; KSMP_SYNC1.exe |
Support file to help validate affinity and backward compatibility with earlier versions of Windows Embedded CE. |
Subtests
The table below lists the subtests included in this test.
SubTest ID | Description |
---|---|
2000 |
Load Balancing |
2001 |
Sync Object - Signaling across processor |
2002 |
Sync Object - Stress |
2003 |
Multi-thread CacheRangeFlush |
2004 |
CacheRangeFlush - Simple |
2005 |
Affinity Test 1 |
2006 |
Affinity Test 2 |
2010 |
Exception Handling - Change Affinity |
2011 |
Exception Handling - High priority spinning thread |
2020 |
Process Affinity and KData |
2021 |
Number of processor and KData |
2022 |
Thread affinity and KData |
2030 |
SMP Scheduler Test #1 |
2031 |
SMP Scheduler Test #2 |
2032 |
SMP Scheduler Test #3 |
2050 |
Creating Max Number of Threads |
2051 |
Creating Max Number of Processes |
2060 |
SMP Critical Section Test #1 - Priority Donation |
2061 |
SMP Critical Section Test #1 - Priority Donation between CPUs |
2062 |
SMP Critical Section Test #1 - Priority Donation with multiple Normal Priority threads |
2063 |
SMP Critical Section Test #2 |
2100 |
Matrix Multiply |
2101 |
Matrix Multiply - Load Balance |
2200 |
Backward Compatibility #1 - CE 5 Process |
2201 |
Backward Compatibility #1 - CE 5 Process |
2202 |
Backward Compatibility #1 - CE 7 Process |
2203 |
Backward Compatibility #2 - CE 5 Process |
2204 |
Backward Compatibility #2 - CE 6 Process |
Setting Up the Test
This test has no additional requirements, beyond the standard test environment setup.
Running the Test
The SMP Depth test will execute "tux -o -d smpdepth.dll" as the default command. There are no other command line options.
Verifying the Test
When the test completes running, verify that "PASS" appears in the test log for all sub-tests.
Troubleshooting the Test
Ensure the run-time image is built with IMGMPENABLE flag set.
This test suite should be run in user mode.
Ensure all of the dependent files are present before running the test.
For additional platform specific issues, consult the CTK articles on the TechNet wiki.