Hi,
Any particular reason why you’d want to configure scheduling policy and
priority? I for one never tried it with ldp so not sure why you’re hitting the
issue.
Have you tried pinning vpp’s workers with something like { main-core 1
corelist-workers 2-4 } and then starting nginx with taskset on some other
workers like 6 - 13?
Note that if your cpu doesn’t have 14 cores, the above config is not optimal.
So as a first step I’d reduce vpp’s workers to 1 and nginx to something like 4.
Also, if this is a dual socket system, make sure the nic, vpp and nginx are on
the same numa.
Regards,
Florin
> On Jan 18, 2022, at 12:33 AM, [email protected] wrote:
>
> when i configure the scheduling policy and priority of main and worker
> threads is fifo in cpu block,the nginx with ldp cannot create workers
> becasuse of the vpp lock some resource。what should i do to make nginx
> running.
> here are some info of my config
> <vpp.PNG>
> <vcl.PNG>
> <nginx_process.PNG>
> <nginx_config.PNG>
> <nginx.PNG>
> <cpu.PNG>
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20748): https://lists.fd.io/g/vpp-dev/message/20748
Mute This Topic: https://lists.fd.io/mt/88505330/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-