Patrick,
I found your write up interesting. For the most part I agree with your
conclusions. I don't think fluxbox 'sounds better' than Gnome, but more just
that very few things are running so there is likely to be fewer conflicts.
On the other hand, I wonder what part your USB sound card contributes to
this problem simply because it's USB? USB transfers are pretty small. This
causes the system to require more packets and packet headers to get the same
amount of data moved. I wonder if the USB portion of Linux could be
contributing to this problem? It may be that those of us using PCI based
audio cards don't suffer this problem at all. I certainly haven't noticed
any of the things your are talking about.
Anyway, very interesting stuff.
With best regards,
Mark
-----Original Message-----
From: ardour-users-admin(a)lists.sourceforge.net
[mailto:ardour-users-admin@lists.sourceforge.net]On Behalf Of Patrick
Shirkey
Sent: Friday, November 08, 2002 1:54 PM
To: Jesse Chappell
Cc: ardour-users(a)lists.sourceforge.net;
linux-audio-user(a)music.columbia.edu
Subject: Re: [Ardour-users] Re: [Alsa-devel] usb audio sound quality
Jesse Chappell wrote:
What is the nature of the quality degradation? I
assume that
no xruns are occurring in all cases... you are sensing
degradation that occurs with no obvious suspect?
Yes no xruns. It seems to be directly related to the amount of available
physical memory. I have been talking with AthlonRob about how the Linux
memory management works and it seems that the kernel will cache almost
all the available memory up to between 10 and 4 MB before it starts
swapping.
It also appears that the kernel stores a certain amount of recently used
data and I guess that by playing an audio stream it stores that to
memory until something which needs it, like a gui app request the space.
It will then transparently give up the memory it has cached giving the
impression that no memory has been used to open an application.
So It seems I am in a bit of a catch22. In order to use JACK with no
sound degredation I have to run with no gui. However the kernel will
eventually use up the memory space which will probably cause
degredation. However I haven't tested this as I haven't had the time.
From here it seems the kernel will cache memory at around 1MB per
minute. Sometimes more, sometime less.
--
Patrick Shirkey - Boost Hardware Ltd.
For the discerning hardware connoisseur
Http://www.boosthardware.com
Http://www.djcj.org - The Linux Audio Users guide
========================================
Being on stage with the band in front of crowds shouting, "Get off! No!
We want normal music!", I think that was more like acting than anything
I've ever done.
Goldie, 8 Nov, 2002
The Scotsman
-------------------------------------------------------
This
sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Ardour-users mailing list
Ardour-users(a)lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ardour-users