Параметры ядра Linux:Power management options

Материал из Wiki Open book
Перейти к: навигация, поиск

Параметры ядра Linux

Содержание

Power management options (ACPI, APM) --->

Power Management support
"Power Management" means that parts of your computer are shut off or put into a power conserving "sleep" mode if they are not being used. There are two competing standards for doing this: APM and ACPI. If you want to use either one, say Y here and then also to the requisite support below.

Power Management is most important for battery powered laptop computers; if you have a laptop, check out the Linux Laptop home page on the WWW at <http://www.linux-on-laptops.com/> or Tuxmobil - Linux on Mobile Computers at <http://www.tuxmobil.org/> and the Battery Powered Linux mini-HOWTO, available from <http://www.tldp.org/docs.html#howto>.

Note that, even if you say N here, Linux on the x86 architecture will issue the hlt instruction if nothing is to be done, thereby sending the processor to sleep and saving power.

Русский флаг
  Legacy Power Management API (DEPRECATED)
  Support for pm_register() and friends. This old API is obsoleted by the driver model.

If unsure, say N.

 
Русский флаг

Поддержка pm_register() и друзей. Это устаревшее API, поэтому лучший вариант выбрать N.

  Power Management Debug Support
  This option enables verbose debugging support in the Power Management code. This is helpful when debugging and reporting various PM bugs, like suspend support.
 
Русский флаг
Этот параметр позволяет получать более подробные отладочные сообщения кода управления энергопотреблением. Это очень помогает при отладке и сообщениях о проблемах этой части кода ядра, таких как suspend.
    Keep console(s) enabled during suspend/resume (DANGEROUS)
    This option turns off the console suspend mechanism that prevents debug messages from reaching the console during the suspend/resume operations. This may be helpful when debugging device drivers' suspend/resume routines, but may itself lead to problems, for example if netconsole is used.
   
Русский флаг
    Suspend/resume event tracing
    This enables some cheesy code to save the last PM event point in the RTC across reboots, so that you can debug a machine that just hangs during suspend (or more commonly, during resume).

To use this debugging feature you should attempt to suspend the machine, then reboot it, then run

dmesg -s 1000000 | grep 'hash matches'

CAUTION: this option will cause your machine's real-time clock to be set to an invalid time after a resume.

   
Русский флаг
  Driver model /sys/devices/.../power/state files (DEPRECATED)
  The driver model started out with a sysfs file intended to provide a userspace hook for device power management. This feature has never worked very well, except for limited testing purposes, and so it will be removed. It's not clear that a generic mechanism could really handle the wide variability of device power states; any replacements are likely to be bus or driver specific.
 
Русский флаг

ACPI (Advenced Configuration and Power Interface) Support --->

ACPI Support
Advanced Configuration and Power Interface (ACPI) support for Linux requires an ACPI compliant platform (hardware/firmware), and assumes the presence of OS-directed configuration and power management (OSPM) software. This option will enlarge your kernel by about 70K.

Linux ACPI provides a robust functional replacement for several legacy configuration and power management interfaces, including the Plug-and-Play BIOS specification (PnP BIOS), the MultiProcessor Specification (MPS), and the Advanced Power Management (APM) specification. If both ACPI and APM support are configured, whichever is loaded first shall be used.

The ACPI SourceForge project contains the latest source code, documentation, tools, mailing list subscription, and other information. This project is available at: <http://sourceforge.net/projects/acpi>

Linux support for ACPI is based on Intel Corporation's ACPI Component Architecture (ACPI CA). For more information see: <http://developer.intel.com/technology/iapc/acpi>

ACPI is an open industry specification co-developed by Compaq, Intel, Microsoft, Phoenix, and Toshiba. The specification is available at: <http://www.acpi.info>

Русский флаг
Русский перевод
  Procfs interface
  Procfs interface for ACPI is made optional for back-compatible. As the same functions are duplicated in sysfs interface and this proc interface will be removed some time later, it's marked as deprecated.
