[opensuse-kernel] CONFIG_SND_HDA_PREALLOC_SIZE too small
Hi: Is there a reason why CONFIG_SND_HDA_PREALLOC_SIZE is set to 1024 when the documentation says. "A larger buffer (e.g. 2048) is preferred for systems using PulseAudio. " .. plus all other distributions I have checked: fedora and arch 4096 mandriva 2048 gentoo 2048 is this an oversight or intended ? at least for kernel-desktop it looks like we want 4096 .. -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Ccing Takashi. On 03/26/2013 08:51 PM, Cristian Rodríguez wrote:
Hi:
Is there a reason why CONFIG_SND_HDA_PREALLOC_SIZE is set to 1024 when the documentation says.
"A larger buffer (e.g. 2048) is preferred for systems using PulseAudio. "
.. plus all other distributions I have checked:
fedora and arch 4096
mandriva 2048
gentoo 2048
is this an oversight or intended ? at least for kernel-desktop it looks like we want 4096 ..
-- js suse labs -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
At Wed, 27 Mar 2013 10:36:12 +0100, Jiri Slaby wrote:
Ccing Takashi.
On 03/26/2013 08:51 PM, Cristian Rodríguez wrote:
Hi:
Is there a reason why CONFIG_SND_HDA_PREALLOC_SIZE is set to 1024 when the documentation says.
"A larger buffer (e.g. 2048) is preferred for systems using PulseAudio. "
.. plus all other distributions I have checked:
fedora and arch 4096
mandriva 2048
gentoo 2048
is this an oversight or intended ? at least for kernel-desktop it looks like we want 4096 ..
1024 is usually enough for normal purposes. It's been set so over years on SUSE, even before the kconfig was introduced (set in udev script instead). If you encounter a real problem with it, give a bugzilla report. It's no big problem to change the size itself. It just costs more memory statically on all machines. thanks, Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Tue, Apr 2, 2013 at 12:24 PM, Takashi Iwai <tiwai@suse.de> wrote:
1024 is usually enough for normal purposes. It's been set so over years on SUSE, even before the kconfig was introduced (set in udev script instead).
If you encounter a real problem with it, give a bugzilla report. It's no big problem to change the size itself. It just costs more memory statically on all machines.
Is it still possible to use udev rule to adjust it? It would avoid changing it for everyone. -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
At Tue, 2 Apr 2013 12:34:03 +0400, Andrey Borzenkov wrote:
On Tue, Apr 2, 2013 at 12:24 PM, Takashi Iwai <tiwai@suse.de> wrote:
1024 is usually enough for normal purposes. It's been set so over years on SUSE, even before the kconfig was introduced (set in udev script instead).
If you encounter a real problem with it, give a bugzilla report. It's no big problem to change the size itself. It just costs more memory statically on all machines.
Is it still possible to use udev rule to adjust it? It would avoid changing it for everyone.
You can change it even dynamically at any time via writing to a proc file like: echo 2048 > /proc/asound/card0/pcm0p/sub0/prealloc Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Am 02.04.2013 10:24, schrieb Takashi Iwai:
If you encounter a real problem with it, give a bugzilla report. It's no big problem to change the size itself. It just costs more memory statically on all machines.
How much? What is the unit? Bits? Bytes? Megabytes? -- Stefan Seyfried "If your lighter runs out of fluid or flint and stops making fire, and you can't be bothered to figure out about lighter fluid or flint, that is not Zippo's fault." -- bkw -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
At Tue, 02 Apr 2013 14:26:39 +0200, Stefan Seyfried wrote:
Am 02.04.2013 10:24, schrieb Takashi Iwai:
If you encounter a real problem with it, give a bugzilla report. It's no big problem to change the size itself. It just costs more memory statically on all machines.
How much? What is the unit? Bits? Bytes? Megabytes?
Did you read the help text of that kconfig item? Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Le mardi 02 avril 2013 à 14:26 +0200, Stefan Seyfried a écrit :
Am 02.04.2013 10:24, schrieb Takashi Iwai:
If you encounter a real problem with it, give a bugzilla report. It's no big problem to change the size itself. It just costs more memory statically on all machines.
How much? What is the unit? Bits? Bytes? Megabytes?
Kibibytes, so we are talking 1 MiB vs 2 MiB _per_ "PCM device". Ask Takashi for details - I don't know exactly what these are ;) I have 5 of these on one system and 3 on another, so the discussion is about using 3 to 5 additional MiB. This can be negligible on some systems and meaningful on others, so I'd say we don't want to change this. We'd rather have a sysconfig tunable or similar if needed. -- Jean Delvare Suse L3 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Le mardi 02 avril 2013 à 12:46 -0300, Cristian Rodríguez a écrit :
On 04/02/2013 12:27 PM, Jean Delvare wrote: We'd
rather have a sysconfig tunable or similar if needed.
sysctl you mean ?
Whatever works. My point is that it should be a run-time decision as there is no universal value that will be suitable for every system. -- Jean Delvare Suse L3 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (6)
-
Andrey Borzenkov
-
Cristian Rodríguez
-
Jean Delvare
-
Jiri Slaby
-
Stefan Seyfried
-
Takashi Iwai