Re: [vpp-dev] vpp+nginx #vpp-hoststack

2023-03-06 Thread Florin Coras
nginx.conf Description: Binary data -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22670): https://lists.fd.io/g/vpp-dev/message/22670 Mute This Topic: https://lists.fd.io/mt/96623842/21656 Mute #vpp-hoststack:https://lists.fd.io/g/vpp-dev/muteha

Re: [vpp-dev] vpp+nginx #vpp-hoststack

2023-01-31 Thread first_semon
the version that I using like this : -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22529): https://lists.fd.io/g/vpp-dev/message/22529 Mute This Topic: https://lists.fd.io/mt/96623842/21656 Mute #vpp-hoststack:https://lists.fd.io/g/vpp-dev/mutehash

Re: [vpp-dev] vpp+nginx #vpp-hoststack

2023-01-30 Thread first_semon
ok,I  also try out the patch .The topology like this: the attachment is configure of reverse proxy with nginx/VPP nginx.conf Description: Binary data -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22526): https://lists.fd.io/g/vpp-dev/message/2252

Re: [vpp-dev] vpp+nginx #vpp-hoststack

2023-01-30 Thread Florin Coras
Hi, Could you provide a simplified description of your topology and a bare bones nginx config? We could try to repro this in the hs-test infra we’ve been recently developing. See here [1]. Also, could you also try out this patch [2] I’ve been toying with recently to see if it improves anythi

Re: [vpp-dev] vpp+nginx #vpp-hoststack

2023-01-30 Thread first_semon
I use tool of wrk like this :wrk -c 20 -t 10 -d 40 http://172.30.4.23:80 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22524): https://lists.fd.io/g/vpp-dev/message/22524 Mute This Topic: https://lists.fd.io/mt/96623842/21656 Mute #vpp-hoststack:ht

Re: [vpp-dev] vpp+nginx #vpp-hoststack

2023-01-30 Thread first_semon
yes,I use fixed ip but destination port are different.like this:bk,bk1 and bk2 all are 192.168.171.123 . destination port like this :8080,8081,8082. when I use tool of wrk ,the sessions were opened may be having 6-10w+. otherwise,I have some logic in nginx about mirror module.not for testing! -

Re: [vpp-dev] vpp+nginx #vpp-hoststack

2023-01-30 Thread Florin Coras
Hi, I’m guessing you’re running out of ports on connections from nginx/vpp to the actual server, since you’re using fixed ips and a fixed destination port? Check how many sessions you have opened with “show session”. Out of curiosity, what are you using mirroring for? Testing? Regards, Flori

Re: [vpp-dev] vpp+nginx #vpp-hoststack

2023-01-30 Thread first_semon
when the reverse proxy not config mirror this issue is not exitsed.but when reverse proxy of nginx use the mirror module ,it is  occured and the configure like this -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22519): https://lists.fd.io/g/vpp-de

Re: [vpp-dev] vpp+nginx

2022-01-18 Thread Florin Coras
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