mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Karsten Wiese <fzu@wemgehoertderstaat.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: v2.6.19-rt1, yum/rpm
Date: Tue, 5 Dec 2006 09:25:53 +0100	[thread overview]
Message-ID: <20061205082553.GA13000@elte.hu> (raw)
In-Reply-To: <200612050119.59113.fzu@wemgehoertderstaat.de>


* Karsten Wiese <fzu@wemgehoertderstaat.de> wrote:

> I tweaked latency_trace.c to make freerunning work. Will post later.

ok, please do.

i'm trying to understand your trace:

> Below the trace shows i_usX2Y_usbpcm_urb_complete() running under an 
> alien context, and this is where jackd starts stalling:

by 'alien context' do you mean softirq--4? That is the following kernel 
thread:

    4 ?        S      0:00 [softirq-high/0]

handling HI_SOFTIRQ softirqs, which are the 'highprio' tasklets.

>   IRQ_17-308   0D..2 3411063us : deactivate_task <IRQ_17-308> (180 2)
> softirq--4     0D..2 3411064us+: __schedule <IRQ_17-308> (180 101)
> softirq--4     0.... 3411072us+: i_usX2Y_usbpcm_urb_complete (8 0 dd134)
> softirq--4     0.... 3411078us : try_to_wake_up (c011b4ab 0 0)
> softirq--4     0D..1 3411079us : __activate_task <jackd-2667> (173 1)
> softirq--4     0Dn.1 3411079us : try_to_wake_up <jackd-2667> (173 101)
> softirq--4     0Dn.1 3411080us : __schedule (c032a862 0 0)
>    jackd-2667  0D..2 3411081us+: __schedule <softirq--4> (101 173)

it's running at SCHED_FIFO prio 80.

it's probably this use in sound/usb/usbmidi.c:

                tasklet_hi_schedule(&port->ep->tasklet);

so what is your observation - if i_usX2Y_usbpcm_urb_complete() is 
executed in this tasklet then you are seeing xruns/delays?

	Ingo

      parent reply	other threads:[~2006-12-05  8:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-30  8:33 Ingo Molnar
2006-12-05  0:19 ` Karsten Wiese
2006-12-05  6:48   ` Karsten Wiese
2006-12-05  8:25   ` Ingo Molnar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061205082553.GA13000@elte.hu \
    --to=mingo@elte.hu \
    --cc=fzu@wemgehoertderstaat.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome