[vpp-dev] mysql proxy by using vpp host stack #vpp-hoststack

2022-08-20 Thread weizhen9612
Hi, Now I implement mysql proxy by using libevent.so. And I want to implement mysql proxy by vpp hoststack. But I find the dynamic library libevent.so can not callback the libvcl_preload. Is this plan possible? Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group.

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-07 Thread weizhen9612
Hi, I try adding to session stanza in startup.conf: session { poll-main }. But the performance is still exists. Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21381): https://lists.fd.io/g/vpp-dev/message/21381 Mute This Topic:

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-05 Thread weizhen9612
Hi, We have only one numa node. Just as the following picture show. vpp# sh hardware-interfaces verbose Name                Idx   Link  Hardware ens1f0                             1     up   ens1f0 Link speed: 10 Gbps RX Queues: queue thread         mode 0     main (0)       polling 1     main

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-05 Thread weizhen9612
Hi, Now I configure main-core to 2 and corelist-workers to 0, and find that the performance has improved significantly. When I execute the following conmand, I find that vpp have main thread only. #show threads What does this situation show? Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-05 Thread weizhen9612
Hi, Just as you see, I check the patch. Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21368): https://lists.fd.io/g/vpp-dev/message/21368 Mute This Topic: https://lists.fd.io/mt/90793836/21656 Group Owner: vpp-dev+ow...@lists.fd.io

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-04 Thread weizhen9612
Hi, When I set a long connection, the performance of vpp proxy is higher than before. But we need to set a short connection between vpp and upstream server. Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21362):

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-04 Thread weizhen9612
Hi, I test the performance of upstream server. Just as you see, the performance of upstream is more higher than vpp proxy. In addition, I don't find any drops. Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21359):

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-04 Thread weizhen9612
According to your suggestion, I test with multiple source ips. But the performance is still low. The ip is as follows. vpp#tcp src-address 192.168.6.6-192.168.6.9 Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21354):

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-04 Thread weizhen9612
Hi, Is this the reason for the low performance? In general, the main threads handles management functions(debug CLI, API, stats collection) and one or more worker threads handle packet processing from input to output of the packet. Why does the main core handle the session? Does the condition

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-04 Thread weizhen9612
Hi, When I use wrk to test the performance of  nginx proxy using vpp host stack, I execute the command "show session" by vppctl. The result is following. The main core has most of sessions. Is this normal? If not, what should I DO? Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-03 Thread weizhen9612
Hi, I wanted to ask if you have tested the performance of nginx proxy using vpp host stack as a short connection, i.e. after vpp send GET request to upstream server, vpp close the connection. If yes, please tell me the result. Thank you for your suggestion about adding multiple source IPs. But

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-02 Thread weizhen9612
Hi, The short link means that after the client send GET request, the client send tcp FIN packet. Instead, the long link means that after the client send GET request,  the client send next http GET request by using the same link and don't need to send syn packet. We found that when vpp and the

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-05-01 Thread weizhen9612
Hi, I set the timewait_time which is equal to 1s in tcp's configuration. But the performance of nginx proxy using vpp host stack is still lower than nginx proxy using kernel host stack. Now I want to know what can I do to improve the performance? And does nginx proxy using vpp host stack

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-04-30 Thread weizhen9612
Hi, I test nginx proxy using RPS. And nginx proxy only towards one IP. Now I test the performance of nginx proxy using vpp host stack and by configuring nginx, it is a short connection between the nginx reverse proxy and the upstream server. The result of test show that the performance of nginx

Re: [vpp-dev] test performance of nginx using vpp host stack#vpp-hoststack

2022-04-30 Thread weizhen9612
Hi, Now I use nginx  which uses vpp host stack as a proxy to test the performance. But I find the performance of nginx using vpp host stack is lower  than nginx using kernel host stack. The reason is that I config the tcp_max_tw_bucket in kernel host stack. So does the vpp stack support the

[vpp-dev] Can vpp receive packet of 5G/4G module? #dpdk

2022-04-13 Thread weizhen9612
Hi, Can vpp receive packets of 5G/4G module? And can the dpdk bind 5G NIC? Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21256): https://lists.fd.io/g/vpp-dev/message/21256 Mute This Topic: https://lists.fd.io/mt/90455824/21656 Mute

Re: Private: Re: [vpp-dev] increase nginx performace using vpp host stack#nginx #vpp-hoststack

2022-03-31 Thread weizhen9612
Hi, I describe our scene in detail. We use nginx in vpp host stack as a proxy. And we add some features in nginx. For example, nginx close upstream tcp links actively and this causes a lot of TIME_WAIT states in nginx proxy when we test the performance of nginx using vpp host stack. So we 

Re: Private: Re: [vpp-dev] increase nginx performace using vpp host stack#nginx #vpp-hoststack

2022-03-31 Thread weizhen9612
Hi, >From this test results, can you see some errors? Why is the performance of >nginx using vpp low? Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21174): https://lists.fd.io/g/vpp-dev/message/21174 Mute This Topic:

Re: [vpp-dev] increase nginx performace using vpp host stack#nginx #vpp-hoststack

2022-03-31 Thread weizhen9612
Hi, The version of vpp is 22.06. The configs are in the attachment. The nginx using vpp host stack is low. The most important test indicators is RPS. How can we increase the performance of nginx using vpp host stack? nginx.conf Description: Binary data startup.conf Description: Binary data

[vpp-dev] increase nginx performace using vpp host stack#nginx #vpp-hoststack

2022-03-31 Thread weizhen9612
Now, we develop some functions in nginx and test nginx performance in kernel host stack and vpp host stack. We found the performance of nginx in vpp is lower than nginx in kernel. So I want to ask how to debug to increase the performance of nginx in vpp. Besides, we modify some parameter in

Re: [vpp-dev] test performance of nginx using vpp host stack#nginx

2022-01-20 Thread weizhen9612
Yes, I use a debug version. Thank you. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20772): https://lists.fd.io/g/vpp-dev/message/20772 Mute This Topic: https://lists.fd.io/mt/88456731/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe:

Re: [vpp-dev] test performance of nginx using vpp host stack#nginx

2022-01-19 Thread weizhen9612
The version of vpp is: The config of vpp and nginx is the attachment. The vcl config is attachment. The type of nic is: nginx.conf Description: Binary data startup.conf Description: Binary data vcl_test.conf Description: Binary data -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages