On Wed, Apr 26, 2023 at 4:19 PM Ilya Maximets <[email protected]> wrote: > > 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.
Hi Ilya, Thanks for your kind reminder. Didn't notice that before. Yes, systemd service affinity works for my case. Please ignore this patch. Sorry to have taken up your time. Regards Wan Junjie _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
