Re: CONFIG_PREEMPT and server workloads

From: Valdis . Kletnieks
Date: Fri Mar 19 2004 - 17:06:52 EST


On Thu, 18 Mar 2004 14:24:59 EST, Robert Love said:
> On Thu, 2004-03-18 at 14:08, Takashi Iwai wrote:
>
> > oh, sorry, maybe i forgot to tell you that it has been already there
> > :)
> >
> > # echo 1 > /proc/asound/card0/pcm0p/xrun_debug
> >
> > this will show the stacktrace when a buffer overrun/underrun is
> > detected in the irq handler. it's not perfect, though.
>
> Excellent!
>
> Has this resulted in anything useful?
>
> With KALLSYMS=y, a lot of users now become intelligent bug testers.
>
> Eh, except that I do not have that procfs entry on my system..

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?)

Attachment: pgp00000.pgp
Description: PGP signature