From Fedora Project Wiki
No edit summary
Line 1: Line 1:
==Real Time Experiments==
==Real Time Experiments==


Ok, so you have installed the real time kernel from Planet CCRMA but you feel that something is still compromising your low latency objectives.  Well, this is a touchy subject and it does have many variables, but with some research and some useful tools, you will be able to have your Fedora machine running with acceptable latencies in no(real) time.  No pun intended.
Ok, so you have installed the real time kernel from Planet CCRMA but you feel that something is still compromising your low latency objectives.  Well, this is a touchy subject and it does have many variables, but with some research and some useful tools, you will be able to have your Fedora machine running with acceptable latencies in no time.  No pun intended.


==Tests==
==Tests==
    
    
There are two tools that I use to further fine tune my Fedora system for real time audio use. 
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 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 here: http://code.google.com/p/realtimeconfigquickscan/  [http://code.google.com/p/realtimeconfigquickscan/]
This is the real time configuration quick scan.  You can download it here: http://code.google.com/p/realtimeconfigquickscan/  [http://code.google.com/p/realtimeconfigquickscan/]
Line 12: Line 10:
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.   
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.   


They are as follows
The instructions are as follows
<pre>hg clone https://realtimeconfigquickscan.googlecode.com/hg/ realtimeconfigquickscan</pre>
<pre>hg clone https://realtimeconfigquickscan.googlecode.com/hg/ realtimeconfigquickscan</pre>


Line 26: Line 24:
which has detailed information about the many checks that are performed with this program.
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.
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 <pre>** 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.</pre>
 
According to raboof, the writer of this program, this last part of the scan has only proved beneficial in one case.
 
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 [http://linuxmusicians.com/viewtopic.php?f=27&t=452&start=75&st=0&sk=t&sd=a].  You will need to set up an account to 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.
 
IRQ(Interrupt Request
 
 
 
 
==Tools==

Revision as of 03:56, 27 August 2010

Real Time Experiments

Ok, so you have installed the real time kernel from Planet CCRMA but you feel that something is still compromising your low latency objectives. Well, this is a touchy subject and it does have many variables, but with some research and some useful tools, you will be able to have your Fedora machine running with acceptable latencies in no time. No pun intended.

Tests

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 here: http://code.google.com/p/realtimeconfigquickscan/ [1]

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.

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 http://wiki.linuxmusicians.com/doku.php?id=system_configuration [2] 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.

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 [3]. You will need to set up an account to 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.

IRQ(Interrupt Request



Tools