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 488DB4253A for ; Thu, 7 Sep 2023 22:21:14 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B82BB4026C; Thu, 7 Sep 2023 22:21:13 +0200 (CEST) Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by mails.dpdk.org (Postfix) with ESMTP id 40250400EF for ; Thu, 7 Sep 2023 22:21:12 +0200 (CEST) Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-26f4bc74131so944300a91.1 for ; Thu, 07 Sep 2023 13:21:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1694118071; x=1694722871; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=zjH7zPFWBDbtm7jZPHxEWJGq4RXGDEvbN5A55ZgUxs8=; b=l6112gis84LMkpBmvdMMaicZzNILm+ghs4snYFLje8zNnm+X2iAtNOIRrdHXHI9mS7 GxdQidTRF/MBPQyFLIBdQU0MLASp1n5Wua/ayzh7HhFcROf1ivdmZ/ZQiHJMgPM6ANV5 iUTCTfJz1NZmXlyxXv5Jd+rtaBX1C1S2w9o+keRERGPLyqUC01ba05LFimUqhPJbg75D d/5SMhjXeALsavlHGLb8hRhpHsw08MvODnLirakiHbumCFI3shAb3Ch0L/TgX7/WKFqD syvFnpJJoYEeUzumuxZFnmY4qbvUf62wpBFza0BBKNaJGEiZWr098zyx+2fOgTO6GEVk SVOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694118071; x=1694722871; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zjH7zPFWBDbtm7jZPHxEWJGq4RXGDEvbN5A55ZgUxs8=; b=l3y31JEdE2crxM2iejaaVH4JYRHoZrVGHmXcmI9KwC9vKSUBnG5z1Iz3+q1hw29456 zKe9Xc7W2oB0zV71ChjUpUGp4dp1M/X1/5At3peHL2QTEAdMs32RL+vKk0c8a5yNrhsB XeMaMOSobMiAz1apntVaMuwBDgmVIBZ4yTVIqQussPsoySXAQfyDOipqcm53yL4T7mhs Rl6a++CPgQCA41hXCln5zzAk2mDEY6tB39SetBiBDQTvxRxQ/3jan1Yq+gTmp5s2p57a SribXtHSjIl+wsmx4VUe0d7NymmAatML/UgYWKHyvcfVg/mRsHttu3F+WOzLdm+5U/uB 4Odg== X-Gm-Message-State: AOJu0YwPI/dgaDSv5SdqRKpXVqXDnXs5MIcR/wg1ayRHQz6NcvbGmBFW PI+/IQb2BFpYzUMZq+f+JPQazA== X-Google-Smtp-Source: AGHT+IG3RUT0lGachiFEdvh2M9jJBPMuexLmA/O8LcnW0RV1qoydQs8THqvkhz7GFo0byXwbRwRA+g== X-Received: by 2002:a17:902:f7ca:b0:1b0:3ab6:5140 with SMTP id h10-20020a170902f7ca00b001b03ab65140mr485748plw.4.1694118071110; Thu, 07 Sep 2023 13:21:11 -0700 (PDT) Received: from hermes.local (204-195-112-131.wavecable.com. [204.195.112.131]) by smtp.gmail.com with ESMTPSA id q10-20020a170902daca00b001bdca6456b9sm159090plx.17.2023.09.07.13.21.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Sep 2023 13:21:10 -0700 (PDT) Date: Thu, 7 Sep 2023 13:21:09 -0700 From: Stephen Hemminger To: Don Trotter Cc: "users@dpdk.org" Subject: Re: EAL: eal_memalloc_alloc_seg_bulk(): couldn't find suitable memseg_list Message-ID: <20230907132109.2bd85f08@hermes.local> In-Reply-To: <1630438817.5159600.1694116715543@mail.yahoo.com> References: <2101629309.5133186.1694112839948.ref@mail.yahoo.com> <2101629309.5133186.1694112839948@mail.yahoo.com> <1630438817.5159600.1694116715543@mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 On Thu, 7 Sep 2023 19:58:35 +0000 (UTC) Don Trotter wrote: > To clarify, the log message when my application called=C2=A0rte_mempool_= create() to create the "node_pool", and the call succeeded. > Thanks,Don Trotter > On Thursday, September 7, 2023 at 01:54:08 PM CDT, Don Trotter wrote: =20 > =20 > Hi, > I have recently started using DPDK. I am working on a project on OcteonTX= 2 with DPDK 11.23.01. I am seeing this message from EAL during EAL init, bu= t everything is working. > =C2=A0 =C2=A0=C2=A0EAL: eal_memalloc_alloc_seg_bulk(): couldn't find suit= able memseg_list > The system has 96GB of memory.=C2=A0 These 2 pools get created and everyt= hing works fine. > mempool @0x13fed3e00=C2=A0 flags=3D10=C2=A0 socket_id=3D0=C2= =A0 pool=3D0x1140300000=C2=A0 iova=3D0x13fed3e00=C2=A0 nb_mem_chunks=3D1=C2= =A0 size=3D65535=C2=A0 populated_size=3D65535=C2=A0 header_size=3D128=C2=A0= elt_size=3D10200=C2=A0 trailer_size=3D40=C2=A0 total_obj_size=3D10368=C2= =A0 private_data_size=3D128=C2=A0 ops_index=3D0=C2=A0 ops_name: =C2=A0 avg bytes/object=3D10368.558602 > mempool @0x1575d8180=C2=A0 flags=3D10=C2=A0 socket_id=3D-1=C2= =A0 pool=3D0x19ffffd00=C2=A0 iova=3D0x1575d8180=C2=A0 nb_mem_chunks=3D2=C2= =A0 size=3D134217727=C2=A0 populated_size=3D134217727=C2=A0 header_size=3D1= 28=C2=A0 elt_size=3D256=C2=A0 trailer_size=3D0=C2=A0 total_obj_size=3D384= =C2=A0 private_data_size=3D0=C2=A0 ops_index=3D3=C2=A0 ops_name: =C2=A0 avg bytes/object=3D384.000094 > You read that right. I=E2=80=99ve got 128*1024*1024 256 byte buffers crea= ted for data. > I also see there is still heap left, although pretty low after. > Heap id:0=C2=A0 =C2=A0 =C2=A0 =C2=A0 Heap name:socket_0=C2=A0 =C2=A0 =C2= =A0 =C2=A0 Heap_size:55834574848,=C2=A0 =C2=A0 =C2=A0 =C2=A0 Free_size:2403= 644544,=C2=A0 =C2=A0 =C2=A0 =C2=A0 Alloc_size:53430930304,=C2=A0 =C2=A0 =C2= =A0 =C2=A0 Greatest_free_size:536870016,=C2=A0 =C2=A0 =C2=A0 =C2=A0 Alloc_c= ount:293,=C2=A0 =C2=A0 =C2=A0 =C2=A0 Free_count:5, > Linux free stats. > tmp# free -h -w=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 total=C2= =A0 =C2=A0 =C2=A0 =C2=A0 used=C2=A0 =C2=A0 =C2=A0 =C2=A0 free=C2=A0 =C2=A0 = =C2=A0 shared=C2=A0 =C2=A0 =C2=A0buffers=C2=A0 =C2=A0 =C2=A0 =C2=A0cache=C2= =A0 =C2=A0availableMem:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A095Gi=C2=A0 = =C2=A0 =C2=A0 =C2=A0 88Gi=C2=A0 =C2=A0 =C2=A0 =C2=A06.5Gi=C2=A0 =C2=A0 =C2= =A0 =C2=A0444Mi=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0B=C2=A0 =C2=A0 =C2=A0 = =C2=A0470Mi=C2=A0 =C2=A0 =C2=A0 =C2=A0599MiSwap:=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 0B=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0B=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 0B > Is there anything wrong with that EAL log? Is there a lurking problem? > Thanks,Don Trotter >=20 > =20 Did you setup hugepages? How many and what size? Is this a NUMA system? Also 11.23.01 seems like a weird release number. The DPDK release numbering scheme is year followed by month. I.e. 22.11 was= released in November of 2022