From Fedora Project Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 7: Line 7:
|}
|}


== What to test ==
{{admon/warning|Under construction|The site is still under construction. Anything can change before the testday.}}
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.
== Purpose of this test ==
 
{{admon/warning|TODO|Some text here. ;)}}


== Who's available ==
== Who's available ==
Line 16: Line 17:
The following cast of characters will be available testing, workarounds, bug fixes, general discussion ...
The following cast of characters will be available testing, workarounds, bug fixes, general discussion ...
* Development - [[User:Pknirsch|Phil Knirsch]], [[User:mmaslano|Marcela Maslanova]] (marcela on irc), [[User:Plautrba|Petr Lautrbach]], [[User:Jskala|Jiri Skala]] (skalnik on irc)
* Development - [[User:Pknirsch|Phil Knirsch]], [[User:mmaslano|Marcela Maslanova]] (marcela on irc), [[User:Plautrba|Petr Lautrbach]], [[User:Jskala|Jiri Skala]] (skalnik on irc)
* Quality Assurance - [[User:jscotka|Jan Scotka]]
* Quality Assurance - [[User:dpravec|David Pravec]] (dpravec), [[User:jscotka|Jan Scotka]]


== Prerequisite ==  
== Prerequisite ==  


{{admon/caution|Disk space|Please make sure you have enough space on your disk. You will need <code>kernel-debuginfo</code> package whis is about 250MB large!}}
{{admon/warning|TODO|Upload new RPM, update its name, what about signing it?}}
{{admon/note|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).}}


