On 07/02/15 16:54, Simon Wise wrote:
On 07/02/15 16:08, Simon Wise wrote:
if it is the changing of cores that is causing the problems, perhaps try setting the pd process to a particular core ...
taskset is the program to set a process to use only a particular core, see its manpage.
you can also get more specific and reserve one of the cores exclusively for the main pd process using cpusets
https://raw.githubusercontent.com/torvalds/linux/master/Documentation/cgroup...
or: man cpuset
this mechanism can also allocate memory and such, the manpage gives a lot of detail, it does not seem difficult to use in a basic way, and could be very useful in the Udoo with its 4 big and 4 little cores, say reserving one for the main pd process, and one of the little cores for a simple interface that you want to be as low latency as possible ... say responding to specific GPIO events.
the big advantage for this would be that when the core is swapped the cache is invalidated ... this may well be quite significant when doing certain audio tasks, but I am not sure in detail.
Simon