winsat cpu


Applies To: Windows 7,Windows Vista,Windows Server 2008,Windows Server 2008 R2

Assesses the performance of the processor(s) using encryption and decryption or compression and decompression.

For examples of how to use this command, see Examples.

Syntax


Copy Code

winsat cpu <[encryption|encryption2]|[compression|compression2]> [optional parameters]

Parameters

Important

Only one of the four required parameters is required to run the assessment.

Required Parameter

Description

-encryption

Run the encryption and decryption sub-assessment using 256-bit AES cryptographic algorithms.

-encryption2

Run the encryption and decryption sub-assessment computing a SHA1 hash.

-compression

Run the compression and decompression sub-assessment using a Lempel-Zev algorithm.

-compression2

Run the compression and decompression sub-assessment using an internal Microsoft compression algorithm. This is the same algorithm used to compress the hibernation file and with ReadyBoost and ReadyDrive technologies.

Optional Parameter

Description

-buffersize <n>

Define the buffer size for the assessment. The minimum is 4K. The maximum is 2MB. The default is 16KB.

-data <file name>

Specify a file to be loaded into the buffer for use in the assessment. The default file used if none is specified is %SystemRoot%\system32\shell32.dll.

-nbr <n>

Specify the number of buffer regions used in the assessment. The default is 16 regions.

-brs <n>

Specify the size of buffer regions used in the assessment.

-v

Send verbose output to STDOUT, including status and progress information. Any errors will also be written to the command window.

-xml <file name>

Save the output of the assessment as the specified XML file. If the specified file exists, it will be overwritten.

-idiskinfo

Save information about physical volumes and logical disks as part of the <SystemConfig> section in the XML output.

-iguid

Create a globally unique identifier (GUID) in the XML output file.

-note "note text"

Add the note text to the <note> section in the XML output file.

-icn

Include the local computer name in the XML output file.

-eef

Enumerate extra system information in the XML output file.

Note

A combination of -buffersize, -nbr, and -brs can be specified, but only two can be used simultaneously.

Additional considerations

The -buffersize value defaults to bytes unless a suffix is used with the number supplied. The following suffixes can be used to specify other magnitudes:

Examples:

Examples


Copy Code

winsat cpu -encryption


Copy Code

winsat cpu -compression2

Remarks

Additional references

Winsat