On 4/21/23 15:07, Wan Junjie via dev wrote:
> Deployment with dpdk and spdk should limit the core of non-pmd
> threads. When starting ovs with ovs-ctl or systemd, the process will
> inherit the affinity of its parent process. Even if we manuanlly
> set the affinity, restarting after crash will lose the setting.
> 
> Prepend taskset in ovs-ctl when start daemon, so it will set the
> affinity each time starting the ovs.

Hi,

systemd has various ways of specifying CPU affinity and resource limits
globally and for a specific service.  Services like tuned can also be
used for that purpose.  Is it not enough for your use case?

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to