[Jack-Devel] Usage feasibility Q

Robin Gareus robin at gareus.org
Sat Jan 27 23:34:41 CET 2018


On 01/27/2018 09:55 PM, Chris Caudle wrote:

> Context switches are only a few microseconds. 

Certainly the right ballpark, but it depends. It could easily be a few
hundred microseconds (depending on the memory touched, the architecture,
cache layout, and CPU speed). sample-players can have a rather large
working-set for example.

You can measure it:
 https://github.com/tsuna/contextswitch/blob/master/timectxswws.c

ciao,
robin



More information about the Jackaudio mailing list