Tips & Tricks
AC97 audio power saving modeThe previous generation onboard audio chips (called AC97) support power saving, where the analog parts (codec) are powered down when no program is using the audio device. This power saving is disabled by default in current kernels and distributions (there is the potential of hearing a little click when the power savings kick in). However this power savings can be enabled manually.
# ls /sys/module/snd_ac97_codec/If that command doesn't return any files, you don't have an AC97 sound card in use. To check if you have the power-saving mode enabled, use this command: # cat /sys/module/snd_ac97_codec/parameters/power_save NIn the example above, the power savings are disabled.
The following two steps perform these functions described in the steps above: echo 1 > /sys/module/snd_ac97_codec/parameters/power_save echo 1 > /dev/dsp HDA-Intel power saving modeThe current generation onboard audio (often called "High Definition" or HDA) has power savings capabilities similar to AC97. The Linux ALSA drivers support these capabilities, as of version 1.0.15 of the ALSA subsystem. These are scheduled to appear in the 2.6.24 kernel.
# cat /sys/module/snd_hda_intel/parameters/power_save 10Power saving is enabled if the value that this shows is greater than zero. BIOS settingsSometimes, BIOSes come with very conservative settings. For example, avoiding showing a yellow bang symbol in the hardware manager of certain operating systems.
Don't use "fake" cpu hot unpluggingLinux has the ability to, at runtime, take cores offline. Some people use this feature in an attempt to save power. However, measurements show that an offline core actually uses more power than a core that's in an idle sleep state. |