From: David Dillow <dave@thedillows.org>
To: linux@schou.dk
Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org
Subject: Re: PROBLEM: SIS7019 stops recording after 42 min
Date: Mon, 21 Jun 2010 14:50:50 -0400 [thread overview]
Message-ID: <1277146250.2501.44.camel@lap75545.ornl.gov> (raw)
In-Reply-To: <AANLkTikW71h7ABVXY21pLL9AeOlmRTfVaSTjJ_6Ma0_R@mail.gmail.com>
On Mon, 2010-06-21 at 19:42 +0200, Hans Schou wrote:
> 2010/6/21 David Dillow <dave@thedillows.org>:
> > I don't know the options available on sox, but if you can use arecord to
> > reproduce, then that is probably the best tool for the job. Can you set
> > it up to use two periods per buffer and see if you still can reproduce?
> > Options would look like -B 250000 -F 125000. A second test with -B
> > 1000000 -F 500000 would be interesting, if the hw can handle buffers of
> > that size -- I don't recall offhand.
>
> I have just started it with -B 250000 -F 125000 and get a lot of overrun.
> I skipped using strace to make less stress.
>
> cmdline is now:
> arecord -B 250000 -F 125000 -c 1 -r 44100 -f S16 -M -D hw:0,0 -v arec.wav
>
> overrun!!! (at least 0.201 ms long)
> Status:
> state : XRUN
> trigger_time: 1277140527.1826705
> tstamp : 1277140527.2005279
> delay : 0
> avail : 16537
> avail_max : 16537
This really makes me think the system just cannot keep up. Can you post
the initial output to verify that it is getting two periods per buffer,
please? If you are getting overruns and small files in that
configuration, there is not much I think I do to help -- that uses the
hardware's built-in support for generating the appropriate interrupts.
Also, does it do the same without the -M ? And you may wish to try
longer and shorter periods to see if you get so many overruns.
Also, what storage are you using? Does it support DMA? PIO modes can be
very slow...
> > I will hopefully have my hardware back up and running tonight; BTW, what
> > distro are you using? I'm trying Fedora 13, but I'm expecting to run
> > into trouble with the lack of cmov support on the processor.
>
> Debian stable.
Thanks, I'll fall back to that if getting Fedora going looks to be more
trouble than it is worth.
Dave
next prev parent reply other threads:[~2010-06-21 18:58 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-19 14:13 Hans Schou
2010-06-19 18:31 ` David Dillow
2010-06-20 6:20 ` Hans Schou
2010-06-20 14:26 ` David Dillow
2010-06-21 5:56 ` Hans Schou
2010-06-21 14:06 ` David Dillow
2010-06-21 17:42 ` Hans Schou
2010-06-21 18:49 ` Hans Schou
2010-06-21 19:06 ` David Dillow
2010-06-21 20:10 ` Hans Schou
2010-06-23 3:00 ` David Dillow
2010-06-23 5:36 ` David Dillow
2010-06-23 18:22 ` Hans Schou
2010-06-23 18:26 ` Hans Schou
2010-06-23 20:42 ` David Dillow
2010-06-24 8:08 ` [alsa-devel] " Hans Schou
2010-06-21 18:50 ` David Dillow [this message]
2010-06-21 19:04 ` Hans Schou
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=1277146250.2501.44.camel@lap75545.ornl.gov \
--to=dave@thedillows.org \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@schou.dk \
/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
all inboxes | Powered by JetHome®