Testing Device Drivers on a Networked Media Device
Other versions of this page are also available for the following:
8/27/2008
The performance of device drivers can negatively impact the user experience. Use the Windows Embedded CE 6.0 Test Kit (CETK) (CETK) to test your device drivers. After you build the CETK source code and obtain test results from the CETK, you need to analyze the test results.
For information about installing the source code for the CETK, see Source Code for CETK Tests.
For information about running a CETK test on a device driver, see How to Use the CETK to Test a Driver.
Block Drivers and File System Drivers
The following table shows five tests to perform on storage block drivers and file system drivers. The tests are in the %_WINCEROOT%\PRIVATE\TEST\DRIVERS\STORAGE directory.
Test | Description |
---|---|
Assesses the functionality of a mass storage block for a flash memory device. |
|
Verifies block driver functionality and tests boundary conditions. |
|
Gathers and displays information about the time that is required to complete storage operations. |
|
Assesses the integrity of CD/DVD operations. |
Display Drivers
- Display Driver Performance Profiling in conjunction with Monte Carlo Profiling.
- Display Device Performance Profile Analysis.
In addition to profiling your device's display driver, test the performance of the graphics device interface (GDI) and Microsoft DirectDraw. The following table shows these tests. The tests are in the %_WINCEROOT%\PRIVATE\TEST directory.
Topic | Description |
---|---|
Describes how to optimize a Graphics Primitive Engine (GPE) function. |
|
Graphics Device Interface Performance Test Test Results for the Graphics Device Interface Performance Test |
Assesses the performance of common display operations. |
Instruments the blit, flip, and lock operations. |
Networking Drivers
You can use tests with the CETK to analyze Network Driver Interface Specification (NDIS) or Winsock performance. In addition, several networking APIs provide useful information.
Winsock Tests
The following code example runs all Winsock tests.
tux -o -d perf_winsock2 -x 1001,1002,1007,1009 -c "-s <server_ip> -i <ip_version>"
where server_ip is the address of a desktop host that runs perf_winsock2.
NDIS Tests
To run NDIS performance tests, you must first send and then receive throughput.
The following code example sends throughput on NDIS performance tests.
tux -o -d perf_ndis -c "-mode send -wsock -s <MiniportInstanceName >"
The following code example receives throughput on NDIS performance tests.
tux -o -d perf_ndis -c "-mode recv -wsock -s <MiniportInstanceName >"
Networking Tests
The following table shows the CETK networking tests and networking APIs that you can use to analyze performance issues.
Topic | Description |
---|---|
Is a client/server network performance test that operates at the Winsock level. This test measures sending throughput, receiving throughput, packet loss, and round-trip time across any network connection that uses a protocol that the Winsock API supports. |
|
Testing a Network Interface by Using the Winsock Performance Test |
Provides information about specific parameters that you can use to specify which test cases to run. |
Describes the test cases that are included in the CETK. |
|
Assesses, at the NDIS level, the sending throughput and receiving throughput of a Windows Embedded CE operating system network interface. To retrieve the name of the network controller, execute the NDIS Performance Test in send or receive mode, with the -c "-enum" parameter. |
|
Provides information about optimizing an NDIS miniport driver. |
|
Network APIs |
|
See Also
Concepts
Debugging and Testing a Networked Media Device
Testing Real-Time Performance on a Networked Media Device
Other Resources
Tux Command-Line Parameters
Designing Hardware for Networked Media Devices