2015-04-12 21:01 GMT+03:00 Sergey Safarov <s.safarov@gmail.com>:
1) But in your case, cyclictest can generate 336000 (42*8000) hardware timer irqs per second VS 8000 from TDM card's.

Very interest results.
My example creates a lot of unnecessary interruptions
For VoIP only host more correctly measured so
cyclictest -t42 -p -d 80 0 -n -i -l 5000 6000
or
cyclictest -t42 -p -d 80 0 -n -i -l 10000 3000

If FS has one TDM cards then
cyclictest -t1 -p -d 80 0 -n -i -l 125 240000

If two TDM cards 
cyclictest -t2 -p -d 80 0 -n -i -l 125 240000

Where "-t" key equal number of TDM cards

In any case, I recommend adding the interval between threads.
 
2) According to Digium sources your TDM card have 20ms max buffer size(3ms default)
USB dongles have at least 20 ms.

Can you describe how you have found this information. It is very interest.


I looked into TDM card's driver sources and on the internet.
Now I found another page and according to this page they increase card's FIFO to 16ms,
and reduce maximum latency from 20ms to 12ms.
http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commit;h=ae5fa08abd1b898c0c080927e75c7249b3982c2d 

As for USB dongles I hope you will be trust Giovanni. Giovanni already said about 20ms frames.

Dmitry.

[rest was too long, skipped]