From Fedora Project Wiki

DATE WHEN WHERE
2009-10-22 From 12:00 to 21:00 UTC (8am -> 5pm EDT) #fedora-test-day (webirc)

What to test[edit]

We'd like to check power management tuning available for Fedora-12.

If you come to this page after the test day is completed, your testing is still valuable. You can check whether you save some energy after applying tuning.

Who's available[edit]

The following cast of characters will be available testing, workarounds, bug fixes, general discussion ...

Prerequisite[edit]

Disk space
Please make sure you have enough space on your disk. You will need kernel-debuginfo package whis is about 250MB large!
Live systems
We prefer testing on installed system. It is almost impossible to test on LiveCD because of required disk space. If you decide to test on LiveUSB, please, add a note into results table about this (into HW column).
  1. An installed Rawhide (development version of Fedora) with graphical environment. Alternatively, you may install Fedora 12 Beta and update your system.
  2. SELinux isn't needed, users don't have to enable it.
  3. Internet connection
  4. The special-purpose Test Day RPM package which includes necessary dependencies and provides all testing scripts.
    1. Download the package for your architecture: (i686, x86_64, ppc, ppc64)
    2. Download the package public key and import into RPM: su -c "rpm --import testday-20091022.asc"
    3. Lastly, install the package using: yum --enablerepo=rawhide-debuginfo localinstall testday-pm-0.6-1.fc12.YOURARCH.rpm
  5. Kernel debugging info:
    • Install the required package: debuginfo-install kernel
    • Alternatively, you can install the debuginfo kernel using yum: yum --enablerepo=rawhide-debuginfo install kernel-debuginfo
    • NOTE - be sure that the kernel-debuginfo version matches your kernel version. You can confirm by running the command rpm -q kernel-debuginfo-$(uname -r)
  6. Upload your hardware to Smolt according to these instructions.

Running the tests[edit]

Update your machine[edit]

It will be needed rawhide machine. Howto install or update Rawhide.

Tests[edit]

The test cases are split into test groups. Some of the tests are a bit time-consuming. Please perform as many tests as possible. If you aren't able to run them all, please remember that the tests in each table are sorted by importance in descending order.

You don't have to download any special scripts for each test. Our Testday package provides following commands:

  • testday-run-testname (performing tests)
  • testday-pack-results (packing results of all tests in .tag.gz file)

There is a note about permission in the description of each test. Please follow this information.

X Window System[edit]

These tests should be performed on all systems in X11 environment.

Testcase Description ETA
personal Typical use of computer (do whatever you are doing usually). CPU states and frequencies. 10 minutes
scomes Ticks, syscall count, read/written bytes when performing some specific tasks. 1 minute

Single mode[edit]

These tests should be performed in single mode.

Refraining reboots
We recommend reading the description of both tests and performing these in sequence - to refrain more reboots.
Testcase Description ETA
tuned CPU states and frequencies when tuning daemon enabled 7 minutes
basic Stress situations (BZIP2 compression, disk copying, vsftpd test) 2 minutes

Laptops[edit]

Following tests are intended only for laptops. If you don't have a laptop, don't perform these tests because they are based on capacity of a battery.

Battery
Please charge your battery before performing any test.
Testcase Description ETA
bltk Power consumption during three simulated workloads (idle, OpenOffice, reader). 15 minutes
tunedprofiles Tuned profiles effect on power consumption. 5-20 minutes
alpm A simple test to determine effect of SATA link power management settings on power consumption. 10 minutes

Results[edit]

  • Send your Smolt profile if you haven't done it already (see Prerequsite).
  • Create compressed file with results by running: testday-pack-results
  • Upload created file to this wiki.
  • Add your results into the table below.
File uploading
The testday-pack-results will create file /tmp/testday-091022-your-public-smolt-profile-uuid.tar.gz. This name should be unique. But pay attention when uploading it - do not overwrite somebody else's file!
User Smolt Profile Results file ALPM result Comments & problems
User:ExampleUser HW profile results
guaneryu HW profile results desktop
guaneryu HW profile results No SATA device laptop
User:czhang HW profile results
User:hdong HW profile results
User:hdong HW profile results No such files - /sys/class/scsi_host/host*/link_power_management_policy
User:jbao HW profile results
User:jbao HW profile results No SATA device
User:Liam HW profile results
Jan Vcelak HW profile results desktop
Jan Vcelak HW profile results max: 17.6W med: 17.5W min: 17.4W laptop
User:ykopkova HW profile results
User:jscotka HW profile results max: 37.2W, medium: 36.3W, min: 36.6W It seems that changing powerstates was more less without effects
jkoten HW profile results max: 16.1W, medium: 16.0W, min: 15.6W
mmaslano HW profile results No such files - /sys/class/scsi_host/host*/link_power_management_policy
alich HW profile results
User:tpelka HW profile results
urban HW profile results
User:rrakus HW profile results No SATA on machine Well, stap and battery things doesn't work on ppc (iBook G4)
Michal Nowak HW profile results
Phil Knirsch HW profile results
James Laska HW profile results No such files - /sys/class/scsi_host/host*/link_power_management_policy
Geert Janssens HW profile results No such files - /sys/class/scsi_host/host*/link_power_management_policy
Mike Gahagan HW profile results min_pwr:21.2 max_perf: 21.9 med_pwr: 21.2 noticed some inconsistancy in pwr readings, with 1019 USB image, usage is about 2.5W less.. HD likely spun down
Vincent Danen HW profile results
Luya Tshimbalanga HW profile results
User:rblok HW profile results
David Tardon HW profile results
Evan McNabb HW profile results max_perf: 16.4 med_pwr: 16.3 min_pwr: 15.9
Luya Tshimbalanga HW profile results No such files - /sys/class/scsi_host/host*/link_power_management_policy LG Xnote LT-20 laptop
User:BobLfoot HW profile results ALPM would not execute as instructed Dell Dimension B120 laptop One Crash of Python during test bug filed
Petr Lautrbach HW profile results