From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Jaroslav Kysela <perex@perex.cz>
Cc: alsa-devel@alsa-project.org, Jinyoung Park <mcjin02@gmail.com>
Subject: Re: What recommended performance for ALSA(ASoC)?
Date: Fri, 7 Mar 2008 11:20:09 +0000 [thread overview]
Message-ID: <20080307112008.GA5033@rakim.wolfsonmicro.main> (raw)
In-Reply-To: <Pine.LNX.4.61.0803070838120.7942@tm8103.perex-int.cz>
On Fri, Mar 07, 2008 at 08:49:09AM +0100, Jaroslav Kysela wrote:
> On Fri, 7 Mar 2008, Jinyoung Park wrote:
> > Target system' processor(ARM9) clock is 200MHz and BogoMIPS is
> > 99.6(cat /proc/cpuinfo). Linux kernel version is 2.6.24.1.
> > What recommended performance for ALSA(ASoC)?
> > If my target system is enough performance, shall I do that solve problem?
That should be more than enough in terms of CPU performance - it's
fairly typical for an ASoC-based system.
> It looks like that your driver has trouble with highter rates. Also, try
> to measure where the problem occurs. Maybe your system is not able to
> deliver data from source in time to sound DMA buffer for continuous
> playback. Note that whole system must be tuned not only ALSA driver to get
> satisfiable results. DMA+mmap transfers are pretty lightweight in ALSA,
> but if disc read operation eats too much CPU time, you cannot expect good
> results.
If the CPU is busy it's also worth ensuring that the playback format you
are using is directly supported by the hardware to avoid the CPU having
to do any additional transcoding.
> Regarding noises - I would check if DMA ring buffer position reported from
> driver is correct in application. It looks like a handshake or
> maybe cache problem.
Also check that the clocking of the audio subsystem isn't going to be
introducing any glitches. You usually want to ensure that the audio
parts of the system are part of a single clocking domain.
next prev parent reply other threads:[~2008-03-07 11:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-07 2:01 What recommended performance for ALSA(ASoC)? Jinyoung Park
2008-03-07 7:49 ` Jaroslav Kysela
2008-03-07 11:20 ` Mark Brown [this message]
[not found] <5BF78BCE8D9BF14A83F836BD9E3916BA053FDA@blrms.slti.sanyo.co.in>
2008-03-07 17:25 ` Jin-Young Park
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=20080307112008.GA5033@rakim.wolfsonmicro.main \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=mcjin02@gmail.com \
--cc=perex@perex.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