From: Sebastian Benoit <benoit-lists@fb12.de>
To: alsa-devel@alsa-project.org
Cc: perex@suse.cz
Subject: Re: Juli@-Card and hanging process snd-ak4114/0
Date: Tue, 15 Mar 2005 17:47:55 +0059 [thread overview]
Message-ID: <20050315164817.GA86246@mail.webmonster.de> (raw)
In-Reply-To: <Pine.LNX.4.58.0503101812250.1733@pnote.perex-int.cz>
[-- Attachment #1: Type: text/plain, Size: 1485 bytes --]
Hi,
Jaroslav Kysela(perex@suse.cz) on 2005.03.10 18:14:12 +0000:
> > The main problem is, that a process "snd-ak4114/0" is using 60% of my CPU
> > time. I would like to solve this problem, and have started reading trough
> > the code. But it seems I need some pointers where to look ;-)
>
> You may try to change queue_delayed_work(chip->workqueue, &chip->work, 1);
> to queue_delayed_work(chip->workqueue, &chip->work, 2); (or highter value)
> in alsa-kernel/i2c/other/ak4114.c .
A value of two gives me 40% CPU time, with 100 the process uses ~2%.
> It seems that i2c takes too much time. Or it might be, that the scheduler
> code for task statistics is somewhat broken.
My other process behave like they dont get enough time, so i think the
scheduler stats are right ;-)
With the value in ak4114.c set to 100 everything is working. I don't know
about spdif, i haven't tried that, am i right that the ak4114.c code manages
digital i/o?
My application is recording and playing (something differen) at the same
time via this card, and that works fine now, except for the output volume.
I am willing to test more. Is someone working on the mixer code?
Thanks for your help.
/B.
--
Sebastian Benoit <benoit-lists@fb12.de>
My mail is GnuPG signed -- Unsigned ones are bogus -- http://www.gnupg.org/
GnuPG 0xD777DBA7 2003-09-10 D02B D0E0 3790 1AA1 DA3A B508 BF48 87BF D777 DBA7
That's so plausible I can't believe it -- Leiyla, Futurama
[-- Attachment #2: Type: application/pgp-signature, Size: 187 bytes --]
next prev parent reply other threads:[~2005-03-15 16:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-10 17:03 Juli@-Card and hanging process snd-ak4114/0 Sebastian Benoit
2005-03-10 17:11 ` Lee Revell
2005-03-10 17:14 ` Jaroslav Kysela
2005-03-15 16:48 ` Sebastian Benoit [this message]
2005-03-15 16:56 ` Jaroslav Kysela
2005-03-15 17:24 ` Sebastian Benoit
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=20050315164817.GA86246@mail.webmonster.de \
--to=benoit-lists@fb12.de \
--cc=alsa-devel@alsa-project.org \
--cc=perex@suse.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.