* Changing snd_hda_intel.power_save default value ?
@ 2017-11-01 14:19 Hans de Goede
2017-11-01 16:54 ` Takashi Iwai
0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2017-11-01 14:19 UTC (permalink / raw)
To: Jaroslav Kysela, Takashi Iwai, Vinod Koul, alsa-devel
Hi All,
I'm working on trying to improve the OOTB power-consumption
of Linux (Fedora Workstation) on laptops.
One of the easy wins here is setting snd_hda_intel.power_save=1
I see that the default is configurable through a Kconfig option,
currently Fedora is using the Kconfig default value of 0.
So I'm wondering if there any known issues with changing the
default to 1 ?
I was also thinking that maybe an automatic value
(SND_HDA_POWER_SAVE_DEFAULT == -1) might be a good idea,
which would mean 0 normally except for PCI-ids which are
markes with a MOBILE flag in their driver_data in
the azx_ids pci_device_id table ?
Regards,
Hans
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Changing snd_hda_intel.power_save default value ?
2017-11-01 14:19 Changing snd_hda_intel.power_save default value ? Hans de Goede
@ 2017-11-01 16:54 ` Takashi Iwai
2017-11-01 18:11 ` Hans de Goede
0 siblings, 1 reply; 3+ messages in thread
From: Takashi Iwai @ 2017-11-01 16:54 UTC (permalink / raw)
To: Hans de Goede; +Cc: Vinod Koul, alsa-devel
On Wed, 01 Nov 2017 15:19:44 +0100,
Hans de Goede wrote:
>
> Hi All,
>
> I'm working on trying to improve the OOTB power-consumption
> of Linux (Fedora Workstation) on laptops.
>
> One of the easy wins here is setting snd_hda_intel.power_save=1
>
> I see that the default is configurable through a Kconfig option,
> currently Fedora is using the Kconfig default value of 0.
>
> So I'm wondering if there any known issues with changing the
> default to 1 ?
This may bring click noises on some laptops or desktops, but it should
be OK for the functionalities. On openSUSE Tumbleweed kernels, we
already pass 1 for some time. Some reports came up occasionally but
they can work around by setting the module option.
> I was also thinking that maybe an automatic value
> (SND_HDA_POWER_SAVE_DEFAULT == -1) might be a good idea,
> which would mean 0 normally except for PCI-ids which are
> markes with a MOBILE flag in their driver_data in
> the azx_ids pci_device_id table ?
I'm afraid that it'd be hard to manage that table. This is one of
mostly modified module option, e.g. a power-management daemon often
adjusts the value dynamically.
So, for modern distros, feel free simply set to value 1, but I see no
reason to hustle for changing kconfig default value in the tree. For
the default value, we want to be conservative in general.
thanks,
Takashi
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Changing snd_hda_intel.power_save default value ?
2017-11-01 16:54 ` Takashi Iwai
@ 2017-11-01 18:11 ` Hans de Goede
0 siblings, 0 replies; 3+ messages in thread
From: Hans de Goede @ 2017-11-01 18:11 UTC (permalink / raw)
To: Takashi Iwai; +Cc: Vinod Koul, alsa-devel
Hi,
On 01-11-17 17:54, Takashi Iwai wrote:
> On Wed, 01 Nov 2017 15:19:44 +0100,
> Hans de Goede wrote:
>>
>> Hi All,
>>
>> I'm working on trying to improve the OOTB power-consumption
>> of Linux (Fedora Workstation) on laptops.
>>
>> One of the easy wins here is setting snd_hda_intel.power_save=1
>>
>> I see that the default is configurable through a Kconfig option,
>> currently Fedora is using the Kconfig default value of 0.
>>
>> So I'm wondering if there any known issues with changing the
>> default to 1 ?
>
> This may bring click noises on some laptops or desktops, but it should
> be OK for the functionalities. On openSUSE Tumbleweed kernels, we
> already pass 1 for some time. Some reports came up occasionally but
> they can work around by setting the module option.
>
>> I was also thinking that maybe an automatic value
>> (SND_HDA_POWER_SAVE_DEFAULT == -1) might be a good idea,
>> which would mean 0 normally except for PCI-ids which are
>> markes with a MOBILE flag in their driver_data in
>> the azx_ids pci_device_id table ?
>
> I'm afraid that it'd be hard to manage that table. This is one of
> mostly modified module option, e.g. a power-management daemon often
> adjusts the value dynamically.
> So, for modern distros, feel free simply set to value 1, but I see no
> reason to hustle for changing kconfig default value in the tree. For
> the default value, we want to be conservative in general.
Ok, I will discuss changing the Kconfig option to "1" with the
Fedora kernel team.
Thanks & Regards,
Hans
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-11-01 18:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-01 14:19 Changing snd_hda_intel.power_save default value ? Hans de Goede
2017-11-01 16:54 ` Takashi Iwai
2017-11-01 18:11 ` Hans de Goede
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.