<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2015-04-12 21:01 GMT+03:00 Sergey Safarov <span dir="ltr">&lt;<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><span style="font-size:12.8000001907349px">1) But in your case, cyclictest can generate 336000 (42*8000) hardware timer irqs per second VS 8000 from TDM card&#39;s.</span><br></div><div><br></div><div>Very interest results.</div><div>My example creates a lot of unnecessary interruptions</div><div>For VoIP only host more correctly measured so</div><div>cyclictest -t42 -p -d 80 0 -n -i -l 5000 6000</div><div>or</div><div><div>cyclictest -t42 -p -d 80 0 -n -i -l 10000 3000</div></div><div><br></div><div>If FS has one TDM cards then</div><div><div>cyclictest -t1 -p -d 80 0 -n -i -l 125 240000<br></div><div><br></div><div>If two TDM cards </div><div><div>cyclictest -t2 -p -d 80 0 -n -i -l 125 240000<br></div></div><div><br></div><div>Where &quot;-t&quot; key equal number of TDM cards</div></div></div></blockquote><div><br></div><div>In any case, I recommend adding the interval between threads.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div style="font-size:12.8000001907349px">2) According to Digium sources your TDM card have 20ms max buffer size(3ms default)</div><span class=""><div><span style="font-size:12.8000001907349px">USB dongles have at least 20 ms.</span></div><div><br></div></span><div>Can you describe how you have found this information. It is very interest.<span class=""><font color="#888888"><br></font></span></div><span class=""><font color="#888888"><div><span style="color:rgb(80,0,80)"></span></div></font></span></div></div></blockquote><div><br></div><div><br></div><div>I looked into TDM card&#39;s driver sources and on the internet.</div><div>Now I found another page and according to this page they increase card&#39;s FIFO to 16ms,<br></div><div>and reduce maximum latency from 20ms to 12ms.</div><div><a href="http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commit;h=ae5fa08abd1b898c0c080927e75c7249b3982c2d">http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commit;h=ae5fa08abd1b898c0c080927e75c7249b3982c2d</a> <br></div><div><br></div><div><div>As for USB dongles I hope you will be trust Giovanni. Giovanni already said about 20ms frames.</div></div><div><br></div><div>Dmitry.</div><div><br></div><div>[rest was too long, skipped]</div></div></div></div>