Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:jack_latency_results [2010/12/05 22:46] – created rgareuswiki:jack_latency_results [2013/06/02 15:45] (current) – external edit 127.0.0.1
Line 5: Line 5:
 ===== Headline ===== ===== Headline =====
  
-HDA 1: Intel ICH6\\              +Legend: 
-HDA 2: ATI SB4x0\\ + 
-HDA 3: Intel\\ +**HDA 1**: Intel ICH6\\              
-USB 1: HY554\\ +**HDA 2**: ATI SB4x0\\ 
-USB 2: Edirol UA-25 (Luis)\\ +**HDA 3**: Intel 5 Series/3400 Series Chipset HDA (1458:a002)\\ 
-USB 3: Edirol UA-25 (Robin)\\+**USB 1**: HY554\\ 
 +**USB 2**: Edirol UA-25 (Luis)\\ 
 +**USB 3**: Edirol UA-25 (Robin)\\ 
 + 
 +**64*2/48kHz**: jackd backend parameters ''-p64 -n2 -r48000''\\ 
 +**/S**: jackdmp synchronous mode\\ 
 +**RIL**: reported input latency\\ 
 +**ROL**: reported output latency\\
  
-**RIL**: reported input latency 
-**RIL**: reported output latency 
-**S**: jackdmp synchronous mode 
  
 ==== Table 1: Total round-trip Latency ==== ==== Table 1: Total round-trip Latency ====
Line 20: Line 24:
  
 Table 1 - Latency values for six different audio devices: three on-board HDA and three external USB. Table 1 - Latency values for six different audio devices: three on-board HDA and three external USB.
-| | | |HDA 1||HDA 2||HDA 3||USB 1||USB 2||USB 3|| +^ ^ ^ ^HDA 1^^HDA 2^^HDA 3^^USB 1^^USB 2^^USB 3^^ 
-| |RIL|ROL|frames|ms|frames|ms|frames|ms|frames|ms|frames|ms|frames|ms||+^ ^RIL^ROL^frames^ms^frames^ms^frames^ms^frames^ms^frames^ms^frames^ms^^
 |  64*2/48kHz/S |64|64|160.42|3.34|156.37|3.26|169.9|3.54|312.63|6.51|378.48|7.88|377.75|7.87| |  64*2/48kHz/S |64|64|160.42|3.34|156.37|3.26|169.9|3.54|312.63|6.51|378.48|7.88|377.75|7.87|
 |  64*2/48kHz   |64|128|224.42|4.68|220.38|4.59|233.88|4.87|376.63|7.85|442.48|9.22|441.75|9.2| |  64*2/48kHz   |64|128|224.42|4.68|220.38|4.59|233.88|4.87|376.63|7.85|442.48|9.22|441.75|9.2|
Line 52: Line 56:
  
 Table 2 - Latency measurements minus jackd reported latency Table 2 - Latency measurements minus jackd reported latency
-| |HDA 1||HDA 2 ||HDA 3||USB 1||USB 2||USB 3|| +^ ^HDA 1^^HDA 2^^HDA 3^^USB 1^^USB 2^^USB 3^^ 
-| |frames|ms|frames|ms|frames|ms|frames|ms|frames|ms|frames|ms||+^ ^frames^ms^frames^ms^frames^ms^frames^ms^frames^ms^frames^ms^^
 |  64*2/48kHz/S |32.42|0.68|28.37|0.59|41.9|0.87|184.63|3.85|250.48|5.22|249.75|5.2| |  64*2/48kHz/S |32.42|0.68|28.37|0.59|41.9|0.87|184.63|3.85|250.48|5.22|249.75|5.2|
 |  64*2/48kHz   |32.42|0.68|28.38|0.59|41.88|0.87|184.63|3.85|250.48|5.22|249.75|5.2| |  64*2/48kHz   |32.42|0.68|28.38|0.59|41.88|0.87|184.63|3.85|250.48|5.22|249.75|5.2|
Line 82: Line 86:
  
 Table 3 - Latency measurements for USB devices minus jackd reported latency minus one extra period length Table 3 - Latency measurements for USB devices minus jackd reported latency minus one extra period length
-| | USB 1 || USB 2 || USB 3 || +^ ^ USB 1^^USB 2^^USB 3^^ 
-| |frames|ms|frames|ms|frames|ms||+^ ^frames^ms^frames^ms^frames^ms^^
 |  64*2/48kHz/S |120.63|2.51|186.48|3.89|185.75|3.87| |  64*2/48kHz/S |120.63|2.51|186.48|3.89|185.75|3.87|
 |  64*2/48kHz   |120.63|2.51|186.48|3.89|185.75|3.87| |  64*2/48kHz   |120.63|2.51|186.48|3.89|185.75|3.87|
Line 107: Line 111:
 |2048*2/48kHz   |-807.38|-16.82|-741.5|-15.45|-790.25|-16.46| |2048*2/48kHz   |-807.38|-16.82|-741.5|-15.45|-790.25|-16.46|
 |2048*3/48kHz/S |-807.38|-16.82|-741.52|-15.45|-790.25|-16.46| |2048*3/48kHz/S |-807.38|-16.82|-741.52|-15.45|-790.25|-16.46|
-|2048*3/48kHz   |-807.38|-16.82|-789.5|-16.45|-838.25|-17.46|          +|2048*3/48kHz   |-807.38|-16.82|-789.5|-16.45|-838.25|-17.46| 
 + 
 + 
 +===== Plots ===== 
 +(click on the image for full original size) 
 + 
 +==== Table 1 ==== 
 +{{:wiki:jack_latency_tests:table1lin.png?810| 
 +Table 1 - Latency values for six different audio devices: three on-board HDA and three external USB.}} 
 + 
 +Same plot with logarithmic time-axis (n = (2^x) with  4<=x<=12 , x ∈ N): 
 +{{:wiki:jack_latency_tests:table1.png?250|Table 1 - Latency values for six different audio devices (log scale): three on-board HDA and three external USB.}} 
 + 
 +==== Table 2 ==== 
 + 
 +{{:wiki:jack_latency_tests:table2lin.png?810|Table 2 - Latency measurements minus jackd reported latency}} 
 + 
 +Plot of Table 2 with logarithmic time-axis: 
 +{{:wiki:jack_latency_tests:table2.png?250|Table 2 - Latency measurements minus jackd reported latency (log scale)}} 
 + 
 +==== Table 3 ==== 
 +{{:wiki:jack_latency_tests:table3.png?810|Table 3 - Latency measurements for USB devices minus jackd reported latency minus one extra period length}} 
 + 
 +HDA 1 and USB 1 showing the knee at p=1024 for USB devices: {{:wiki:jack_latency_tests:table3b.png?250|}} 
 + 
 + 
 +===== Datafiles and scripts ===== 
 +The raw data files (CSV) including the gnuplot script to generate these plots is available for download: 
 +{{:wiki:jack_latency_tests:latencyplot.tgz|}} 
 + 
 +A script to acquire the data using ''jack_delay'' can the found at ''%%git://rg42.org/latentor%%'' or directly:  
 +[[http://rg42.org/gitweb/?p=latentor.git;a=snapshot;sf=tgz|latentor.tgz]].
wiki/jack_latency_results.1291585567.txt.gz · Last modified: 2010/12/05 22:46 by rgareus