From Fedora Project Wiki

Revision as of 22:15, 20 March 2011 by Jskarvad (talk | contribs)

Description

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

Note.png
This test was designed especially for laptops, but the results are valuable even for non-laptops.
Note.png
This test will take approx. 5 - 30 minutes (it depends on your computer).
Note.png
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.
Note.png
If you complete this test, please also complete the Tuned perf load test.
Warning.png
This test requires cca. 256 MB free RAM and disk space (not counting the OS).
Warning.png
This test will stress your hard drive and CPU with the postmark benchmark. The stress load may shorten life of SSDs.

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. Scripts are provided:

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

Note.png
For laptop users it is preferred to run this test on battery.
Warning.png
If you run on battery and your battery is charged to less than 50% of its capacity please re-charge it before this test.
  1. If you have laptop, disconnect AC and run only on battery.
    • Please make sure your battery is charged on more than 50%.
  2. Run the following command:
    # pmtd-measure-powersave-load
  3. Do not touch your computer until the test completes (cca. 5 -30 minutes).
  4. 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.