Winsock Performance Test (Windows CE 5.0)
The Winsock Performance Test is a client/server network performance test that operates at the Winsock level. The test measures send and receive throughput, packet loss, and round trip time across any network connection that uses a protocol that the Winsock API supports.
The Winsock Performance Test provides a Microsoft® Windows® CE version and a Microsoft Windows–based desktop version for both the server and client test modules. You can use the Winsock Performance Test in a variety of scenarios. For information about using the Winsock Performance Test to test a network interface, see Testing a Network Interface by Using the Winsock Performance Test. For information about using the Winsock Performance Test to test a gateway, see Testing a Gateway by Using the Winsock Performance Test.
Before running the test, verify the stability of the hardware connection and the network miniport driver. Microsoft recommends that you use a physical network interface to evaluate the performance of the network driver in a run-time image. Do not use the VMini virtual network adapter with the Winsock Performance Test because the results likely do not represent the maximum possible throughput for the run-time image.
The following table shows the software requirements for the Windows CE–based device or Windows–based desktop computer that is the client for the Winsock Performance Test. For a Windows CE–based device, the run-time image must support Winsock and the network infrastructure that you want to test. For Ethernet-based tests, you must set the SYSGEN_WINSOCK2, SYSGEN_TCPIP, and SYSGEN_NDIS variables in the OS design and the variable for the driver that you want to test.
Requirements | Description | Path to file for a Windows CE–based device | Path to file for a Windows-based desktop computer |
---|---|---|---|
Tux.exe | Tux test harness, which is required for executing the test. | <Platform Builder installation path>\Cepb\Wcetk\Ddtk\<CPU> | <Platform Builder installation path>\Cepb\Wcetk\Ddtk\Desktop |
Kato.dll | Kato logging engine, which is required for logging test data. | <Platform Builder installation path>\Cepb\Wcetk\Ddtk\<CPU> | <Platform Builder installation path>\Cepb\Wcetk\Ddtk\Desktop |
Tooltalk.dll | Application required by Tux.exe and Kato.dll. Handles the transport between the target device and the development workstation. | <Platform Builder installation path>\Cepb\Wcetk\Ddtk\<CPU> | <Platform Builder installation path>\Cepb\Wcetk\Ddtk\Desktop |
Perflog.dll | Module that contains functions that monitor and log performance. | <Platform Builder installation path>\Cepb\Wcetk\Ddtk\<CPU> | <Platform Builder installation path>\Cepb\Wcetk\Ddtk\Desktop |
Perf_winsock2.dll | Test .dll file. | <Platform Builder installation path>\Cepb\Wcetk\Ddtk\<CPU> | <Platform Builder installation path>\Cepb\Wcetk\Ddtk\Desktop |
The following table shows the software requirements for a supporting Windows–based desktop computer or a Windows CE–based device that is the server for the Winsock Performance Test.
Requirement | Description | Path to file for a Windows CE–based device | Path to file for a supporting Windows-based desktop computer |
---|---|---|---|
Perf_winsockd2.exe | Server executable file. | <Platform Builder installation path>\Cepb\Wcetk\Ddtk\<CPU> | <Platform Builder installation path>\Cepb\Wcetk\Ddtk\Desktop |
Note When you run the Winsock Performance Test, the Microsoft Windows CE Test Kit (CETK) temporarily copies files to the root directory of the Windows CE–based device. While the test runs, it dynamically consumes program memory on the target device. Before running the test, verify that there is at least 0.3 megabytes (MB) of free storage memory on the target device. Also verify that there is at least 1.0 MB of free program memory on the target device. If there is not sufficient storage memory or program memory available, the test cannot run.
See Also
CETK Tests | Command-Line Parameters for the Winsock Performance Test | Winsock Performance Test Cases
Send Feedback on this topic to the authors