From Fedora Project Wiki

No edit summary
No edit summary
 
Line 5: Line 5:
{{admon/note|If you do not have 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 do not have 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_load|Tuned psave load]] test.}}
{{admon/note|If you complete this test, please also complete the [[QA:Testcase_Power_Management_tuned_powersave_load|Tuned psave load]] test.}}
{{admon/warning|This test requires cca. 256 MB free RAM and disk space (not counting the OS).}}
{{admon/warning|This test requires cca. 256 MB free RAM / disk space (not counting the OS).}}
{{admon/warning|This test will stress your hard drive and CPU with the postmark benchmark. The stress load may shorten life of SSDs.}}
|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. Scripts are provided:
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:
# 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>
#:<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''.
#* 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.}}
{{admon/warning|If you run on battery and your battery is charged to less than 50% of its capacity please re-charge it before this test.}}
# If you have laptop, disconnect AC and run only on battery.
# If you have laptop, disconnect AC and run only on battery.
#* Please make sure your battery is charged on more than 50%.
#* Please make sure your battery is charged to 100%.
# Enable tuned throughput-performance profile by:
#:<pre># tuned-adm profile throughput-performance</pre>
# Run the following command:
# Run the following command:
#:<pre># pmtd-measure-performance-load</pre>
#:<pre># pmtd-measure-load</pre>
# Do not touch your computer until the test completes (cca. 5 - 30 minutes).
# Do not touch your computer until the test completes (cca. 5 - 30 minutes).
# Write the output to the results table.
# Write the output to the results table.

Latest revision as of 23:30, 23 March 2011

Description

This test case measures energy consumed by you system while under postmark load with laptop-battery-powersave profile activated.

This test was designed especially for laptop users, but the results are valuable even for non-laptops.
This test will take approx. 5 - 30 minutes (it depends on your computer).
If you do not have enough time feel free to skip this test. In this case please leave the corresponding column in the results table blank.
If you complete this test, please also complete the Tuned psave load test.
This test requires cca. 256 MB free RAM / disk space (not counting the OS).

Setup

  1. 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:

  1. Disable screensaver (if applicable).
  2. Disable sleep mode, in Gnome 3:
    $ gnome-control-center power
    • Uncheck "On battery power"
  3. Disable LCD power savings, in Gnome 3:
    $ gnome-control-center screen
    • Uncheck "Dim screen to save power".
    • Set "Turn off after" to max. value.
  4. Disable cron:
    # service crond stop
  5. 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

For laptop users it is preferred to run this test on battery.
  1. If you have laptop, disconnect AC and run only on battery.
    • Please make sure your battery is charged to 100%.
  2. Enable tuned throughput-performance profile by:
    # tuned-adm profile throughput-performance
  3. Run the following command:
    # pmtd-measure-load
  4. Do not touch your computer until the test completes (cca. 5 - 30 minutes).
  5. Write the output to the results table.

Expected Results

  1. The time taken by the test is written to the stdout.
  2. In case you have laptop running on battery the energy consumed during the test is also written to the stdout.