From Fedora Project Wiki

No edit summary
No edit summary
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case tests the tuned-adm functionality.
|description=This test case tests the basic functionality of [http://fedorahosted.org/tuned tuned tool]. This tool can statically and dynamically tune your system according to selected profile.
|setup=
|setup=
# Check that you have {{package|tuned}} version 2 installed:
# Check that you have {{package|tuned|tuned package}} version 2 installed:
#:<pre>$ rpm -q tuned</pre>
#:<pre>$ rpm -q tuned</pre>
#:There must be installed tuned version 2 (not 1).
#:There must be installed tuned version 2 (not 1).

Revision as of 15:33, 2 April 2012

Description

This test case tests the basic functionality of tuned tool. This tool can statically and dynamically tune your system according to selected profile.

Setup

  1. Check that you have tuned package version 2 installed:
    $ rpm -q tuned
    There must be installed tuned version 2 (not 1).
    • If not install it:
    # yum install tuned

How to test

  1. Start tuned (via systemd):
    # systemctl start tuned.service
  2. List all available profiles:
    # tuned-adm list
  3. Try to switch between profiles, e.g. for powersave profile:
    # tuned-adm profile powersave
  4. Check if the profile was really set by:
    # tuned-adm active
  5. Try several other profiles.
  6. When done switch tuned completely off by:
    # systemctl stop tuned.service
  7. Check if the tuned process is not left running by:
    # pgrep tuned

Expected Results

  1. No errors while switching profiles.
  2. No left tuned process when switched off.