From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40119.outbound.protection.outlook.com [40.107.4.119]) by dpdk.org (Postfix) with ESMTP id 7697D1B6CD for ; Mon, 26 Nov 2018 10:15:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=radwareil.onmicrosoft.com; s=selector1-radware-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=V8KAC6uvDULbpoV8YSa9HFu2nz2B8KOIzXKIYHQWk18=; b=NPKQit02EEWLgW53RwGnH3WtGpLh3qyECJl/mzpNFHhw3FTMuGWZFgU9fQhTJygqZljuMpUx7pR2ZNHbokxBt7mMCGZEgOj7exaelC22ulqRNEBke+E3recxMdpWBmWVpEdA+gVhNIBv2o6BZMfiPwU+L9qiMUsQtx0xf9cl5yU= Received: from DB7PR01MB4635.eurprd01.prod.exchangelabs.com (20.178.40.161) by DB7PR01MB4137.eurprd01.prod.exchangelabs.com (52.135.133.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1361.14; Mon, 26 Nov 2018 09:15:51 +0000 Received: from DB7PR01MB4635.eurprd01.prod.exchangelabs.com ([fe80::c993:db67:e60f:ce16]) by DB7PR01MB4635.eurprd01.prod.exchangelabs.com ([fe80::c993:db67:e60f:ce16%4]) with mapi id 15.20.1361.016; Mon, 26 Nov 2018 09:15:51 +0000 From: Asaf Sinai To: "dev@dpdk.org" Thread-Topic: CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations, when enabling/disabling this configuration Thread-Index: AdSFaFo2gLq237SpTfudELfXb1WoKA== Date: Mon, 26 Nov 2018 09:15:51 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=AsafSi@Radware.com; x-originating-ip: [192.115.180.11] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR01MB4137; 6:1u+C6e035yztsdAQgWxKcHRS0jHu7wnKTgyMReZ0cGyTfAh4ggV6whASOntgLbs/ljxDMGYZzDqEyibjXyto1TskRlgMU/QvqjMfk9bVS8ohxhXm/JRjHOptUqaTuoDDeDduvFYmPPVoUWyoVXqVB2fSOlUT41YAUR/cf7KkImNXUG38wM7FBxgrImAwj0Jg7Bjd3UXnQKn1bTdiayIQAjmTC4Z93B//CQ/Jpo+X+K+YwQK8MKES1LK+ATOfPakcjXRqNavgtY3UrqBd/nU/7IE/O5Sel6AwTTysEwSbNSaV1MLuCLe4GaHXWQfolmavgtXHK8EIbnt1HCQozto2oHSPOrZg6prvgtTpQreLCoWiuBarDl0p4A0uhUGzi+uSS1eJ/OsO4qnzAD31LuUmchOuBhp0IujHqpEKE0Q5QMCU616S5doQ14nnRqjZvMihJopPSyGJkjnSMqJYEwWQ+Q==; 5:ChbgFFPAn8iovGZZk5vmqbjx2fmYau8+8E46xm0Z4/o1C17vg+18iQLK02OAN0Cyhka3QznCBIrBGNGIjvKMQoTSRo0yM77TVn140nN7IDuyTDO5pe2/DqWQNUEKsLC+Jd/o2bdkOOsfIaDnaU8+8Werl9UpJnu50OgAOMynLPM=; 7:YDgvHXgqpiSsdZas57Tu2lLuSRInrFaA8rWuFWMFgTZ87VrcQ9MmmMJgwiDj443Az/OW5g7SnuxMXXJk9RzwbXL59pCrxl+IIFG6Bbr2jXT/+jaHGHMwWEmARB+tO+HKRfMBAsDh385rVzwPiZiTcw== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 53b500e3-e7c3-472d-2204-08d6537fc2d2 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:DB7PR01MB4137; x-ms-traffictypediagnostic: DB7PR01MB4137: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3231443)(944501410)(52105112)(3002001)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(201708071742011)(7699051)(76991095); SRVR:DB7PR01MB4137; BCL:0; PCL:0; RULEID:; SRVR:DB7PR01MB4137; x-forefront-prvs: 086831DFB4 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(136003)(376002)(346002)(366004)(396003)(252514010)(199004)(189003)(6916009)(53936002)(14444005)(102836004)(2906002)(256004)(5024004)(6436002)(606006)(733005)(55016002)(66066001)(8676002)(74316002)(9326002)(1730700003)(105586002)(99286004)(26005)(7696005)(81166006)(2351001)(476003)(6506007)(81156014)(80792005)(97736004)(478600001)(5640700003)(790700001)(3846002)(54896002)(2501003)(6306002)(86362001)(25786009)(71200400001)(71190400001)(14454004)(186003)(5660300001)(861006)(6116002)(486006)(236005)(8936002)(9686003)(33656002)(21615005)(7736002)(316002)(72206003)(68736007)(106356001)(44543001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB7PR01MB4137; H:DB7PR01MB4635.eurprd01.prod.exchangelabs.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: Radware.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: tQHDxSUi2+kEhBRE7owzyfcIc+QZlEzaJhxc7tNRXMFrY604rU1bC6kom3TNmoXXEZsF8ScRIoz8aSKBszr+qYz/Mif73R7YrLVREf0BvFi5aaFNqmM6VoXtwK4FmA3lU4yDkYpVGiJmAxgWoYz4YTFjBknCJMIQR9iqR17h42ksnlLhWq2F8DvMu7J+HGN+locKVEsGBicpCIgLUFnk8gAdfuf1HiXzVe9BI0B47sr0G3GNN3EyJag80P6CWdXRhCjtvHXImr9oVEvnJS+EGu+QAUjhrIui+DUMb7sXRkrPkdTb1uGloKfrQ3gwkFtRWR8TA4Xu7LJba9YXITQX8D0FMe7gF8RXfr3robohWaM= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: radware.com X-MS-Exchange-CrossTenant-Network-Message-Id: 53b500e3-e7c3-472d-2204-08d6537fc2d2 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Nov 2018 09:15:51.2288 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 6ae4e000-b5d0-4f48-a766-402d46119b76 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR01MB4137 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES: no difference in memory pool allocations, when enabling/disabling this configuration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2018 09:15:52 -0000 Hi, We have 2 NUMAs in our system, and we try to allocate a single DPDK memory = pool on each NUMA. However, we see no difference when enabling/disabling "CONFIG_RTE_EAL_NUMA_= AWARE_HUGEPAGES" configuration. We expected that disabling it will allocate pools only on one NUMA (probabl= y NUMA0), but it actually allocates pools on both NUMAs, according to "sock= et_id" parameter passed to "rte_mempool_create" API. We have 192GB memory, so NUMA1 memory starts from address: 0x1800000000. As you can see below, "undDpdkPoolNameSocket_1" was indeed allocated on NUM= A1, as we wanted, although "CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES" is disable= d: CONFIG_RTE_LIBRTE_VHOST_NUMA=3Dn CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=3Dn created poolName=3DundDpdkPoolNameSocket_0, nbufs=3D887808, bufferSize=3D24= 32, total=3D2059MB (memZone: name=3DMP_undDpdkPoolNameSocket_0, socket_id=3D0, vaddr=3D0x1f2c0= 427d00-0x1f2c05abe00, paddr=3D0x178e627d00-0x178e7abe00, len=3D1589504, hug= epage_sz=3D2MB) created poolName=3DundDpdkPoolNameSocket_1, nbufs=3D887808, bufferSize=3D24= 32, total=3D2059MB (memZone: name=3DMP_undDpdkPoolNameSocket_1, socket_id=3D1, vaddr=3D0x1f57f= a7be40-0x1f57fbfff40, paddr=3D0x2f8247be40-0x2f825fff40, len=3D1589504, hug= epage_sz=3D2MB) Does anyone know what is "CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES" configuratio= n used for? Thanks, Asaf [Radware] Asaf Sinai ND SW Engineer Email: asafsi@radware.com T:+972-72-3917050 M:+972-50-6518541 F:+972-3-6488662 [Check out the latest and greatest from Radware] www.radware.com [Blog] [https://www.radware.com/images/signatur= e/linkedin.jpg] [https://www.ra= dware.com/images/signature/twitter.jpg] [you= tube] Confidentiality note: This message, and any attachments to it, contains pri= vileged/confidential information of RADWARE Ltd./RADWARE Inc. and may not b= e disclosed, used, copied, or transmitted in any form or by any means witho= ut prior written permission from RADWARE. If you are not the intended recip= ient, delete the message and any attachments from your system without readi= ng or copying it, and kindly notify the sender by e-mail. Thank you. P Please consider your environmental responsibility before printing this e-= mail