Hi, we don't have plan to allocate memory dynamically (maybe setup number of session slots per user). Deterministic NAT is feature for CGN deployments, so it is assumed that you will use almost everything session slots.
Regards, Matus From: yug...@telincn.com [mailto:yug...@telincn.com] Sent: Monday, May 15, 2017 8:10 AM To: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) <matfa...@cisco.com>; vpp-dev <vpp-dev@lists.fd.io> Subject: Re: RE: [vpp-dev] SNAT deterministic crash Hi, Do we have any plan to allocate memory dynamicly, i mean use the memory when it needed in the packets forwarding procedure? Regards, Ewan ________________________________ yug...@telincn.com<mailto:yug...@telincn.com> From: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco)<mailto:matfa...@cisco.com> Date: 2017-05-15 13:47 To: yug...@telincn.com<mailto:yug...@telincn.com>; vpp-dev<mailto:vpp-dev@lists.fd.io> Subject: RE: [vpp-dev] SNAT deterministic crash Hi, Deterministic mode of SNAT plugin prealocate memory for 1000 session slots (one session 15B) for each host from inside network range, you need approximately 10GB for sessions vector. You need to set heap size in VPP startup configuration with heapsize parameter. 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 yug...@telincn.com<mailto:yug...@telincn.com> Sent: Monday, May 15, 2017 4:11 AM To: vpp-dev <vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>> Subject: [vpp-dev] SNAT deterministic crash Hi all, I have add compile option -DCLIB_VEC64, if i want to get this cmd "vppctl snat deterministic add in 192.168.60.0/16 out 10.10.55.1/32" work, what else need i to do? Or how much mem do i need here? Regards, Ewan ________________________________ yug...@telincn.com<mailto:yug...@telincn.com>
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev