Command-Line Parameters for the Winsock Performance Test (Windows CE 5.0)

Send Feedback

You can modify the behavior of the Winsock Performance Test by editing the command line for the test. To specify one or more of the following optional command-line parameters for this test, use the –c command-line parameter. The -c parameter forces Tux to pass the specified string into the test module. For more information about how to edit the command line for a test, see Editing the Command Line for a Test.

The following table shows the command-line parameters for the Winsock Performance Test.

Command-line parameter Description
-?
Displays a list of command-line parameters for the test.
-s <server>
Specifies the server name or server Internet Protocol (IP) address. The default value is localhost.
-i <ip_version>
Specifies which IP version to use. This value must be 4 or 6. The default value is 4.
-b <buffer_size_1>,<buffer_size_2>,...,<buffer_size_n>
Specifies a comma-delimited list of buffer sizes through which to iterate.
-n <num_buffers>
Specifies the number of buffers to send or receive. The default value is 10000.
-p <num_ping_buffers>
Specifies the number of buffers to send or receive in ping tests. The default value is 100.
-r <send_rate>
Specifies the rate at which the server or client sends data, in kilobits per second (Kbps). This parameter specifies how often the server or client calls the send function. The default value is max.
-t <recv_rate>
Specifies the rate at which the server or client receives data, in Kbps. This parameter specifies how often the server or client calls the recv function. The default value is max.
-g <gw_option>
Throttles send operations on the client during test case 1007. The default value is 0, which means that throttling is disabled.

You can use this parameter when you test a gateway.

-x <name_extension>
Applies a file name extension to the file name generated by Perflog.dll
-k <ce_priority>
Sets the priority of the thread that processes send and receive operations. The default value is 251.
-m <montecarlo_opt>
Enable or disables Monte Carlo logging while the test runs. The default value is FALSE.
-c <alt_cpu_mon_opt>
If the run-time image does not support the GetIdleTime function, specifies that the test can use a different method to take CPU measurements. The default value is FALSE.
-q <udp_recv_queue>
Set the byte size of the UDP receive queue. The default is 32768 bytes.

See Also

Winsock Performance Test | Testing a Network Interface by Using the Winsock Performance Test | Testing a Gateway by Using the Winsock Performance Test | Winsock Performance Test Cases

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.