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 ==
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.
== WARNING! The site is still under construction ==


== Who's available ==


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)
* Quality Assurance - [[User:jscotka|Jan Scotka]]


== Prerequisite ==  
== What to test? ==


{{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!}}
=== For "Extended tuned" ===
{{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).}}
* yum install tuned
* service tuned start
* cpu, disk and net devices should adapt to usage (monitor using strace e.g.)**
* If ktune is enabled check if the system settings for the current profile are being applied and restored when stopping the service


# 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.
=== For "System tuning configuration and profiles" ===
# [[SELinux]] isn't needed, users don't have to enable it.
* Run the new system tuning tool and list the different available profiles using:
# Internet connection
** tuned-adm list
# The special-purpose Test Day RPM package which includes necessary dependencies and provides all testing scripts.
* Run the new system tuning tool and select one of the profiles. Restart the machine afterwards and make sure the profile is being used at startup
## 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])
** tuned-adm modes laptop-battery-powersave
## 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>
** tuned-adm modes default
## Lastly, install the package using: <code>yum --enablerepo=rawhide-debuginfo localinstall testday-pm-0.6-1.fc12.YOURARCH.rpm</code>
** tuned-adm modes throughput-performance
# Kernel debugging info:
=== For "New tool to measure improvements to system configuration changes or application changes" ===
#* Install the required package: <code>debuginfo-install kernel</code>
* yum install tuned-utils
#* Alternatively, you can install the debuginfo kernel using {{command|yum}}: <code>yum --enablerepo=rawhide-debuginfo install kernel-debuginfo</code>
* run scomes
#* ''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>
* change system settings
# Upload your hardware to [http://www.smolts.org Smolt] according to [http://smolts.org/smolt-wiki/Main_Page#Usage these instructions].
* run scomes again
* compare restults


== Running the tests ==


=== Update your machine ===
== Who's available ==


It will be needed rawhide machine. Howto install or update [[Releases/Rawhide|Rawhide]].


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


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:
== Prerequisite for Test Day ==
* <code>testday-run-''testname''</code> (performing tests)
* <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.


==== X Window System ====
* A system with some kind of network connection
* [[Releases/Rawhide|Rawhide]] (tips on installing Rawhide below - the live CD is tested to - suitability for this test day).
* Your hardware profile uploaded to [http://www.smolts.org Smolt] according to [http://smolts.org/smolt-wiki/Main_Page#Usage these instructions]


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


{| style="width:100%"
== How to test? ==
!style="width:15%"|Testcase
!style="width:75%"|Description
!style="width:10%"|ETA
|- 
| [[QA:Testcase_Power_Management_personal|personal]]
| Typical use of computer (do whatever you are doing usually). CPU states and frequencies.
| 10 minutes
|-
| [[QA:Testcase_Power_Management_scomes|scomes]] 
| Ticks, syscall count, read/written bytes when performing some specific tasks.
| 1 minute
|}


==== Single mode ====
=== Update your machine ===


These tests should be performed in single mode.
See the instructions on the [[Releases/Rawhide|Rawhide]] page on the various ways in which you can install or update to Rawhide. Or:


{{admon/tip|Refraining reboots|We recommend reading the description of both tests and performing these in sequence - to refrain more reboots.}}
=== Live Image ===
(live CD is tested. The results and suitability will be explained here)


{| style="width:100%"
Optionally, you may download a non-destructive rawhide live image for your architecture. Tips on using a live image are available at [[FedoraLiveCD]].
!style="width:15%"|Testcase
!style="width:75%"|Description
!style="width:10%"|ETA
|- 
| [[QA:Testcase_Power_Management_tuned|tuned]] 
| CPU states and frequencies when ''tuning'' daemon enabled
| 7 minutes
|-
| [[QA:Testcase_Power_Management_basic|basic]]  
| Stress situations (BZIP2 compression, disk copying, vsftpd test)
| 2 minutes
|}


==== Laptops ====
* Areas to target with exploratory testing
* How to report back results


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.
=== Test Cases ===


{{admon/important|Battery|Please charge your battery before performing any test.}}
<!-- Provide a list of test areas or test cases that you'd like contributors to execute.  For other examples, see [[:Category:Test_Cases]].
-->


{| style="width:100%"
{|
!style="width:15%"|Testcase
! TestCase
!style="width:75%"|Description
! Description
!style="width:10%"|ETA
! Extra Requirements
|- 
| [[QA:Testcase_Power_Management_tuned-adm]]
| ''?''
| ''?''
|- 
| [[QA:Testcase_Power_Management_personal]]
| ''?''
| ''?''
|-
| [[QA:Testcase_Power_Management_Tuned]] 
| ''?''
| ''?''
|-
| [[QA:Testcase_Power_Management_init_1]]
| ''?''
| ''?''
|-
|-
| [[QA:Testcase_Power_Management_bltk|bltk]]   
| [[QA:Testcase_Power_Management_bltk]]   
| Power consumption during three simulated workloads (idle, OpenOffice, reader).
| ''?''
| 15 minutes
| ''?''
|-
|-
| [[QA:Testcase_Power_Management_tunedprofiles|tunedprofiles]]
| [[QA:Testcase_Power_Management_tuned-adm]]
| Tuned profiles effect on power consumption.
| ''?''
| 5-20 minutes
| ''?''
|-
|-
| [[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]]).
* 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:Testcase_sample_1|Sample test 1]]
! ALPM result
! [[QA:Testcase_sample_2|Sample test 2]]
! Comments & problems
! [[QA:Testcase_sample_3|Sample test 3]]
|-
! [[QA:Testcase_sample_4|Sample test 4]]
| [[User:ExampleUser]]
! References
| [http://www.smolts.org/client/show/pub_84465125-1350-4f83-87b9-5f16f7430eb8 HW profile]
| [https://fedoraproject.org/w/uploads/2/2f/Testday-091022-pub_12345678-9abc-def0-123456789abcdef01.tar.gz results]
|
|
|-
| 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]]
| [http://www.smolts.org/client/show/pub_b6bb291a-b972-4857-b8ab-fc652a0eede6 HW profile]
| [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]
|
|
|-
| [[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]]
| [[User:FasUser]]  
| [http://www.smolts.org/client/show/pub_00d24adb-403b-403a-94b9-0cd6d373e36b 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_00d24adb-403b-403a-94b9-0cd6d373e36b.tar.gz results]
| PASS
| ALPM would not execute as instructed
| PASS
| Dell Dimension B120 laptop One Crash of Python during test bug filed
| FAIL <ref>See {{bz|12345}}</ref>
| PASS
| <references/>
|-
|-
| [[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)