* Use only a few bds.
@ 2002-08-22 4:45 Shaju Abraham
2002-08-22 6:45 ` Jaroslav Kysela
0 siblings, 1 reply; 2+ messages in thread
From: Shaju Abraham @ 2002-08-22 4:45 UTC (permalink / raw)
To: Alsa-Developers
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
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Use only a few bds.
2002-08-22 4:45 Use only a few bds Shaju Abraham
@ 2002-08-22 6:45 ` Jaroslav Kysela
0 siblings, 0 replies; 2+ messages in thread
From: Jaroslav Kysela @ 2002-08-22 6:45 UTC (permalink / raw)
To: Shaju Abraham; +Cc: Alsa-Developers
On Thu, 22 Aug 2002, Shaju Abraham wrote:
> 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?
I'm rewriting the intel8x0 driver to use scatter-gather DMA access and
adding support for I845. So these question will be obsolete after a few days.
Jaroslav
-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-08-22 6:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-22 4:45 Use only a few bds Shaju Abraham
2002-08-22 6:45 ` Jaroslav Kysela
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.