From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0088.outbound.protection.outlook.com [65.55.169.88]) by dpdk.org (Postfix) with ESMTP id 92F0B2C6C for ; Fri, 26 Feb 2016 11:27:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=SonusNetworks.onmicrosoft.com; s=selector1-sonusnet-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=b0AHeelOj+O6WjalTvS2b9Rvv/KfYAj5kcgS5ky5PMg=; b=LbSOqhxLF4elGmQh/CZDFVIBLcnxxIp5MGZWMNkYg+MI43Zw2qExM5Y9k0TYeosEqeNpkZblzLibLawzAs4dlte8AVpCv36s2ZLfPtl4JqZVTN1FMXftYHV5hnTFcvZ7i5FUzegJ80Iv8tGCV0BmLw8ewe4lWbP+lTbsLRuuwTA= Received: from BY2PR0301MB1542.namprd03.prod.outlook.com (10.163.27.156) by BY2PR0301MB1543.namprd03.prod.outlook.com (10.163.27.157) with Microsoft SMTP Server (TLS) id 15.1.409.15; Fri, 26 Feb 2016 10:27:39 +0000 Received: from BY2PR0301MB1542.namprd03.prod.outlook.com ([10.163.27.156]) by BY2PR0301MB1542.namprd03.prod.outlook.com ([10.163.27.156]) with mapi id 15.01.0409.024; Fri, 26 Feb 2016 10:27:39 +0000 From: "Rapelly, Varun" To: "dev@dpdk.org" Thread-Topic: ACL memory allocation failures Thread-Index: AdFwf4kdB1whTVNNQG6hirscCjj/gA== Date: Fri, 26 Feb 2016 10:27:39 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=sonusnet.com; x-originating-ip: [121.242.142.135] x-ms-office365-filtering-correlation-id: e44e18a1-638c-4c78-dade-08d33e9773df x-microsoft-exchange-diagnostics: 1; BY2PR0301MB1543; 5:9psZtE8/5GiYS60zr+8PZlp4vn5eBR8JJ7PgU2GoFXU0HwnPPnH5gIKQ5OIpwP90Brjh8GkIzS95d5plZ0eMC792ibph4ANxR9jpmOf+tzme3U13hp7slyPH2Uz4FJZvhatTkBDXVre1559bBAUbHQ==; 24:QtCN6DsV3EOBSiq/mMyc7iQJEDiAN0xOUDb+hPSNWZ0iQY4AhWI7CxbUk8GyeFJHOGGWBRMoTJJVTqKq110Tyr4QGD2sxXh5rl9WEAx8b2Q= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB1543; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:BY2PR0301MB1543; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0301MB1543; x-forefront-prvs: 0864A36BBF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(24434003)(53754006)(76576001)(40100003)(87936001)(122556002)(450100001)(50986999)(54356999)(86362001)(3660700001)(189998001)(99286002)(3280700002)(10400500002)(19625215002)(5004730100002)(5008740100001)(2351001)(66066001)(6116002)(92566002)(3846002)(16236675004)(102836003)(229853001)(33656002)(586003)(1220700001)(1096002)(790700001)(74316001)(15975445007)(5003600100002)(110136002)(19580395003)(5001960100002)(11100500001)(77096005)(3480700003)(2501003)(2900100001)(19300405004)(2906002)(1730700002)(19580405001)(107886002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB1543; H:BY2PR0301MB1542.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: sonusnet.com X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Feb 2016 10:27:39.1124 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 29a671dc-ed7e-4a54-b1e5-8da1eb495dc3 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB1543 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] ACL memory allocation failures X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 10:27:41 -0000 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 er= ror 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