PMTE is an ACPI stress tool. PMTE includes a suite of power management stress tests designed to exercise each ACPI sleep state supported by a system, and each device power state supported by individual devices. Prior to entering and after resuming from each sleep cycle, the devices in the system are tested for functionality using Win32 interfaces or other methods. Examples include accessing files on the system disk or pinging other machines on the network. During testing, if a device node fails a test, hangs, or otherwise stops working, PMTE will break into the attached kernel debugger to allow the issue to be debugged. PMTE should be run with a kernel debugger attached to the system and debugging enabled. If the kernel debugger is not enabled, PMTE will throw an access violation (AV) when it cannot communicate with a device. Several scripts are supplied to allow tests to be repeated automatically, as many times as you specify.
Note: ACPI Stress works only with Windows 2000, Windows XP, and Windows Server 2003.
PMTE tests the following device types.
There are three methods available to run PMTE; using the batch file pmteauto.bat, running pmte.exe and selecting test options, or running pmte.exe from the command line, specifying one of the included scripts and available command line options.
This method is designed to automate running PMTE. This option will test every device on the system while cycling through all supported system sleeps states. After it has tested every device and every supported sleep state once, it then will repeat this test 99 consecutive times.
This method allows you to have full control over how PMTE executes. Running pmte.exe will present you with a dialog box containing three tabs labeled Device to Test, Script Run, and Advanced.
The Device to Test tab allows selection of the devices to be tested. To exclude testing a specific device simply deselect the device in this tab.
The Script Run tab allows selection of available scripts. You can then elect how long you want PMTE to run by specifying the test duration in days, hours, and minutes, the number of days and a specific time of day, or the number of test cycles. You may also specify which system sleep states to exclude.
The Advanced tab allows configuration of the following settings.
To run a PMTE script, enter the following command:
pmte /rs: <scriptName> <NumberOfTimes>
To exclude one or more devices types, you may use the /sdt: (Skip Device Type) switch for each device type you want to omit.
For example, to omit the serial port and Floppy devices types, enter the command below.
pmte /sdt: com /sdt: bootfloppy
It is usually a good idea to skip the bootfloppy because hibernate will probably not be automated.
Devices that can be excluded by including the /sdt command line switch are:
/QOS:
Causes PMTE to exit when testing completes, if all tests have passed.
/LOG: [log file name]
The default log file name is pmte.log. This switch allows a different log filename to be specified.
|
© Microsoft Corporation 2002