Red Hat ENTERPRISE LINUX 5.4 - SYSTEMTAP BEGINNERS GUIDE Technické informace Strana 163

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 240
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 162
Power Management 149
Procedure11.2: Scheduling Processes on Cores
1 Become root on a command line.
2 To view the current value of sched_mc_power_savings, use the following
command:
cpupower info -m
3 To set sched_mc_power_savings to 1, execute:
cpupower set -m 1
11.5 Creating and Using Power
Management Profiles
SUSE Linux Enterprise Server includes pm-profiler, intended for server use. It is a
script infrastructure to enable or disable certain power management functions via
configuration files. It allows you to define different profiles, each having a specif-
ic configuration file for defining different settings. A configuration template for
new profiles can be found at /usr/share/doc/packages/pm-profil
er/config.template. The template contains a number of parameters you can
use for your profile, including comments on usage and links to further documentation.
The individual profiles are stored in /etc/pm-profiler/. The profile that will
be activated on system start, is defined in /etc/pm-profiler.conf.
Procedure11.3: Creating and Switching Power Profiles
To create a new profile, proceed as follows:
1 Create a directory in /etc/pm-profiler/, containing the profile name, for
example:
mkdir /etc/pm-profiler/testprofile
2 To create the configuration file for the new profile, copy the profile template to
the newly created directory:
cp /usr/share/doc/packages/pm-profiler/config.template \
/etc/pm-profiler/testprofile/config
Zobrazit stránku 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 239 240

Komentáře k této Příručce

Žádné komentáře