(  /proc/acpi/debug_layer && debug_level are deprecated by
   /sys/module/acpi/parameters/debug_layer && debug_level.
   /proc/acpi/info is deprecated by
   /sys/module/acpi/parameters/acpica_version )
 
Русский флаг
  AC Adapter
  This driver adds support for the AC Adapter object, which indicates whether a system is on AC, or not. If you have a system that can switch between A/C and battery, say Y.
 
Русский флаг
Этот драйвер добавляет поддержку объекта (файла) адаптера питания, который показывает используется ли адаптер питания или нет. Если вы используете системы которые позволяют переключаться между сетевым питание и батареями (ноутбуки), выберите Y.
  Battery
  This driver adds support for battery information through /proc/acpi/battery. If you have a mobile system with a battery, say Y.
 
Русский флаг
Этот драйвер позволяет получить информацию о состоянии батареи питания через /proc/acpi/battery. Если вы являетесь обладателем системы с батареей - выберите Y.
  Button
  This driver handles events on the power, sleep and lid buttons. A daemon reads /proc/acpi/event and perform user-defined actions such as shutting down the system. This is necessary for software controlled poweroff.
 
Русский флаг
Этот драйвер перехватывает нажатия на кнопки питания и засыпания, а также открытие/закрытие крышки ноутбука. Демон читает файл /proc/acpi/event и выполняет действия, определенные пользователем, например выключение системы. Это необходимо для программного контроля за различными кнопками в том числе и выключения питания.
  Video
  This driver implement the ACPI Extensions For Display Adapters for integrated graphics devices on motherboard, as specified in ACPI 2.0 Specification, Appendix B, allowing to perform some basic control like defining the video POST device, retrieving EDID information or to setup a video output, etc.

Note that this is an ref. implementation only. It may or may not work for your integrated video device.

 
Русский флаг
Русский перевод
  Fan
  This driver adds support for ACPI fan devices, allowing user-mode applications to perform basic fan control (on, off, status).
 
Русский флаг
Этот драйвер добавляет поддержку для ACPI устройства вентилятора, позволяющего программам пользователя получать информацию о состоянии вентилятора: включен, выключен и статус.
  Dock
  This driver adds support for ACPI controlled docking stations
 
Русский флаг
Этот драйвер добавляет поддержку для ACPI управляемых докинг станций.
    Removable Drive Bay
    This driver adds support for ACPI controlled removable drive bays such as the IBM ultrabay or the Dell Module Bay.
   
Русский флаг
  Processor
  This driver installs ACPI as the idle handler for Linux, and uses ACPI C2 and C3 processor states to save power, on systems that support it. It is required by several flavors of cpufreq Performance-state drivers.
 
Русский флаг
Русский перевод
    Thermal Zone
    This driver adds support for ACPI thermal zones. Most mobile and some desktop systems support ACPI thermal zones. It is HIGHLY recommended that this option be enabled, as your processor(s) may be damaged without it.
   
Русский флаг
Русский перевод
  Asus/Medion Laptop Extra
  This driver provides support for extra features of ACPI-compatible ASUS laptops. As some of Medion laptops are made by ASUS, it may also support some Medion laptops (such as 9675 for example). It makes all the extra buttons generate standard ACPI events that go through /proc/acpi/events, and (on some models) adds support for changing the display brightness and output, switching the LCD backlight on and off, and most importantly, allows you to blink those fancy LEDs intended for reporting mail and wireless status.

Note: display switching code is currently considered EXPERIMENTAL,toying with these values may even lock your machine.

All settings are changed via /proc/acpi/asus directory entries. Owner and group for these entries can be set with asus_uid and asus_gid parameters.

More information and a userspace daemon for handling the extra buttons at <http://sourceforge.net/projects/acpi4asus/>.

