다음을 통해 공유


Command Line Parameters for the Winsock Performance Test (Windows Embedded CE 6.0)

1/6/2010

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, which 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 bufsize1,bufsize2,...

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 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

Other Resources

Winsock Performance Test