From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 394FBA034D for ; Wed, 9 Feb 2022 22:20:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B4D2441101; Wed, 9 Feb 2022 22:20:46 +0100 (CET) Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) by mails.dpdk.org (Postfix) with ESMTP id 82D5640140 for ; Wed, 9 Feb 2022 22:20:45 +0100 (CET) Received: by mail-lj1-f181.google.com with SMTP id o9so399176ljq.4 for ; Wed, 09 Feb 2022 13:20:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=3mZP1QyivAfpE/zB0T1MiFBeJvn0sr1bJi2SNiBfJpo=; b=nSDzrKPS9as9dKWfZ0Ht1/BsqETuEPA/1GxO8yk0rOPNfR+aSBJr7WF/dDuDNUcKt4 KiD1ZzkL8v5NWk5yqIJCDFWq5qnDgu5k0G8248mdLfn89PlaVK89yvN3Hhhhn0YvTnhr wEakxt/VFJ1u/67Ax4at9/vRnDvjiXRbmr5MPB8s2DRM7Op/UrHODha8oDcMf98HH57p 9GJiI3EsxA4bT8cMoV27ONNG8Wqw7nIWIbphI6paVRSE001QvZYyCnMNZ9ToAw4hsfPg DbeLkcLfAlFI0IBiaKufYWsgvVqOh0vCA8DrqpdEbh0XCvfFCbgrN3E7d4ySYyPH5mUu Dywg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3mZP1QyivAfpE/zB0T1MiFBeJvn0sr1bJi2SNiBfJpo=; b=SOM32mihTeEuXkmxp4p7j8c4uyr1i8cAJ/TSRWOSlf3x57UUL/vyQNmaCWCrLIMt4Y UgirZ6VegkR9Cj46Gy9xjHjMXI7j/CmUFzF6otnBdfgaLzt+JDbxVkyJtjZ2vIrYPMtH c5kh8pOVL7hoTvk853D7mnn0M2JiLpex84lPOisHSnwPdOedD/TYqRTxZiU6tfGQS7ox duf++QZ8kmSG/0Xy7tzlPq6ION6KjStNex4ZVo8o+DTirydWRZQQFDldNFgI9cTOqkrO x6HT4R9ObKE8HafQGY3UwWI0RUTnj4k/V+S9inCGoy14cunIbv1j6oOEEhMyIy+pR4Le PWpg== X-Gm-Message-State: AOAM531DXH7+xSUM+JCse55IZehd0kXdWaedzwJEvA7+hhu5w9FLamua cC15xIL7Ea1hOll6CxH8viA4hcE3aae8goSVccCT7aoEXE4= X-Google-Smtp-Source: ABdhPJxZrIwg0tguoakfR3wLlgQMExFLCfyOhZrEw8TtSiL/QLCMthE7Sd2HO+SiOuSlmn7VqOxHkDT0PuTb9d/Ma+8= X-Received: by 2002:a2e:a781:: with SMTP id c1mr2824992ljf.527.1644441644821; Wed, 09 Feb 2022 13:20:44 -0800 (PST) MIME-Version: 1.0 From: Antonio Di Bacco Date: Wed, 9 Feb 2022 22:20:34 +0100 Message-ID: Subject: Max size for rte_mempool_create To: users@dpdk.org Content-Type: multipart/alternative; boundary="00000000000017ef6505d79c68f9" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --00000000000017ef6505d79c68f9 Content-Type: text/plain; charset="UTF-8" I have a system with two numa sockets. Each numa socket has 8GB of RAM. I reserve a total of 6 hugepages (1G). When I try to create a mempool (API rte_mempool_create) of 530432 mbufs (each one with 9108 bytes) I get a ENOMEM error. In theory this mempool should be around 4.8GB and the hugepages are enough to hold it. Why is this failing ? --00000000000017ef6505d79c68f9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have a system with two numa sockets. Each numa socket ha= s 8GB of RAM.
I reserve a total=C2=A0of 6 hugepages (1G).
When I try to create a mempool (API=C2=A0