lkml.org 
[lkml]   [2004]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: CONFIG_PREEMPT and server workloads
At Fri, 19 Mar 2004 17:12:55 -0500,
Robert Love wrote:
>
>
> > Is one of these yours? My machine has 3 (but only one soundcard) ;)
> >
> > % find /proc/asound/ -name xrun_debug -ls
> > 4480 0 -r--r--r-- 1 root root 0 Mar 19 16:00 /proc/asound/card0/pcm1c/xrun_debug
> > 4470 0 -r--r--r-- 1 root root 0 Mar 19 16:00 /proc/asound/card0/pcm0c/xrun_debug
> > 4462 0 -r--r--r-- 1 root root 0 Mar 19 16:00 /proc/asound/card0/pcm0p/xrun_debug
> >
> > (Are these 3 different controls, or 3 places to set the same variable?)
>
> Heh :)
>
> I suspect I need debugging enabled.

yes, please turn on CONFIG_SND_DEBUG.

these files appear in each PCM stream, so that only one of them can be
activated. for example, pcm0p is the first PCM for playback, pcm1c
the second PCM for capture.

in the latest version of ALSA (the patchset will be submitted by
Jaroslav hopefully soon later), the debug messages are suppressed
until xrun_debug > 0 is set, because in many cases they are triggered
by the sloppy irq handler and harmless.
when xrun_debug > 1, the driver will show stacktraces together with
the xrun (overrun/underrun) notifications.

there is a new document, Documentation/sound/alsa/Procfile.txt, for
describing these and other proc files of ALSA.


Takashi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.066 / U:0.916 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site