If you have an ACPI-compatible ASUS laptop, say Y or M here. This driver is still under development, so if your laptop is unsupported or something works not quite as expected, please use the mailing list available on the above page (acpi4asus-user@lists.sourceforge.net)

 
Русский флаг
Русский перевод
  IBM ThinkPad Laptop Extras
  This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds support for Fn-Fx key combinations, Bluetooth control, video output switching, ThinkLight control, UltraBay eject and more. For more information about this driver see <file:Documentation/ibm-acpi.txt> and <http://ibm-acpi.sf.net/>.

If you have an IBM ThinkPad laptop, say Y or M here.

 
Русский флаг
Русский перевод
    Legacy Removable Bay Support
    Allows the ibm_acpi driver to handle removable bays. It will allow disabling the device in the bay, and also generate notifications when the bay lever is ejected or inserted.

If you are not sure, say Y here.

   
Русский флаг
  Toshiba Laptop Extras
  This driver adds support for access to certain system settings on "legacy free" Toshiba laptops. These laptops can be recognized by their lack of a BIOS setup menu and APM support.

On these machines, all system configuration is handled through the ACPI. This driver is required for access to controls not covered by the general ACPI drivers, such as LCD brightness, video output, etc.

This driver differs from the non-ACPI Toshiba laptop driver (located under "Processor type and features") in several aspects. Configuration is accessed by reading and writing text files in the /proc tree instead of by program interface to /dev. Furthermore, no power management functions are exposed, as those are handled by the general ACPI drivers.

More information about this driver is available at <http://memebeam.org/toys/ToshibaAcpiDriver>.

If you have a legacy free Toshiba laptop (such as the Libretto L1 series), say Y.

 
Русский флаг
Русский перевод
  Disable ACPI for systems before Jan 1st this year
  enter a 4-digit year, eg. 2001 to disable ACPI by default on platforms with DMI BIOS date before January 1st that year. acpi=force can be used to override this mechanism.

Enter 0 to disable this mechanism and allow ACPI to run by default no matter what the year. (default)

 
Русский флаг
Запрещает использрвание ACPI на системах, созданных до 1 Января этого года

Ведите четыре цифры, соотвествующие году. Например, 2001 запрещает использование ACPI по умолчанию на машинах с датой DMI BIOS до 1 Января 2001 г. Для отмены этого механизма, при старте ядра можно передать параметр acpi=force.

Введите 0 для отключения этого механизма и разрешения использования ACPI в не зависимости от года (значение по умолчанию)

  Debug Statements
  The ACPI driver can optionally report errors with a great deal of verbosity. Saying Y enables these statements. This will increase your kernel size by around 50K.
 
Русский флаг
Русский перевод
  Power Management Timer Support
  The Power Management Timer is available on all ACPI-capable, in most cases even if ACPI is unusable or blacklisted. This timing source is not affected by power management features like aggressive processor idling, throttling, frequency and/or voltage scaling, unlike the commonly used Time Stamp Counter (TSC) timing source.

You should nearly always say Y here because many modern systems require this timer.

 
Русский флаг
  ACPI004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)
  This allows _physical_ insertion and removal of CPUs and memory. This can be useful, for example, on NUMA machines that support

ACPI based physical hotplug of nodes, or non-NUMA machines that support physical cpu/memory hot-plug.

If one selects "m", this driver can be loaded with "modprobe acpi_container".

 
Русский флаг
Русский перевод

APM (Advanced Power Management) BIOS Support --->

APM (Advanced Power Management) BIOS support
APM is a BIOS specification for saving power using several different techniques. This is mostly useful for battery powered laptops with APM compliant BIOSes. If you say Y here, the system time will be reset after a RESUME operation, the /proc/apm device will provide battery status information, and user-space programs will receive notification of APM "events" (e.g. battery status change).

If you select "Y" here, you can disable actual use of the APM BIOS by passing the apm=off option to the kernel at boot time.

