public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Mark Knecht <markknecht@gmail.com>
Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>,
	Michal Schmidt <xschmi00@stud.feec.vutbr.cz>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Lee Revell <rlrevell@joe-job.com>
Subject: Re: 2.6.15-rt2 - repeatable xrun - no good data in trace
Date: Tue, 10 Jan 2006 11:05:17 +0100	[thread overview]
Message-ID: <20060110100517.GA23255@elte.hu> (raw)
In-Reply-To: <5bdc1c8b0601081404n2a163ce1ya21919800546dfc8@mail.gmail.com>


* Mark Knecht <markknecht@gmail.com> wrote:

> > cdrecord does run with SCHED_RR/99 when started with proper privileges.
>
> Ah, then it's likely that this isn't a real problem and it would be 
> expected to cause an xrun?
> 
> Anyway, it seems strange that the trace doesn't show anything. I 
> suppose that's because cdrecord just grabs a lot of time at a higher 
> priority than Jack and Jack ends up not getting serivces at all for 
> 5-10mS?

the tracer will only detect undue delays in the 'highest prio' task in 
the system - but it cannot detect whether all priorities in the system 
are given out properly. In this particular case it was cdrecord that had 
the highest priorities, and the delays you saw in Jackd were due to 
cdrecord trumping Jackd's priority.

One way to make such scenarios easier to notice & debug would be for 
jackd to warn if there are tasks in the system that have higher
priorities. (maybe it could even do it at xrun time, from a lower-prio 
thread.)

	Ingo

  parent reply	other threads:[~2006-01-10 10:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-08 20:52 2.6.15-rt2 - repeatable xrun - no good data in trace Mark Knecht
2006-01-08 21:04 ` Michal Schmidt
2006-01-08 21:49   ` Jan Engelhardt
2006-01-08 22:04     ` Mark Knecht
2006-01-08 22:11       ` Michal Schmidt
2006-01-08 22:21         ` Mark Knecht
2006-01-10 10:05       ` Ingo Molnar [this message]
2006-01-10 13:49         ` Steven Rostedt
2006-01-10 13:55           ` Mark Knecht
2006-01-10 14:04             ` Michal Schmidt

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=20060110100517.GA23255@elte.hu \
    --to=mingo@elte.hu \
    --cc=jengelh@linux01.gwdg.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markknecht@gmail.com \
    --cc=rlrevell@joe-job.com \
    --cc=xschmi00@stud.feec.vutbr.cz \
    /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