All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shaju Abraham <shaju@multitech.co.in>
To: Alsa-Developers <alsa-devel@alsa-project.org>
Subject: Use only a few bds.
Date: Thu, 22 Aug 2002 10:15:13 +0530	[thread overview]
Message-ID: <3D646C59.22B1BBBB@multitech.co.in> (raw)

Hi all,

    In our study that we are doing abt latency of sound cards, we want
to have a situation where I do not want to use all of the 32 bds
available. we want to use say only 4 or 8 of the bds with each bd
pointing to only a small fragment of data.( This is basically to make
the card interrupt frequently and will also should not be able to
proceed if the interrupts raised by the past bds have not been serviced.
So want to restrict it to 4 or 8 ) .

It will be of great help if you can help us on the following two points.

            i)  What is the significance of ICH_MAX_FRAGS?  ( It seems
to be used only for the allocation of pages for the buffer and for
little else during the actual functioning of the card.)

            ii)    What is the significance of ICH_REG_LVI_MASK?  (This
is more used during the actual functioning of the card & is used in the
interrupt service sub-routine to update the lvi.)  It is by default 0x1f
. Is this 'cos it can be used to address the 32 bds available.  I
changed this to 3 and 7 . I observed that this makes the card to use
only 4 or 8 of the bds available. Am I correct in this conclusion?  If I
do this, I get some noise. Is this because of the interrupts raised by
the unused bds?

    If I am wrong abt all this, how should I go abt my idea of using
only 4 or 8 of the bds available?

Thanx,
--Shaju




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390

             reply	other threads:[~2002-08-22  4:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-22  4:45 Shaju Abraham [this message]
2002-08-22  6:45 ` Use only a few bds Jaroslav Kysela

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=3D646C59.22B1BBBB@multitech.co.in \
    --to=shaju@multitech.co.in \
    --cc=alsa-devel@alsa-project.org \
    /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.