Dear list, I am getting closer to the solution of binding process to a certain core with taskset. e.g. taskset 0xa gedit will bind the gedit to the tenth core.
Now the problem is that I cannot identify the subprocess by its name as it will be pd too, and the PID will be always different so cannot use that number too. What would be the logical solution for starting the subprocess from pd with the taskedit command?
Thanks in advance for any help,
Popesz
On Thu, Mar 5, 2020 at 11:14 PM IOhannes m zmölnig zmoelnig@iem.at wrote:
On 3/5/20 10:48 PM, Charles Z Henry wrote:
On Thu, Mar 5, 2020 at 4:14 AM Max abonnements@revolwear.com wrote:
A glance at the System Monitor CPU history graph should give you an
idea.
i usually use 'htop', which is a much improved version of top which also (among verious other interesting things) gives you the CPU of a process.
Second, you can bind processes to certain CPUs. This is called "CPU affinity" and it's controlled by the linux command "taskset". This looks like a fine explanation
but keep in mind that the people who designed the muticore scheduling algorithms most likely will have a better idea of how to ideally distribute multiple processes onto multiple CPUs.
gmsdr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list