From Fedora Project Wiki
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test case measures energy consumed by you system while in active idle with throughput-performance profile activated. | |description=This test case measures energy consumed by you system while in active idle with throughput-performance profile activated. | ||
{{admon/note|This test targets laptop users. | {{admon/note|This test targets laptop users.}} | ||
{{admon/note|This test will take approx. 15 minutes.}} | |||
{{admon/note|If you do not have laptop or enough time feel free to skip this test. In this case please leave the corresponding column in the results table blank.}} | |||
{{admon/note|If you complete this test, please also complete the [[QA:Testcase_Power_Management_tuned_powersave_idle|Tuned psave idle]] test.}} | |||
|setup= | |setup= | ||
# 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: | |||
# Disable screensaver (if applicable). | |||
# Disable sleep mode, in Gnome 3: | |||
#:<pre>$ gnome-control-center power</pre> | |||
#* Uncheck "On battery power" | |||
# Disable LCD power savings, in Gnome 3: | |||
#:<pre>$ gnome-control-center screen</pre> | |||
#* Uncheck "Dim screen to save power". | |||
#* Set "Turn off after" to max. value. | |||
# Disable cron: | |||
#:<pre># service crond stop</pre> | |||
# 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''. | |||
|actions= | |actions= | ||
{{admon/note|This test needs to be run on battery.}} | |||
{{admon/note|Before running this test please recharge your battery to full capacity.}} | |||
{{admon/note|If it complains that the test cannot be run on your computer, please skip this test.}} | |||
# Enable tuned throughput-performance profile by: | |||
#:<pre># tuned-adm profile throughput-performance</pre> | |||
# Run the following command: | # Run the following command: | ||
#:<pre># | #:<pre># pmtd-measure-idle</pre> | ||
# Do not touch your computer until the test completes (cca. 15 minutes). | # Do not touch your computer until the test completes (cca. 15 minutes). | ||
# Write the output to the results table. | # Write the output to the results table. |
Latest revision as of 23:27, 23 March 2011
Description
This test case measures energy consumed by you system while in active idle with throughput-performance 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:
- Disable screensaver (if applicable).
- Disable sleep mode, in Gnome 3:
$ gnome-control-center power
- Uncheck "On battery power"
- Disable LCD power savings, in Gnome 3:
$ gnome-control-center screen
- Uncheck "Dim screen to save power".
- Set "Turn off after" to max. value.
- Disable cron:
# service crond stop
- 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.
How to test
- Enable tuned throughput-performance profile by:
# tuned-adm profile throughput-performance
- Run the following command:
# pmtd-measure-idle
- Do not touch your computer until the test completes (cca. 15 minutes).
- Write the output to the results table.
Expected Results
- Energy consumed during the test is written to the stdout.