CmdID

CmdID / Commands

winsat mem

The winsat mem command tests system memory bandwidth using a process similar to the large memory-to-memory buffer copies in multimedia processing. Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

The winsat mem command tests system memory bandwidth using a process similar to the large memory-to-memory buffer copies in multimedia processing. - Minimum requirement to use the winsat mem command is membership in the local Administrators group (or equivalent). Winsat mem must be executed from an elevated command prompt window. - To open an elevated command prompt window, select Start, select Accessories, right-select Command Prompt, and select Run as administrator.

winsat mem <parameters>

To run the assessment for a minimum of 4 seconds and no longer than 12 seconds, using a 32-MB buffer size and saving the results in XML format to the file memtest.xml

winsat mem -mint 4.0 -maxt 12.0 -buffersize 32MB -xml memtest.xmlIdentify
-mintSpecify the minimum run time in seconds for the assessment. Windows commands reference
-maxtSpecify the maximum run time in seconds for the assessment. Windows commands reference
-buffersizeSpecify the buffer size that the memory copy test should use. Windows commands reference
-xmlSave the output of the assessment as the specified XML file. Windows commands reference
Show 14 options
-upForce memory testing with only one thread. The default is to run one thread per physical CPU or core.
-rnSpecify that the assessment's threads should run at normal priority. The default is to run at priority 15.
-ncSpecify that the assessment should allocate memory and flag it as uncached. This flag means that the processor's caches is bypassed for copy operations. The default is to run in cached space.
-do <n>Specify the distance in bytes, between the end of the source buffer and the beginning of the destination buffer. The default is 64 bytes. The maximum allowable destination offset is 16 MB. Specifying an invalid destination offset results in an error. Note: Zero is a valid value for <n>, but negative numbers aren't.
-mint <n>Specify the minimum run time in seconds for the assessment. The default is 2.0. The minimum value is 1.0. The maximum value is 30.0. Note: Specifying a -mint value greater than the -maxt value when the two parameters are used in combination results in an error.
-maxt <n>Specify the maximum run time in seconds for the assessment. The default is 5.0. The minimum value is 1.0. The maximum value is 30.0. If used in combination with the -mint parameter, the assessment will begin to do periodic statistical checks of its results after the period of time specified in -mint. If the statistical checks pass, then the assessment finishes before the period of time specified in -maxt has elapsed. If the assessment runs for the period of time specified in -maxt without satisfying the statistical checks, then the assessment finishes at that time and return the results it has collected.
-buffersize <n>Specify the buffer size that the memory copy test should use. Twice this amount is allocated per CPU, which determines the amount of data copied from one buffer to another. The default is 16 MB. This value is rounded to the nearest 4-KB boundary. The maximum value is 384 MB. The minimum value is 64 KB. Specifying an invalid buffer size results in an error.
-vSend verbose output to STDOUT, including status and progress information. Any errors are 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.
-idiskinfoSave information about physical volumes and logical disks as part of the <SystemConfig> section in the XML output.
-iguidCreate a globally unique identifier (GUID) in the XML output file.
-note <note text>Add the note text to the <note text> section in the XML output file.
-icnInclude the local computer name in the XML output file.
-eefEnumerate extra system information in the XML output file.