ACL plugin historically uses its own heaps for hash lookup data. It should be 
just 64M by default. It’s been like that since day1, so you might need to look 
at your memory usage on that box overall... 

I am not sure if custom heaps use the huge pages or not - maybe you need to 
have less huge pages.

I just had a discussion today about possibly getting rid of custom heap for the 
ACL plugin, due to it being in the way of other infra optimizations.

So you can give a shot to 
https://gerrit.fd.io/r/c/vpp/+/28882 

But it probably will only only go into 20.01; and will probably more hide the 
problem you are seeing, than anything. 

--a

>> On 16 Sep 2020, at 09:46, Mahdi Varasteh <[email protected]> wrote:
> Hi VPP folks,
> 
> Setting ACL from VAPI, we have a panic `ACL plugin failed to allocate lookup 
> heap of %U bytes` in `hash_acl_set_heap` function.
> It doesn't happen always. Time to time and randomly this problem occurs. My 
> system has 8G of RAM. VPP is running with the default `startup.conf`. I've 
> set 1024 hugepages, size 2M.
> 
> So any idea where should i look for the error? If it's necessary to change 
> any setting, I'd be glad to hear out.
> 
> If any more information is needed, Inform me.
> 
> Regards, Mahdi. 
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#17422): https://lists.fd.io/g/vpp-dev/message/17422
Mute This Topic: https://lists.fd.io/mt/76882936/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to