# An installed [[Releases/Rawhide|Rawhide]] (development version of Fedora) with graphical environment.  Alternatively, you may install [http://fedoraproject.org/get-prerelease Fedora 12 Beta] and update your system.
* [[Releases/Rawhide|Rawhide]] - development version of Fedora
# [[SELinux]] isn't needed, users don't have to enable it.
* Internet connection
# Internet connection
* The special-purpose [http://mmaslano.fedorapeople.org/TestDay/testday-pm-0.1-2.fc12.noarch.rpm Testday RPM package] which includes necessary dependencies and provides all testing scripts.
# The special-purpose Test Day RPM package which includes necessary dependencies and provides all testing scripts.
** Download and install with: <code>yum --nogpgcheck localinstall testday-pm-0.1-2.fc12.noarch.rpm</code>
## Download the package for your architecture: ([http://jvcelak.fedorapeople.org/testday-091022/testday-pm-0.6-1.fc12.i686.rpm i686], [http://jvcelak.fedorapeople.org/testday-091022/testday-pm-0.6-1.fc12.x86_64.rpm x86_64], [http://jvcelak.fedorapeople.org/testday-091022/testday-pm-0.6-1.fc12.ppc.rpm ppc], [http://jvcelak.fedorapeople.org/testday-091022/testday-pm-0.6-1.fc12.ppc64.rpm ppc64])
* Kernel debugging info:
## Download the [http://jvcelak.fedorapeople.org/testday-091022/testday-20091022.asc package public key] and import into RPM: <code>su -c "rpm --import testday-20091022.asc"</code>
** Use <code>debuginfo-install kernel</code> or install it manually. (In case of manual installation you have to enable debug repository in <code>/etc/yum.repos.d/fedora-rawhide.repo</code>.)
## Lastly, install the package using: <code>yum --enablerepo=rawhide-debuginfo localinstall testday-pm-0.6-1.fc12.YOURARCH.rpm</code>
** Versions of <code>kernel</code> and <code>kernel-debuginfo</code> must be the same. Please check it with:
# Kernel debugging info:
*** <code>uname -a</code>
#* Install the required package: <code>debuginfo-install kernel</code>
*** <code>rpm -q kernel-debuginfo</code>
#* Alternatively, you can install the debuginfo kernel using {{command|yum}}: <code>yum --enablerepo=rawhide-debuginfo install kernel-debuginfo</code>
* Upload your hardware to [http://www.smolts.org Smolt] according to [http://smolts.org/smolt-wiki/Main_Page#Usage these instructions].
#* ''NOTE'' - be sure that the ''kernel-debuginfo'' version matches your kernel version.  You can confirm by running the command <code>rpm -q kernel-debuginfo-$(uname -r)</code>
# Upload your hardware to [http://www.smolts.org Smolt] according to [http://smolts.org/smolt-wiki/Main_Page#Usage these instructions].


== Running the tests ==
== Running the tests ==
Line 40: Line 38:
=== Update your machine ===
=== Update your machine ===


It will be needed rawhide machine. Howto install or update [[Releases/Rawhide|Rawhide]].
See the instructions on the [[Releases/Rawhide|Rawhide]] page on the various ways in which you can install or update to Rawhide.


=== Tests ===
=== Tests ===


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.
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 sort by importance in descending order.


You don't have to download any special scripts for each test. Our Testday package provides following commands:
You don't have to download any special scripts for each test. Our Testday package provides following commands:
Line 50: Line 48:
* <code>testday-pack-results</code> (packing results of all tests in .tag.gz file)
* <code>testday-pack-results</code> (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.
{{admon/important|Privileges|Please perform all tests as a regular user. Some tests require superuser permission. In these cases you will be informed by testing script. }}


==== X Window System ====
==== X Window System ====


These tests should be performed on all systems in X11 environment.
{{admon/warning|TODO|Create separate page for each test.}}
 
Estimated time: ''12 minutes''
 
These tests should be performed on all systems with X11 (desktop, laptops).  


{| style="width:100%"
{| style="width:100%"
!style="width:15%"|Testcase
!style="width:30%"|TestCase
!style="width:75%"|Description
!style="width:50%"| Description
!style="width:10%"|ETA
!style="width:20%"| Extra Requirements
|-   
|-   
| [[QA:Testcase_Power_Management_personal|personal]]  
| [[QA:Testcase_Power_Management_personal]]  
| Typical use of computer (do whatever you are doing usually). CPU states and frequencies.
| Typical use of computer (Do whatever you are doing usually)
| 10 minutes
| ''?''
|-
|-
| [[QA:Testcase_Power_Management_scomes|scomes]]   
| [[QA:Testcase_Power_Management_scomes]]   
| Ticks, syscall count, read/written bytes when performing some specific tasks.
| Measuring and collecting data with <code>scomes</code> tool
| 1 minute
| tuned-utils, kernel-debuginfo
|}
|}


==== Single mode ====
==== Single mode ====


These tests should be performed in single mode.
Estimated time: ''10 minutes''


{{admon/tip|Refraining reboots|We recommend reading the description of both tests and performing these in sequence - to refrain more reboots.}}
These tests should be performed on all systems (desktop, laptop, servers). As you will have to reboot into single mode, install all required packages before. We recommend running the tests in sequence to refrain more reboots.


{| style="width:100%"
{| style="width:100%"
!style="width:15%"|Testcase
!style="width:30%"|TestCase
!style="width:75%"|Description
!style="width:50%"| Description
!style="width:10%"|ETA
!style="width:20%"| Extra Requirements
|-   
|-   
| [[QA:Testcase_Power_Management_tuned|tuned]]   
| [[QA:Testcase_Power_Management_Tuned]]   
| CPU states and frequencies when ''tuning'' daemon enabled
| Measuring differencies with and without tuned
| 7 minutes
| ''?''
|-
|-
| [[QA:Testcase_Power_Management_basic|basic]]  
| [[QA:Testcase_Power_Management_init_1]]  
| Stress situations (BZIP2 compression, disk copying, vsftpd test)
| Some measures in lowest runlevel. FTP working, copying of files, bzipping archive
| 2 minutes
| ''?''
|}
|}


==== Laptops ====
==== Laptops ====


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.
Estimated time: ''20-35 minutes''


{{admon/important|Battery|Please charge your battery before performing any test.}}
Following tests are intended only for laptops. If you don't have a laptop, don't perform these tests because there is no easy way how to measure your system consumption. You need to charge your battery before.


{| style="width:100%"
{| style="width:100%"
!style="width:15%"|Testcase
!style="width:30%"|TestCase
!style="width:75%"|Description
!style="width:50%"| Description
!style="width:10%"|ETA
!style="width:20%"| Extra Requirements
|-
|-
| [[QA:Testcase_Power_Management_bltk|bltk]]   
| [[QA:Testcase_Power_Management_bltk]]   
| Power consumption during three simulated workloads (idle, OpenOffice, reader).
| 3 workloads (Idle, OpenOffice, reader) measure power consumption of simulated reproducable load
| 15 minutes
| OpenOffice is required during bltk installation, Firefox
|-
|-
| [[QA:Testcase_Power_Management_tunedprofiles|tunedprofiles]]
| [[QA:Testcase_Power_Management_tuned-adm]]  
| Tuned profiles effect on power consumption.
| Measuring <code>tuned</code> profiles with <code>bltk</code>
| 5-20 minutes
| tuned-adm, bltk
|-
| [[QA:Testcase_Power_Management_alpm|alpm]]
| A simple test to determine effect of SATA link power management settings on power consumption.
| 10 minutes
|}
|}


=== Results ===
=== Test Results ===


* Send your Smolt profile if you haven't done it already (see [[Test_Day:2009-10-22#Prerequisite|Prerequsite]]).
{{admon/warning|TODO|Hmm. We have to change this.}}
* Create compressed file with results by running: <code>testday-pack-results</code>
* [[Special:Upload|Upload]] created file to this wiki.
* Add your results into the table below.


{{admon/note|File uploading|The <code>testday-pack-results</code> will create file <code>/tmp/testday-091022-your-public-smolt-profile-uuid.tar.gz</code>. This name should be unique. But pay attention when uploading it - do not overwrite somebody else's file!<br/>}}
Construct a table or list to allow testers to post results. Each column should be a test case or configuration, and each row should consist of test results. For example:


{|style="width:100%"
{|
! User
! User
! Smolt Profile
! Smolt Profile
! Results file
! [[QA:PM_Personal|PM Personal test]]
! ALPM result
! [[QA:PM_scomes|PM scomes test]]
! Comments & problems
! [[QA:PM_tuned|PM tuned test]]
|-
! [[QA:PM_init1|PM init1 test]]
| [[User:ExampleUser]]
! [[QA:PM_bltk|PM BLTK test]]
| [http://www.smolts.org/client/show/pub_84465125-1350-4f83-87b9-5f16f7430eb8 HW profile]
! [[QA:PM_tuned-adm|PM tuned-adm test]]
| [https://fedoraproject.org/w/uploads/2/2f/Testday-091022-pub_12345678-9abc-def0-123456789abcdef01.tar.gz results]
! References
|
|
|-
| guaneryu
| [http://www.smolts.org/client/show/pub_c786a5c0-ce2d-4488-9061-15958ce62738 HW profile]
| [https://fedoraproject.org/w/uploads/7/72/Testday-091022-pub_c786a5c0-ce2d-4488-9061-15958ce62738.tar.gz results]
|
| desktop
|-
| guaneryu
| [http://www.smolts.org/client/show/pub_35c96fd1-ce46-48dd-b947-735c9e656392 HW profile]
| [https://fedoraproject.org/w/uploads/5/50/Testday-091022-pub_35c96fd1-ce46-48dd-b947-735c9e656392.tar.gz results]
| No SATA device
| laptop
|-
| [[User:czhang]]
| [http://www.smolts.org/client/show/pub_6726bcea-e548-4b8d-8439-07728dba7e6b HW profile]
| [https://fedoraproject.org/w/uploads/6/6e/Testday-091022-pub_6726bcea-e548-4b8d-8439-07728dba7e6b.tar.gz results]
|
|
|-
| [[User:hdong]]
| [http://www.smolts.org/client/show/pub_f9572217-d67c-4ee8-954b-b4350273184e HW profile]
| [https://fedoraproject.org/w/uploads/d/df/Testday-091022-pub_f9572217-d67c-4ee8-954b-b4350273184e.tar.gz results]
|
|
|-
| [[User:hdong]]
| [http://www.smolts.org/client/show/pub_978f6429-8c20-45cf-9f64-fc935054cbdb HW profile]
| [https://fedoraproject.org/w/uploads/archive/7/72/20091023093033%21Testday-091022-pub_978f6429-8c20-45cf-9f64-fc935054cbdb.tar.gz results]
| No such files - /sys/class/scsi_host/host*/link_power_management_policy
|
|-
| [[User:jbao]]
| [http://www.smolts.org/client/show/pub_ce15eff2-cc86-4956-8e60-2d97fe700a88 HW profile]
| [https://fedoraproject.org/w/uploads/b/bc/Testday-091022-pub_ce15eff2-cc86-4956-8e60-2d97fe700a88.tar.gz results]
|
|
|-
| [[User:jbao]]
| [http://www.smolts.org/client/show/pub_978f6429-8c20-45cf-9f64-fc935054cbdb HW profile]
| [https://fedoraproject.org/w/uploads/7/72/Testday-091022-pub_978f6429-8c20-45cf-9f64-fc935054cbdb.tar.gz results]
| No SATA device
|
|-
| [[User:Liam]]
| [http://www.smolts.org/client/show/pub_31ffb914-0b61-4bd3-a3b1-2c143e02a913 HW profile]
| [https://fedoraproject.org/w/uploads/f/f0/Testday-091022-pub_31ffb914-0b61-4bd3-a3b1-2c143e02a913.tar.gz results]
|
|
|-
|-
| [[User:Jvcelak|Jan Vcelak]]
| [[User:FasUser]]  
| [http://www.smolts.org/client/show/pub_b6bb291a-b972-4857-b8ab-fc652a0eede6 HW profile]
| [http://www.smolts.org/client/show/pub_84465125-1350-4f83-87b9-5f16f7430eb8 HW]
| [https://fedoraproject.org/w/uploads/1/1d/Testday-091022-pub_b6bb291a-b972-4857-b8ab-fc652a0eede6.tar.gz results]
|
| desktop
|-
| [[User:Jvcelak|Jan Vcelak]]
| [http://www.smolts.org/client/show/pub_29583e4a-087d-4c60-8064-1a2050571ae3 HW profile]
| [https://fedoraproject.org/w/uploads/a/af/Testday-091022-pub_29583e4a-087d-4c60-8064-1a2050571ae3.tar.gz results]
| max: 17.6W med: 17.5W min: 17.4W
| laptop
|-
| [[User:ykopkova]]
| [http://www.smolts.org/client/show/pub_196846ff-88f5-47b2-b7f6-232aefaad3b7 HW profile]
| [https://fedoraproject.org/w/uploads/0/01/Testday-091022-pub_196846ff-88f5-47b2-b7f6-232aefaad3b7.tar.gz results]
|
|
2.40 Ghz    1.5%<BR>
2.14 Ghz    0.0%<BR>
1.87 Ghz    0.0%<BR>
1.60 Ghz    98.5%<BR>
Wakeups-from-idle per second : 99.5    interval: 30.0s
| PASS
| FAIL <ref>See {{bz|12345}}</ref>
|
|
2.40 Ghz    1.5%<BR>
2.14 Ghz    0.0%<BR>
1.87 Ghz    0.0%<BR>
1.60 Ghz    98.5%<BR>
Wakeups-from-idle per second : 99.5    interval: 30.0s
| PASS
| PASS
| <references/>
|-
|-
| [[User:jscotka]]
| [http://www.smolts.org/client/show/pub_a4c81f50-66de-4465-8d3a-ea12fb6c0f71 HW profile]
| [https://fedoraproject.org/w/uploads/c/c4/Testday-091022-pub_a4c81f50-66de-4465-8d3a-ea12fb6c0f71.tar.gz results]
| max: 37.2W, medium: 36.3W, min: 36.6W
| It seems that changing powerstates was more less without effects
|-
| [[User:jkoten|jkoten]]
| [http://www.smolts.org/client/show/pub_f2a74ea4-e0f3-47a3-832b-c45e0fa9741d HW profile]
| [https://fedoraproject.org/w/uploads/d/d7/Testday-091022-pub_f2a74ea4-e0f3-47a3-832b-c45e0fa9741d.tar.gz results]
| max: 16.1W, medium: 16.0W, min: 15.6W
|
|-
| [[User:mmaslano|mmaslano]]
| [http://www.smolts.org/client/show/pub_37488e86-fb47-4c17-9e38-2594f5beb5d2 HW profile]
| [https://fedoraproject.org/w/uploads/b/b8/Testday-091022-pub_37488e86-fb47-4c17-9e38-2594f5beb5d2.tar.gz results]
| No such files - <code>/sys/class/scsi_host/host*/link_power_management_policy</code>
|
|-
| [[User:alich|alich]]
| [http://www.smolts.org/client/show/pub_48072569-8dea-492f-96fb-8bdac2cf41ad HW profile]
| [https://fedoraproject.org/w/uploads/2/24/Testday-091022-pub_48072569-8dea-492f-96fb-8bdac2cf41ad.tar.gz results]
|
|
|-
| [[User:tpelka]]
| [http://www.smolts.org/client/show/pub_35042bf2-a850-4dd3-aa77-4040adb9e39b HW profile]
| [https://fedoraproject.org/w/uploads/6/69/Testday-091022-35042bf2-a850-4dd3-aa77-4040adb9e39b.tar.gz results]
|
|
|-
| [[User:Urban|urban]]
| [http://www.smolts.org/client/show/pub_d0368684-fd17-4513-8d6c-0981eef6e3f9 HW profile]
| [https://fedoraproject.org/w/uploads/b/ba/Testday-091022-pub_d0368684-fd17-4513-8d6c-0981eef6e3f9.tar.gz results]
|
|
|-
| [[User:rrakus]]
| [http://www.smolts.org/client/show/pub_5db0a4c0-8a02-4b55-9248-88dd0ec9c63e HW profile]
| [https://fedoraproject.org/w/uploads/e/ed/Testday-091022-pub_5db0a4c0-8a02-4b55-9248-88dd0ec9c63e.tar.gz results]
| No SATA on machine
| Well, stap and battery things doesn't work on ppc (iBook G4)
|-
| [[User:mnowak|Michal Nowak]]
| [http://www.smolts.org/client/show/pub_5cf890ed-d484-4942-a0a3-a3af94198b30 HW profile]
| [https://fedoraproject.org/w/uploads/2/2c/Testday-091022-pub_5cf890ed-d484-4942-a0a3-a3af94198b30.tar.gz results]
|
|
|-
| [[User:pknirsch|Phil Knirsch]]
| [http://www.smolts.org/client/show/pub_fca01971-af4d-4ccd-a0c9-b5fb209d800c HW profile]
| [https://fedoraproject.org/w/uploads/9/97/Testday-091022-pub_fca01971-af4d-4ccd-a0c9-b5fb209d800c.tar.gz results]
|
|
|-
| [[User:jlaska|James Laska]]
| [http://www.smolts.org/client/show/pub_fca01971-af4d-4ccd-a0c9-b5fb209d800c HW profile]
| [https://fedoraproject.org/w/uploads/0/05/Testday-091022-bff50496-52bf-4055-86ee-a774436589c0.tar.gz results]
| No such files - <code>/sys/class/scsi_host/host*/link_power_management_policy</code>
|
|-
| [[User:Gjanssens|Geert Janssens]]
| [http://www.smolts.org/client/show/pub_9f283477-35bb-407a-a913-8e5061dcf670 HW profile]
| [https://fedoraproject.org/w/uploads/b/b2/Testday-091022-pub_9f283477-35bb-407a-a913-8e5061dcf670.tar.gz results]
| No such files - <code>/sys/class/scsi_host/host*/link_power_management_policy</code>
|
|-
| [[User:mgahagan|Mike Gahagan]]
| [http://www.smolts.org/client/show/pub_f2cbe081-2cbe-4dc5-929e-69aaab78b02b HW profile]
| [https://fedoraproject.org/w/uploads/0/02/Testday-091022-pub_f2cbe081-2cbe-4dc5-929e-69aaab78b02b.tar.gz 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
|-
| [[User:Vdanen|Vincent Danen]]
| [http://www.smolts.org/client/show/pub_77a89605-e729-4204-a46f-f2d158754895 HW profile]
| [https://fedoraproject.org/w/uploads/8/8a/Testday-091022-pub_77a89605-e729-4204-a46f-f2d158754895.tar.gz results]
|
|
|-
| [[User:luya|Luya Tshimbalanga]]
| [http://www.smolts.org/client/show/pub_8d5302d8-9675-400e-a38d-adc1dc59cd6c HW profile]
| [https://fedoraproject.org/w/uploads/a/ae/Testday-091022-pub_8d5302d8-9675-400e-a38d-adc1dc59cd6c.tar.gz results]
|
|
|-
| [[User:rblok]]
| [http://www.smolts.org/client/show/pub_fc446233-e2d6-439c-8258-386fbe31c382 HW profile]
| [https://fedoraproject.org/w/uploads/b/ba/Testday-091022-pub_fc446233-e2d6-439c-8258-386fbe31c382.tar.gz results]
|
|
|-
| [[User:dtardon|David Tardon]]
| [http://www.smolts.org/client/show/pub_ad558a82-aac4-4063-bfab-3df2f94bd56b HW profile]
| [https://fedoraproject.org/w/uploads/8/8f/Testday-091022-pub_ad558a82-aac4-4063-bfab-3df2f94bd56b.tar.gz results]
|
|
|-
| [[User:emcnabb|Evan McNabb]]
| [http://www.smolts.org/client/show/pub_5da3eecc-268f-45dd-bd8d-739add2919d7 HW profile]
| [https://fedoraproject.org/w/uploads/6/63/Testday-091022-pub_5da3eecc-268f-45dd-bd8d-739add2919d7.tar.gz results]
| max_perf: 16.4 med_pwr: 16.3 min_pwr: 15.9
|
|-
| [[User:luya|Luya Tshimbalanga]]
| [http://www.smolts.org/client/show/pub_39ca0aeb-db92-4032-ba46-3ac8fb69d132 HW profile]
| [https://fedoraproject.org/w/uploads/4/44/Testday-091022-pub_39ca0aeb-db92-4032-ba46-3ac8fb69d132.tar.gz results]
| No such files - <code>/sys/class/scsi_host/host*/link_power_management_policy</code>
| LG Xnote LT-20 laptop
|-
| [[User:BobLfoot]]
| [http://www.smolts.org/client/show/pub_00d24adb-403b-403a-94b9-0cd6d373e36b HW profile]
| [https://fedoraproject.org/w/uploads/1/1d/Testday-091022-pub_00d24adb-403b-403a-94b9-0cd6d373e36b.tar.gz results]
| ALPM would not execute as instructed
| Dell Dimension B120 laptop One Crash of Python during test bug filed
|-
| [[User:plautrba|Petr Lautrbach]]
| [http://www.smolts.org/client/show/pub_d95f257e-ca9f-4a4f-aecf-91e0b22d0a4c HW profile]
| [https://fedoraproject.org/w/uploads/e/ee/Testday-091022-pub_d95f257e-ca9f-4a4f-aecf-91e0b22d0a4c.tar.gz results]
|
|
|}
|}


[[Category:Fedora 12 Test Days]]
[[Category:Draft_documentation]]
[[Category:Test Days]]
Please note that all contributions to Fedora Project Wiki are considered to be released under the Attribution-Share Alike 4.0 International (see Fedora Project Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please solve the following task below and enter the answer in the box (more info):

Cancel Editing help (opens in new window)