Line 26: | Line 26: | ||
Find your sound card's IRQ by looking at '/proc/interrupts' and lspci.</pre> | Find your sound card's IRQ by looking at '/proc/interrupts' and lspci.</pre> | ||
According to raboof, the writer of this program, this last part of the scan has only proved beneficial in one case. | According to raboof, the writer of this program, this last part of the scan has only proved beneficial in one case. For more information on IRQ settings, I suggest checking out [http://subversion.ffado.org/wiki/IrqPriorities this website]. | ||
In any case, I encourage you to run the test and post any concerns, comments, or questions you may have to [http://linuxmusicians.com/viewtopic.php?f=27&t=452&start=75&st=0&sk=t&sd=a this website]. You will need to set up an account to make a post on the forum. Raboof goes by the same name(raboof) on the forum. | In any case, I encourage you to run the test and post any concerns, comments, or questions you may have to [http://linuxmusicians.com/viewtopic.php?f=27&t=452&start=75&st=0&sk=t&sd=a this website]. You will need to set up an account to make a post on the forum. Raboof goes by the same name(raboof) on the forum. | ||
The scan may be different by the time you read this tutorial. As I understand it, this is an ongoing project. For the most up to date information, I suggest following [http://linuxmusicians.com/viewtopic.php?f=27&t=452&start=75&st=0&sk=t&sd=a this link] to the forum discussion. | The scan may be different by the time you read this tutorial. As I understand it, this is an ongoing project. For the most up to date information, I suggest following [http://linuxmusicians.com/viewtopic.php?f=27&t=452&start=75&st=0&sk=t&sd=a this link] to the forum discussion. |
Revision as of 04:21, 28 August 2010
Real Time Audio Production:Taking it a Step Further
Ok, so you have downloaded and installed the real time kernel from the Planet CCRMA at Home repositories, but you feel that something is still compromising your low latency objectives. Maybe you are running JACK(JACK Audio Connection Kit) and you are are experiencing a large amount of XRUNs(inconsistencies). Or, maybe you just want see how low of a latency is possible on your hardware. Well, keep in mind that your latency is affected by everything from the cache in your CPU to the rotational speed of your hard drive to the device driver for your sound card. This test will scan your system and perform a number of checks. The checks are intended to help you achieve minimal latencies while lowering the possibility of experiencing an XRUN. Although I have experimented with a few simple, yet efficient benchmark tests, an average benchmark only tests the benchmark program, and our goal is to make and record music using our computer. So, to avoid digressing into another topic, your best benchmarking tool may be the JACK Audio Connection Kit using your preferred settings and applications.
Checking Your Configuration
This first program was shown to me by raboof in the #opensourcemusicians channel on irc.freenode.net. As far as I know, he wrote this program without any help. This is the real time configuration quick scan. You can download it from this link.
Follow the instructions on the site or you can use my instructions. Notice that my instructions will run the command line version as opposed to the GUI version and that the GUI version is still experimental.
The instructions are as follows
hg clone https://realtimeconfigquickscan.googlecode.com/hg/ realtimeconfigquickscan
simply navigate to the directory
cd realtimeconfigquickscan/
for the last part I choose to run the command line version as I have had better results with it.
So, type
./realTimeConfigQuickScan.pl
and hit enter.
Now, if the scan reports that something is not optimized, it will not only tell you, but it will give you a link to this website, which has detailed information about the many checks that are performed with this program.
Granted, all of the tests in this scan may not apply to you and your hardware, but this is where the real fun begins. And we all know that real fun can only happen in real time.
The very last thing you will like see from the output of this scan is something like this
** Set $SOUND_CARD_IRQ to the IRQ of your soundcard to enable more checks. Find your sound card's IRQ by looking at '/proc/interrupts' and lspci.
According to raboof, the writer of this program, this last part of the scan has only proved beneficial in one case. For more information on IRQ settings, I suggest checking out this website.
In any case, I encourage you to run the test and post any concerns, comments, or questions you may have to this website. You will need to set up an account to make a post on the forum. Raboof goes by the same name(raboof) on the forum.
The scan may be different by the time you read this tutorial. As I understand it, this is an ongoing project. For the most up to date information, I suggest following this link to the forum discussion.