From Fedora Project Wiki
m (Minor wiki tweaks) |
m (Excessive use of bold!) |
||
Line 15: | Line 15: | ||
# Record power usage using the following command: | # Record power usage using the following command: | ||
#: <pre>powertop -d -t 60 | grep 'Power usage'</pre> | #: <pre>powertop -d -t 60 | grep 'Power usage'</pre> | ||
# Record the ACPI power usage estimate printed in Watts(W). This will be the power consumption at the max_performance setting. | # Record the ACPI power usage estimate printed in Watts(W). This will be the power consumption at the '''max_performance''' setting. | ||
# <<FIXME>> | # <<FIXME>> | ||
#: <pre>for i in /sys/class/scsi_host/host*/link_power_management_policy; do echo medium_power > $i; done</pre> | #: <pre>for i in /sys/class/scsi_host/host*/link_power_management_policy; do echo medium_power > $i; done</pre> | ||
# <<FIXME>> | # <<FIXME>> | ||
#: <pre>powertop -d -t 60 | grep 'Power usage'</pre> | #: <pre>powertop -d -t 60 | grep 'Power usage'</pre> | ||
# Record the ACPI power usage estimate printed in Watts(W). This will be the power consumption at the medium_power setting. | # Record the ACPI power usage estimate printed in Watts(W). This will be the power consumption at the '''medium_power''' setting. | ||
# <<FIXME>> | # <<FIXME>> | ||
#: <pre>for i in /sys/class/scsi_host/host*/link_power_management_policy; do echo min_power > $i; done</pre> | #: <pre>for i in /sys/class/scsi_host/host*/link_power_management_policy; do echo min_power > $i; done</pre> | ||
# <<FIXME>> | # <<FIXME>> | ||
#: <pre>powertop -d -t 60 | grep 'Power usage'</pre> | #: <pre>powertop -d -t 60 | grep 'Power usage'</pre> | ||
# Record the ACPI power usage estimate printed in Watts(W). This will be the power consumption at the min_power setting. | # Record the ACPI power usage estimate printed in Watts(W). This will be the power consumption at the '''min_power''' setting. | ||
|results= | |results= |
Revision as of 19:50, 21 October 2009
Description
A simple test to determine effect of SATA link power management settings on power consumption.
Privileges: Root
Runlevel: singleuser
ETA: 10 minutes
How to test
- Make sure laptop battery is fully charged.
- Reboot laptop to single user mode. Refer to the Install guide for more information about single user mode
- Unplug AC power from the laptop.
- Enable max link performance using the following command:
for i in /sys/class/scsi_host/host*/link_power_management_policy; do echo max_performance > $i; done
- Record power usage using the following command:
powertop -d -t 60 | grep 'Power usage'
- Record the ACPI power usage estimate printed in Watts(W). This will be the power consumption at the max_performance setting.
- <<FIXME>>
for i in /sys/class/scsi_host/host*/link_power_management_policy; do echo medium_power > $i; done
- <<FIXME>>
powertop -d -t 60 | grep 'Power usage'
- Record the ACPI power usage estimate printed in Watts(W). This will be the power consumption at the medium_power setting.
- <<FIXME>>
for i in /sys/class/scsi_host/host*/link_power_management_policy; do echo min_power > $i; done
- <<FIXME>>
powertop -d -t 60 | grep 'Power usage'
- Record the ACPI power usage estimate printed in Watts(W). This will be the power consumption at the min_power setting.
Expected Results
Please add the following to the results table.
- Power consumption for all three link power settings, max_performance, medium_power, min_power.
- Your smolt system profile. (no need to resubmit if you have already for one of the other tests)
- Please open bugs if you notice any abnormal behavior such as system hangs, kernel oops messages, serious IO performance degradation.
- You may return your system to its default state by running the command in step 4 again or just reboot.