Re: [vpp-dev] The performance problem of NAT plugin

2018-01-05 Thread 李洪亮
I think The ARP abnormal is caused by the entire FIB of VPP can not process any packets; During these days, I fount when I use tcpdump on both side interface when VPP NAT multithreads mode, 50% out2in reply packets are lost, the lost packets are handoff to vpp_wk_1(thread_2); the “show run “

Re: [vpp-dev] The performance problem of NAT plugin

2018-01-04 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)
I tested ARP with stable/1801 and it works fine 23:20:10.885539 ARP, Request who-has 3.3.3.5 tell 3.3.3.1, length 28 23:20:10.885769 ARP, Reply 3.3.3.5 is-at 08:00:27:c9:ea:36 (oui Unknown), length 46 Matus From: 李洪亮 [mailto:lihongli...@360.cn] Sent: Friday, December 22, 2017 4:36 PM To: Matus

Re: [vpp-dev] The performance problem of NAT plugin

2018-01-01 Thread 李洪亮
#the startup.conf cat /etc/vpp/startup.conf unix { nodaemon # interactive log /tmp/vpp.log full-coredump cli-listen /run/vpp/cli.sock startup-config /etc/vpp/startup-config } nat { translation hash buckets 102400 user hash buckets 1280 max translations per user 5000 } cpu {

Re: [vpp-dev] The performance problem of NAT plugin

2018-01-01 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)
Hi, Could you please provide your full startup config? I will try reproduce issue and fix it. Regards, Matus From: 李洪亮 [mailto:lihongli...@360.cn] Sent: Thursday, December 28, 2017 5:09 PM To: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) Cc:

Re: [vpp-dev] The performance problem of NAT plugin

2017-12-28 Thread 李洪亮
In my case, using 2 workers configed in startup.conf when using“set nat worker 0”, it works well; when using “set nat worker 1”, the problem appeared just like using default nat workers config ; 发件人: 日期: 2017年12月24日 星期日 下午10:40 收件人: "Matus Fabian -X (matfabia -

Re: [vpp-dev] The performance problem of NAT plugin

2017-12-28 Thread 李洪亮
ev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io> [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of ??? Sent: Wednesday, December 20, 2017 4:33 PM To: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> Subject: [vpp-dev] The performance problem of NAT plugin Hi All: I want t

Re: [vpp-dev] The performance problem of NAT plugin

2017-12-28 Thread 李洪亮
.@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io> [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of ??? Sent: Wednesday, December 20, 2017 4:33 PM To: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> Subject: [vpp-dev] The performance problem of NAT plugin Hi All: I want to use

Re: [vpp-dev] The performance problem of NAT plugin

2017-12-24 Thread 李洪亮
I found that if use one working thread, the problem have resolved; I think this is cause by multi-thread , the respond packets pass to other threads; 在 2017年12月21日,下午9:23,Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) > 写道: Hi, There

Re: [vpp-dev] The performance problem of NAT plugin

2017-12-21 Thread 李洪亮
ads). Regards, Matus From: vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io> [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of ??? Sent: Wednesday, December 20, 2017 4:33 PM To: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> Subject: [vpp-dev] The performance proble

Re: [vpp-dev] The performance problem of NAT plugin

2017-12-21 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)
worker threads). Regards, Matus From: vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io> [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of ??? Sent: Wednesday, December 20, 2017 4:33 PM To: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> Subject: [vpp-dev] The performanc

Re: [vpp-dev] The performance problem of NAT plugin

2017-12-21 Thread 李洪亮
ons and packet rate was over 10Mpps (2 interfaces and 2 worker threads). Regards, Matus From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of ??? Sent: Wednesday, December 20, 2017 4:33 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] The performance problem of NAT plugin

Re: [vpp-dev] The performance problem of NAT plugin

2017-12-20 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)
-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of ??? Sent: Wednesday, December 20, 2017 4:33 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] The performance problem of NAT plugin Hi All: I want to use VPP NAT plugin as a typical SNAT . (1.1.1.0/24)pkt_gen(2.2.2.1

[vpp-dev] The performance problem of NAT plugin

2017-12-20 Thread 李洪亮
Hi All: I want to use VPP NAT plugin as a typical SNAT . (1.1.1.0/24)pkt_gen(2.2.2.1)|| (2.2.2.2)VPP(3.3.3.2)||(3.3.3.1)target| the configuration of VPP is below: vppctl set interface state TenGigabitEthernet81/0/0 up vppctl set interface state TenGigabitEthernet81/0/1 up vppctl set