Note that the APM support is almost completely disabled for machines with more than one CPU.

Русский флаг
Русский перевод
  Ignore USER SUSPEND
  This option will ignore USER SUSPEND requests. On machines with a compliant APM BIOS, you want to say N. However, on the NEC Versa M series notebooks, it is necessary to say Y because of a BIOS bug.
 
Русский флаг
Русский перевод
  Enable PM at boot time
  Enable APM features at boot time. From page 36 of the APM BIOS specification: "When disabled, the APM BIOS does not automatically power manage devices, enter the Standby State, enter the Suspend State, or take power saving steps in response to CPU Idle calls." This driver will make CPU Idle calls when Linux is idle (unless this feature is turned off -- see "Do CPU IDLE calls", below). This should always save battery power, but more complicated APM features will be dependent on your BIOS implementation. You may need to turn this option off if your computer hangs at boot time when using APM support, or if it beeps continuously instead of suspending. Turn this off if you have a NEC UltraLite Versa 33/C or a Toshiba T400CDT. This is off by default since most machines do fine without this feature.
 
Русский флаг
Русский перевод
  Make CPU Idle calls when idle
  Enable calls to APM CPU Idle/CPU Busy inside the kernel's idle loop. On some machines, this can activate improved power savings, such as a slowed CPU clock rate, when the machine is idle. These idle calls are made after the idle loop has run for some length of time (e.g., 333 mS). On some machines, this will cause a hang at boot time or whenever the CPU becomes idle. (On machines with more than one CPU, this option does nothing.)
 
Русский флаг
Русский перевод
  Enable console blanking using APM
  Enable console blanking using the APM. Some laptops can use this to turn off the LCD backlight when the screen blanker of the Linux virtual console blanks the screen. Note that this is only used by the virtual console screen blanker, and won't turn off the backlight when using the X Window system. This also doesn't have anything to do with your VESA-compliant power-saving monitor. Further, this option doesn't work for all laptops -- it might not turn off your backlight at all, or it might print a lot of errors to the console, especially if you are using gpm.
 
Русский флаг
Русский перевод
  RTC stores time in GMT
  Say Y here if your RTC (Real Time Clock a.k.a. hardware clock) stores the time in GMT (Greenwich Mean Time). Say N if your RTC stores localtime.

It is in fact recommended to store GMT in your RTC, because then you don't have to worry about daylight savings time changes. The only reason not to use GMT in your RTC is if you also run a broken OS that doesn't understand GMT.

 
Русский флаг
Русский перевод
  Allow interrupts during APM BIOS calls
  Normally we disable external interrupts while we are making calls to the APM BIOS as a measure to lessen the effects of a badly behaving BIOS implementation. The BIOS should reenable interrupts if it needs to. Unfortunately, some BIOSes do not - especially those in many of the newer IBM Thinkpads. If you experience hangs when you suspend, try setting this to Y. Otherwise, say N.
 
Русский флаг
Русский перевод
  Use real mode APM BIOS call to power off
  Use real mode APM BIOS calls to switch off the computer. This is a work-around for a number of buggy BIOSes. Switch this option on if your computer crashes instead of powering off properly.
 
Русский флаг
Русский перевод

CPU Frequency scaling --->

CPU Frequency scaling
CPU Frequency scaling allows you to change the clock speed of CPUs on the fly. This is a nice method to save power, because the lower the CPU clock speed, the less power the CPU consumes.

Note that this driver doesn't automatically change the CPU clock speed, you need to either enable a dynamic cpufreq governor (see below) after boot, or use a userspace tool.

For details, take a look at <file:Documentation/cpu-freq>.

If in doubt, say N.

Русский флаг
Русский перевод
  Enable CPUfreq debugging
  Say Y here to enable CPUfreq subsystem (including drivers) debugging. You will need to activate it via the kernel command line by passing
cpufreq.debug=<value>

To get <value>, add

