Hi,

SNAT plugin cli config (there is only snat startup config)?

Regards,

[banner3a1]



Matus Fabian
Engineer - Software
matfa...@cisco.com<mailto:matfa...@cisco.com>
Tel:

Cisco Systems, Inc.



Slovakia
cisco.com


[http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]Think before you 
print.

This email may contain confidential and privileged material for the sole use of 
the intended recipient. Any review, use, distribution or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.
Please click 
here<http://www.cisco.com/web/about/doing_business/legal/cri/index.html> for 
Company Registration Information.


From: Juan Salmon [mailto:salmonju...@gmail.com]
Sent: Tuesday, December 20, 2016 12:46 PM
To: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) 
<matfa...@cisco.com>
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] snat multi-thread support problem

Hi,

Test Env:

I used trex as packet generator in client-server mode using two ports ,sending 
delay_10_https_0.pcap with 1.5 mpps.

the vpp/snat config:

dpdk {
  socket-mem 1024
  dev default {
    num-rx-queues 2
  }
  num-mbufs 131072
  no-multi-seg
}

cpu {
  workers 2
}

heapsize 3096M

snat {
  translation hash buckets 20971520
  translation hash memory 1073741824
  user hash buckets 12288
  user hash memory 20971520
  max translations per user 100000
}

And the multi-queue config:

vpp# sh dpdk interface placement
Thread 1 (vpp_wk_0 at lcore 1):
  TenGigabitEthernet5/0/0 queue 0
  TenGigabitEthernet5/0/1 queue 0
Thread 2 (vpp_wk_1 at lcore 2):
  TenGigabitEthernet5/0/0 queue 1
  TenGigabitEthernet5/0/1 queue 1


Best Regards,
Juan Salmon.

On Tue, Dec 20, 2016 at 1:27 PM, Matus Fabian -X (matfabia - PANTHEON 
TECHNOLOGIES at Cisco) <matfa...@cisco.com<mailto:matfa...@cisco.com>> wrote:
Hi,

Fix for port allocation was merged to master yesterday.
Could you please provide SNAT plugin configuration and some information about 
traffic, I didn’t see worker thread deadlock before when testing SNAT plugin.

Regards,

[banner3a1]



Matus Fabian
Engineer - Software
matfa...@cisco.com<mailto:matfa...@cisco.com>
Tel:

Cisco Systems, Inc.



Slovakia
cisco.com<http://cisco.com>


[http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]Think before you 
print.

This email may contain confidential and privileged material for the sole use of 
the intended recipient. Any review, use, distribution or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.
Please click 
here<http://www.cisco.com/web/about/doing_business/legal/cri/index.html> for 
Company Registration Information.


From: Juan Salmon [mailto:salmonju...@gmail.com<mailto:salmonju...@gmail.com>]
Sent: Tuesday, December 20, 2016 8:59 AM
To: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) 
<matfa...@cisco.com<mailto:matfa...@cisco.com>>; 
vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] snat multi-thread support problem

Hi,
Thanks for your response Matus.
I've changed the code as you said. but after a few minutes VPP halts
and by entering any command, following message returned:

vlib_worker_thread_barrier_sync: worker thread deadlock
Failed to save post-mortem API trace to /tmp/api_post_mortem.15825
Best Regards,
Juan Salmon.

_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev
  • Re: [vpp-dev] ... Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)

Reply via email to