From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0062.outbound.protection.outlook.com [157.56.111.62]) by dpdk.org (Postfix) with ESMTP id 650A52C62 for ; Fri, 26 Feb 2016 11:28:20 +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=3LjkkEE365B2bbmo9bbKbYtfCx+NjP3NS4b2XTDYcqM=; b=QsGo5YqkNidzF3TJwcNp3es41iTWby1xYYpr2dL4XWjD5pRa1gP/jBmoEr+HmV+XYO7MENDbxu05zLCkg3RycW/8/aun+o6i6tlY3vWDVDHKFD81Ou393GabBmqIqOQ+XIHzK9K4lotpII48a4pmVva+3MDNqRzK0V08zq4sbaI= 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:28:19 +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:28:19 +0000 From: "Rapelly, Varun" To: "dev@dpdk.org" Thread-Topic: ACL memory allocation failures Thread-Index: AdFwf4kdB1whTVNNQG6hirscCjj/gAAANPTA Date: Fri, 26 Feb 2016 10:28:19 +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: 903ed752-121e-41cc-ebeb-08d33e978ba6 x-microsoft-exchange-diagnostics: 1; BY2PR0301MB1543; 5:emadAXpRuxOk6t2i7hgac3NsEN8rzM1WbwJY4ax2jLUyF5dfpC5F4iHSYjhQvyk6yxOBuZEXZ9ctD10m7SrWEAunoi5Lt+D6q9IdVD+6SzVDrPwjJ2nFqXTO8Tjn6XaAKb1XAn7FLm9nU58VUBSX6w==; 24:b7CB4RXdz0tphWe3p25zOwv9IwEgNP//1K/uqLtq3vL/UMtJWBeD+WckTBE96p33AQIJ4711hOUU5MhrSTHVDD5N4MrW/5d8UR7x/vJGZz4= 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)(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:28:19.1140 (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: Re: [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:28:21 -0000 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 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