1 to activate CPUfreq core debugging,

2 to activate CPUfreq drivers debugging, and

4 to activate CPUfreq governor debugging

 
Русский флаг
Русский перевод
  Cpu Frequency translation statistics
  This driver exports CPU frequency statistics information through sysfs file system
 
Русский флаг
Русский перевод
    CPU frequency translation statistics derails
    This will show detail CPU frequency translation table in sysfs file system
   
Русский флаг
Русский перевод

Default CPUFreq governor (performance) --->

    performance
    Use the CPUFreq governor 'performance' as default. This sets the frequency statically to the highest frequency supported by the CPU.
   
Русский флаг
Русский перевод
    userspace
    Use the CPUFreq governor 'userspace' as default. This allows you to set the CPU frequency manually or when an userspace program shall be able to set the CPU dynamically without having to enable the userspace governor manually.
   
Русский флаг
Русский перевод
  `performance` governor
  This cpufreq governor sets the frequency statically to the highest available CPU frequency.

If in doubt, say Y.

 
Русский флаг
Русский перевод
  `powersave` governor
  This cpufreq governor sets the frequency statically to the lowest available CPU frequency.

If in doubt, say Y.

 
Русский флаг
Русский перевод
  `userspace` governor for userspace frequency scaling
  Enable this cpufreq governor when you either want to set the CPU frequency manually or when an userspace program shall be able to set the CPU dynamically, like on LART <http://www.lart.tudelft.nl/>

For details, take a look at <file:Documentation/cpu-freq/>.

If in doubt, say Y.

 
Русский флаг
Русский перевод
  `ondemand` cpufreq governor
  'ondemand' - This driver adds a dynamic cpufreq policy governor. The governor does a periodic polling and changes frequency based on the CPU utilization. The support for this governor depends on CPU capability to do fast frequency switching (i.e, very low latency frequency transitions).

For details, take a look at linux/Documentation/cpu-freq.

If in doubt, say N.

 
Русский флаг
Русский перевод
  'conservative' cpufreq governor (NEW)
  'conservative' - this driver is rather similar to the 'ondemand' governor both in its source code and its purpose, the difference is its optimisation for better suitability in a battery powered environment. The frequency is gracefully increased and decreased rather than jumping to 100% when speed is required.

If you have a desktop machine then you should really be considering the 'ondemand' governor instead, however if you are using a laptop, PDA or even an AMD64 based computer (due to the unacceptable step-by-step latency issues between the minimum and maximum frequency transitions in the CPU) you will probably want to use this governor.

For details, take a look at linux/Documentation/cpu-freq.

If in doubt, say N.

 
Русский флаг
Русский перевод

--- CPUreq processor drivers|Overview

  ACPI Processor P-States driver
  This driver adds a CPUFreq driver which utilizes the ACPI Processor Performance States.

For details, take a look at <file:Documentation/cpu-freq/>.

If in doubt, say N.

 
Русский флаг
Русский перевод
  AMD Mobile K6/K6-3 PowerNow!
  This adds the CPUFreq driver for mobile AMD K6-2+ and mobile AMD K6-3+ processors.

For details, take a look at <file:Documentation/cpu-freq/>.

If in doubt, say N.

 
Русский флаг
Русский перевод
  AMD Mobile Athlon/Duron PowerNow!
  This adds the CPUFreq driver for mobile AMD K7 mobile processors.

For details, take a look at <file:Documentation/cpu-freq/>.

If in doubt, say N.

 
Русский флаг
Русский перевод
  AMD Opteron/Athlon64 PowerNow!
  This adds the CPUFreq driver for mobile AMD Opteron/Athlon64 processors.

For details, take a look at <file:Documentation/cpu-freq/>.

If in doubt, say N.

 
Русский флаг
Русский перевод
  Cyrix MediaGX/NatSemi Geode Suspend Modulation
  This add the CPUFreq driver for NatSemi Geode processors which support suspend modulation.

