DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] ACL memory allocation failures
@ 2016-02-26 10:27 Rapelly, Varun
  0 siblings, 0 replies; 7+ messages in thread
From: Rapelly, Varun @ 2016-02-26 10:27 UTC (permalink / raw)
  To: dev

Hi All,

When I'm trying to configure some 5000+ ACL rules with different source IP addresses, getting ACL memory allocation failure.\

[root@ACLISSUE log_2015_10_26_08_19_42]# vim np.log
match nodes/bytes used: 816/104448
total: 12940832 bytes
ACL: Build phase for ACL "ipv4_acl_table2":
memory consumed: 947913495
ACL: trie 0: number of rules: 816
ACL: allocation of 12966528 bytes on socket 0 for ipv4_acl_table1 failed
ACL: Build phase for ACL "ipv4_acl_table1":
memory consumed: 947913495
ACL: trie 0: number of rules: 817
EAL: Error - exiting with code: 1
  Cause: Failed to build ACL trie

Again sourced the ACL config file. After adding around 77 again the same error came.

total: 14912784 bytes
ACL: Build phase for ACL "ipv4_acl_table1":
memory consumed: 1040188260
ACL: trie 0: number of rules: 893
ACL: allocation of 14938480 bytes on socket 0 for ipv4_acl_table2 failed
ACL: Build phase for ACL "ipv4_acl_table2":
memory consumed: 1040188260
ACL: trie 0: number of rules: 894
EAL: Error - exiting with code: 1
  Cause: Failed to build ACL trie

Where to increase the memory to avoid this issue?

Regards,
Varun

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [dpdk-dev] ACL memory allocation failures
@ 2016-02-26 10:28 Rapelly, Varun
  2016-02-26 10:53 ` Ananyev, Konstantin
  0 siblings, 1 reply; 7+ messages in thread
From: Rapelly, Varun @ 2016-02-26 10:28 UTC (permalink / raw)
  To: dev

Hi All,

When I'm trying to configure some 5000+ ACL rules with different source IP addresses, getting ACL memory allocation failure. I'm using DPDK 2.1.

[root@ACLISSUE log_2015_10_26_08_19_42]# vim np.log
match nodes/bytes used: 816/104448
total: 12940832 bytes
ACL: Build phase for ACL "ipv4_acl_table2":
memory consumed: 947913495
ACL: trie 0: number of rules: 816
ACL: allocation of 12966528 bytes on socket 0 for ipv4_acl_table1 failed
ACL: Build phase for ACL "ipv4_acl_table1":
memory consumed: 947913495
ACL: trie 0: number of rules: 817
EAL: Error - exiting with code: 1
  Cause: Failed to build ACL trie

Again sourced the ACL config file. After adding around 77 again the same error came.

total: 14912784 bytes
ACL: Build phase for ACL "ipv4_acl_table1":
memory consumed: 1040188260
ACL: trie 0: number of rules: 893
ACL: allocation of 14938480 bytes on socket 0 for ipv4_acl_table2 failed
ACL: Build phase for ACL "ipv4_acl_table2":
memory consumed: 1040188260
ACL: trie 0: number of rules: 894
EAL: Error - exiting with code: 1
  Cause: Failed to build ACL trie

Where to increase the memory to avoid this issue?

Regards,
Varun

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-02-29 12:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-26 10:27 [dpdk-dev] ACL memory allocation failures Rapelly, Varun
2016-02-26 10:28 Rapelly, Varun
2016-02-26 10:53 ` Ananyev, Konstantin
2016-02-26 11:55   ` Rapelly, Varun
2016-02-26 12:39     ` Ananyev, Konstantin
2016-02-29  5:00       ` Rapelly, Varun
2016-02-29 12:06         ` Rapelly, Varun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).