次の方法で共有


Test Cases for the Winsock Performance Test (Windows Embedded CE 6.0)

1/6/2010

By default, each test case for the Winsock Performance Test runs once for each buffer or packet size specified in a predefined list of buffer or packet sizes. For TCP, the following buffer or packet sizes are tested: 16, 32, 64, 128, 256, 512, 1024, 1460, 2048, 2920, 4096, and 8192 bytes. For User Datagram Protocol (UDP), the following buffer or packet sizes are tested: 16, 32, 64, 128, 256, 512, 1024, and 1460 bytes.

By default, a test case sends each packet or buffer 10,000 times for throughput tests and 100 times for ping tests.

The following table shows the test cases for the Winsock Performance Test. For more information about specifying the buffer size, number of iterations, and other settings from the command line, see Command Line Parameters for the Winsock Performance Test.

Test case Description

1001

TCP Send Throughput

Uses the Winsock sendfunction to send data over TCP from the Perf_winsock2.dll client to the server, which receives data by using the Winsock recvfunction.

This test case expresses send throughput in kilobytes per second. The test case measures the time required to send an amount of data, not including protocol headers, which is determined by the specified buffer size and the number of iterations. This test ignores the setup and teardown time for the TCP connection when evaluating throughput. The test case measures CPU use at the client. A value of 100 percent indicates that the CPU is fully used.

1002

TCP Recv Throughput

Uses the Winsock recv function to receive data over TCP at the Perf_winsock2.dll client from the server, which sends data by using the Winsock send function.

This test case expresses receive throughput in kilobytes per second. The test case measures the time required to receive an amount of data, not including protocol headers, which is determined by the specified buffer size and the number of iterations. This test ignores the setup and teardown time for the TCP connection when evaluating throughput. The test case measures CPU use at the client. A value of 100 percent indicates that the CPU is fully used.

1003

TCP Ping

Instructs the client and server to run a TCP ping test where the Perf_winsock2.dll client uses the Winsock send function to send a TCP packet, or set of packets making up a specified buffer size, to the server. The server replies by sending the same packet to the client.

This test case expresses TCP ping delay in milliseconds. The test case measures the average time elapsed between the client sending a packet and receiving a response from the server. This test ignores setup and teardown times for the TCP connection when evaluating delay.

1004

TCP Send Throughput Nagle Off

Runs test case 1001 with the Nagle algorithm disabled.

1005

TCP Recv Throughput Nagle Off

Runs test case 1002 with the Nagle algorithm disabled.

1006

TCP Ping Nagle Off

Runs test case 1003 with the Nagle algorithm disabled.

1007

UDP Send Throughput

Uses the Winsock send function to send data over UDP from the Perf_winsock2.dll client to the server, which receives data by using the Winsock recv function.

This test case expresses send throughput in kilobytes per second. The test case measures the time required to send an amount of data, not including protocol headers, which is determined by the specified buffer size and the number of iterations. The test case measures CPU use at the client. A value of 100 percent indicates that the CPU is fully used.

1008

UDP Send Packet Loss

Sends data over user datagram protocol (UDP) from client to server at different rates to discover when packet loss occurs.

For each rate, this test case expresses packet loss by showing the percentage of packets sent that were received by the server. The test case measures CPU use at the client. A value of 100 percent indicates that the CPU is fully used.

1009

UDP Recv Throughput

Varies the send rate from the server to discover the maximum rate at which the client can receive UDP packets with no packet loss.

This test case expresses in kilobytes per second the maximum rate at which the client can receive data in UDP packets, not including protocol headers. The test case measures CPU use at the client. A value of 100 percent indicates that the CPU is fully used.

1010

UDP Recv Packet Loss

Sends data over UDP from server to client at different rates to discover when packet loss occurs.

For each rate of data transmission, this test case expresses packet loss by showing the percentage of packets sent that were received by the client. The test case measures CPU use at the client. A value of 100 percent indicates that the CPU is fully used.

1011

UDP Ping

Instructs the client and server to run a UDP ping test where the Perf_winsock2.dll client uses the Winsock send function to send a UDP packet, or set of packets making up a specified buffer size, to the server. The server replies by sending the same packet to the client.

This test case expresses UDP ping delay in milliseconds. The test case measures the average time elapsed between the client sending a packet and receiving a response from the server.

1012

TCP SendRecv Throughput

This test is a combination of tests 1001 and 1002. It simultaneously compares send and receive throughput. For each packet size, this test sends a 128 KB buffer.

1013

UDP SendRecv Throughput

This test is a combination of tests 1007 and 1009. It simultaneously compares send and receive throughput. For each packet size, this test sends a 128 KB buffer.

See Also

Other Resources

Winsock Performance Test