For details, take a look at <file:Documentation/cpu-freq/>.

If in doubt, say N.

 
Русский флаг
Русский перевод
  Intel Enhanced SpeedStep
  This adds the CPUFreq driver for Enhanced SpeedStep enabled mobile CPUs. This means Intel Pentium M (Centrino) CPUs. However, you also need to say Y to "Use ACPI tables to decode..." below [which might imply enabling ACPI] if you want to use this driver on non-Banias CPUs.

For details, take a look at <file:Documentation/cpu-freq/>.

If in doubt, say N.

 
Русский флаг
Русский перевод
    Use ACPI tables to decode valid frequency/voltage pairs
    Use primarily the information provided in the BIOS ACPI tables to determine valid CPU frequency and voltage pairings. It is required for the driver to work on non-Banias CPUs.

If in doubt, say Y.

   
Русский флаг
Русский перевод


    Bilt-in tables for Banias CPUs
    Use built-in tables for Banias CPUs if ACPI encoding is not available.

If in doubt, say N.

   
Русский флаг
Русский перевод
  Intel Speedstep on ICH-M chipsets (ioport interface)
  This adds the CPUFreq driver for certain mobile Intel Pentium III (Coppermine), all mobile Intel Pentium III-M (Tualatin) and all mobile Intel Pentium 4 P4-M on systems which have an Intel ICH2, ICH3 or ICH4 southbridge.

For details, take a look at <file:Documentation/cpu-freq/>.

If in doubt, say N.

 
Русский флаг
Русский перевод
  Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface)
  This adds the CPUFreq driver for certain mobile Intel Pentium III (Coppermine), all mobile Intel Pentium III-M (Tualatin) on systems which have an Intel 440BX/ZX/MX southbridge.

For details, take a look at <file:Documentation/cpu-freq/>.

If in doubt, say N.

 
Русский флаг
Русский перевод
  Intel Pentium 4 clock modulation
  This adds the CPUFreq driver for Intel Pentium 4 / XEON processors.

For details, take a look at <file:Documentation/cpu-freq/>.

If in doubt, say N.

 
Русский флаг
Русский перевод
  nVidia nForce2 FSB changing
  This adds the CPUFreq driver for FSB changing on nVidia nForce2 platforms.

For details, take a look at <file:Documentation/cpu-freq/>.

If in doubt, say N.

 
Русский флаг
Русский перевод
  Transmeta LongRun
  This adds the CPUFreq driver for Transmeta Crusoe and Efficeon processors which support LongRun.

For details, take a look at <file:Documentation/cpu-freq/>.

If in doubt, say N.

 
Русский флаг
Русский перевод
  VIA Cyrix III Longhaul
  This adds the CPUFreq driver for VIA Samuel/CyrixIII, VIA Cyrix Samuel/C3, VIA Cyrix Ezra and VIA Cyrix Ezra-T processors.

For details, take a look at <file:Documentation/cpu-freq/>.

If in doubt, say N.

 
Русский флаг
Русский перевод
  VIA C7 Enhanced PowerSaver
  This adds the CPUFreq driver for VIA C7 processors.

If in doubt, say N.

 
Русский флаг

--- shared options

  /proc/acpi/processor/../performance interface (deprecated)
  This enables the deprecated /proc/acpi/processor/../performance interface. While it is helpful for debugging, the generic, cross-architecture cpufreq interfaces should be used.

If in doubt, say N.

 
Русский флаг
Русский перевод
  Relaxed speedstep capability checks
  Don't perform all checks for a speedstep capable system which would normally be done. Some ancient or strange systems, though speedstep capable, don't always indicate that they are speedstep capable. This option lets the probing code bypass some of those checks if the parameter relaxed_check=1<tt> is passed to the module.
 
Русский флаг
Русский перевод

Параметры ядра Linux

Инструменты
    
Личные инструменты