From: "Iain Sandoe" <iain@sandoe.co.uk>
To: Giuliano Pochini <pochini@shiny.it>
Cc: linuxppc-dev@lists.linuxppc.org,
Geert Uytterhoeven <geert@linux-m68k.org>,
cort@fsmlabs.com
Subject: Re: Sound skips
Date: Mon, 26 Mar 2001 12:51:09 +0100 [thread overview]
Message-ID: <20010326115110.7587C2EFE4@apollo.valhalla.net> (raw)
[Geert, Cort - the question for you guys is "has the Console IRQ block been
solved?" - I was under the impression it had from some traffic on
Linux-audio-dev]
Mon, Mar 26, 2001, Giuliano Pochini wrote:
>>> Ok, I'll try, but this problem regards interrupt latency,
>>> not user-spacelatency.
>> can you be sure it is IRQ and not scheduling latency?
> No, but it's likely to be. The audio buffer is 32 fragments (2KB),
> that is 1.48s. I don't think an app can remain blocked so long
an FB scroll would block my G3/beige for 1.9 sec! (but YMMV).
>and it
> doesn't explain why libtool blocks the sound since it executes in much
> less time than one second.
no it doesn't... hmmm interesting... but see below:
--
for dmasound: regardless of how many fragments are buffered only two (max)
will be queued for dbdma - so IRQs blocked for longer than 23-ish ms will
skip with that setup.
[the IRQ routine deals with queuing fragments written by the app but not yet
queued for dbdma]
In addition - unless the app can write all 32 fragments ahead - if *it* is
blocked (by scheduling latency) this will also cause the same effects.
>> If so, can you
>> identify what driver or function is holding off IRQs for this length of
>> time? [a few hundred ms is a 'monstrous' time to hold IRQs off].
> Console scrolling does it IFAIK, but this is not the case.
Yes, console is/was a bad offender - but I thought that the IRQ block in
that had been solved...
Cort? Geert?
ciao,
Iain.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next reply other threads:[~2001-03-26 11:51 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-26 11:51 Iain Sandoe [this message]
2001-03-26 16:23 ` Sound skips Geert Uytterhoeven
-- strict thread matches above, loose matches on Subject: below --
2001-04-09 9:34 Iain Sandoe
2001-04-08 14:52 Iain Sandoe
2001-04-09 7:56 ` Giuliano Pochini
2001-03-29 8:52 Iain Sandoe
2001-03-29 15:39 ` Giuliano Pochini
2001-04-07 20:39 ` Giuliano Pochini
2001-03-26 8:56 Iain Sandoe
2001-03-26 10:34 ` Giuliano Pochini
2001-03-28 20:33 ` Giuliano Pochini
2001-03-26 4:30 Iain Sandoe
2001-03-26 7:17 ` Giuliano Pochini
2001-03-24 19:45 Iain Sandoe
2001-03-25 19:41 ` Giuliano Pochini
2001-03-24 15:39 Giuliano Pochini
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=20010326115110.7587C2EFE4@apollo.valhalla.net \
--to=iain@sandoe.co.uk \
--cc=cort@fsmlabs.com \
--cc=geert@linux-m68k.org \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=pochini@shiny.it \
/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;
as well as URLs for NNTP newsgroup(s).