From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
# Check that you have ''pm-test-day'' package installed: | # Check that you have ''pm-test-day'' package installed: | ||
#:<pre>$ rpm -q pm-test-day</pre> | #:<pre>$ rpm -q pm-test-day</pre> | ||
For better results disable screensaver, screen dimming/turning off, transition to sleep mode, HDD power savings and cron service. Scripts are provided: | |||
# Disable user PM via gconf (and save previous settings), it needs to be run under user who is logged into desktop: | |||
#:<pre>$ pmtd-pm-user-settings saveoff</pre> | |||
#* After the test it is possible to restore the previous settings by using the ''restore'' parameter instead of ''saveoff'': | |||
# Disable system PM (and save previous settings): | |||
#:<pre># pmtd-pm-system-settings saveoff</pre> | |||
#* After the test it is possible to restore the previous settings by using the ''restore'' parameter instead of ''saveoff'': | |||
|actions= | |actions= | ||
{{admon/note|For laptop users it is preferred to run this test on battery.}} | {{admon/note|For laptop users it is preferred to run this test on battery.}} |
Revision as of 20:51, 20 March 2011
Description
This test case measures energy consumed by you system while in active idle with laptop-battery-powersave profile activated.
Setup
- Check that you have pm-test-day package installed:
$ rpm -q pm-test-day
For better results disable screensaver, screen dimming/turning off, transition to sleep mode, HDD power savings and cron service. Scripts are provided:
- Disable user PM via gconf (and save previous settings), it needs to be run under user who is logged into desktop:
$ pmtd-pm-user-settings saveoff
- After the test it is possible to restore the previous settings by using the restore parameter instead of saveoff:
- Disable system PM (and save previous settings):
# pmtd-pm-system-settings saveoff
- After the test it is possible to restore the previous settings by using the restore parameter instead of saveoff:
How to test
- If you have laptop, disconnect AC and run only on battery.
- Please make sure your battery is charged on more than 50%.
- Run the following command:
# pmtd-measure-performance-load
- Do not touch your computer until the test completes (cca. 15 minutes).
- Write the output to the results table.
Expected Results
- The time taken by the test is written to the stdout.
- In case you have laptop running on battery the energy consumed during the test is also written to the stdout.