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 C6023A0543 for ; Tue, 2 Aug 2022 09:34:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5C24340141; Tue, 2 Aug 2022 09:34:10 +0200 (CEST) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mails.dpdk.org (Postfix) with ESMTP id E2C49400D7 for ; Tue, 2 Aug 2022 09:34:08 +0200 (CEST) Received: by mail-pj1-f53.google.com with SMTP id 15-20020a17090a098f00b001f305b453feso17651413pjo.1 for ; Tue, 02 Aug 2022 00:34:08 -0700 (PDT) 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=FtyXcadsc3yDgDDU0+ybMCVE5jQX4S9svjpAN0bkJfc=; b=GNCUMMMXmmpj7uQfoHOiMNW5AHoip5IXXDdIxKnub7NP0f/RgNVv0auSxj28ppXCk8 Y3ZxoHTX4T0Lh9ZnRb39pCikxiC125WWeyy0LCUIT+v2CYZ4iqAH00V2WjyEcR0UqCig em4Alxku8hmgMvy8OEHG03gW4tG4yFVj/HSnqcSVx5BMQRKVKUl5BWYwVOrspwv7IUuE aF39JP6F1VHyy8UrK+p/TVismkfCVDScsIQ8HXXlPFj3boWmWLqXSBjs6Dvn4Dxb5ldN zyFJkL/OJEotj4POnqbRjrMH7imKMlZrgVBDKVVqngwy6W/XuPODCt+ouVtyB4EpEJN7 z33g== 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=FtyXcadsc3yDgDDU0+ybMCVE5jQX4S9svjpAN0bkJfc=; b=A4bfKQ04AtKkV+T0ttlz+/5vaqdRxy9gGFq2vLJMSmm9ZJhRjlDUpAW6/RxhBiIBZk yb4r6OfL0/oNrjxSVCXZozo0cdj0JqZj2NeRNfgcGsYqT7NDUuztJHq7tqRZYyTY/GlK p3PcgrJxo2gCDR/6Kjy89l6XRKnmVE0urvW+NzN+I565YN30Ans/PGnuZ2c1xS7G36OS /cmWW8wL7aS6NikhLkggNpAQbSP47qY7H76IvVwWJBsp8eQQG1lU5w6mT5ZyE9RQec2b 3ICa+ZJ4eqUMzodXULS1bW6Hml+FKFfGpVA9EivJoNu/QfWQESK9qws14pOcHeWegXEG 3+7A== X-Gm-Message-State: ACgBeo1iBevHTeC/KGKFBOBEZxD2tvEtmNO/XEGY3b7PPlH2n4Mp7W1o ZoqBkcPz0IXgvipK4tve/pO+5Hmt+WGtKRsM9gsnOUN0nQI= X-Google-Smtp-Source: AA6agR6azff7Khy2v3vuKoQhWjpkT/XTc209YWaNZZDFOkUVnXhRzUqbgADh9KTFSfggwmSb0U2nWct07JQ7+CVNmkw= X-Received: by 2002:a17:902:db12:b0:16e:e5fc:56db with SMTP id m18-20020a170902db1200b0016ee5fc56dbmr9776293plx.46.1659425647843; Tue, 02 Aug 2022 00:34:07 -0700 (PDT) MIME-Version: 1.0 From: MOD Date: Tue, 2 Aug 2022 10:33:56 +0300 Message-ID: Subject: Configuring memory segments values To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000455cf505e53d2407" 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 --000000000000455cf505e53d2407 Content-Type: text/plain; charset="UTF-8" Hi All, First of all, I am using DPDK 20.11, and RHEL7.2 I have encountered the `couldnt find suitable memseg_list` error in my program >From what I could gather I should be able to solve this issue by modifying the following values in rte_config.h: #define RTE_MAX_HEAPS 32 #define RTE_MAX_MEMSEG_LISTS 128 #define RTE_MAX_MEMSEG_PER_LIST 8192 #define RTE_MAX_MEM_MB_PER_LIST 32768 #define RTE_MAX_MEMSEG_PER_TYPE 32768 #define RTE_MAX_MEM_MB_PER_TYPE 65536 #define RTE_MAX_MEMZONE 2560 My questions are: 1. can I get information about memseg usage in runtime? 2. given my architecture (x86), RAM capacity (200G of 1GB hugepages), NUMA setup (2 NUMAs), how do I calculate appropriate values? --000000000000455cf505e53d2407 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi All,
First of all, I am using DPDK 20.11, and RHEL7= .2
I have encountered the `couldnt find suitable memseg_list` error= in my program
From what I could gather I should be able to solve= this issue by modifying the following values in rte_config.h:
#define RTE_MAX_HEAPS 32#define RTE_= MAX_MEMSEG_LISTS 128#<= span style=3D"box-sizing:border-box">define RTE_MAX_MEMSEG_PER_LIST 8192#define RTE_MAX_= MEM_MB_PER_LIST 32768#= define RTE_MAX_MEMSEG_PER_TYPE 32768#define RTE_MAX_= MEM_MB_PER_TYPE 65536#= define RTE_MAX_MEMZONE 2560 My questions are:
1. can I get i= nformation about memseg usage in runtime?
2. given my architectur= e (x86), RAM capacity (200G of 1GB hugepages), NUMA setup (2 NUMAs), how do= I calculate appropriate values?
--000000000000455cf505e53d2407--