<html><head></head><body><div class="ydp2bb1a0ffyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
        <div dir="ltr" data-setdir="false"><div><div style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; outline: none !important;">On Thursday, September 7, 2023 at 03:21:12 PM CDT, Stephen Hemminger <stephen@networkplumber.org> wrote:</div><div style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; outline: none !important;"><br style="outline: none !important;"></div><div style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; outline: none !important;"><br style="outline: none !important;"></div><div style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; outline: none !important;"><div dir="ltr" style="outline: none !important;">On Thu, 7 Sep 2023 19:58:35 +0000 (UTC)<div class="ydpbe11d152yqt9378724274" id="ydpbe11d152yqtfd76773" style="outline: none !important;"><br clear="none" style="outline: none !important;">Don Trotter <<a shape="rect" href="mailto:djtrotter@yahoo.com" style="color: rgb(25, 106, 212); text-decoration-line: underline; outline: none !important;" rel="nofollow" target="_blank">djtrotter@yahoo.com</a>> wrote:<br clear="none" style="outline: none !important;"><br clear="none" style="outline: none !important;">>  To clarify, the log message when my application called rte_mempool_create() to create the "node_pool", and the call succeeded.<br clear="none" style="outline: none !important;">> Thanks,Don Trotter<br clear="none" style="outline: none !important;">>    On Thursday, September 7, 2023 at 01:54:08 PM CDT, Don Trotter <<a shape="rect" href="mailto:djtrotter@yahoo.com" style="color: rgb(25, 106, 212); text-decoration-line: underline; outline: none !important;" rel="nofollow" target="_blank">djtrotter@yahoo.com</a>> wrote: <br clear="none" style="outline: none !important;">> <br clear="none" style="outline: none !important;">>  Hi,<br clear="none" style="outline: none !important;">> I have recently started using DPDK. I am working on a project on OcteonTX2 with DPDK 11.23.01. I am seeing this message from EAL during EAL init, but everything is working.<br clear="none" style="outline: none !important;">>     EAL: eal_memalloc_alloc_seg_bulk(): couldn't find suitable memseg_list<br clear="none" style="outline: none !important;">> The system has 96GB of memory.  These 2 pools get created and everything works fine.<br clear="none" style="outline: none !important;">> mempool <mbuf_pool>@0x13fed3e00  flags=10  socket_id=0  pool=0x1140300000  iova=0x13fed3e00  nb_mem_chunks=1  size=65535  populated_size=65535  header_size=128  elt_size=10200  trailer_size=40  total_obj_size=10368  private_data_size=128  ops_index=0  ops_name: <cn9k_mempool_ops>  avg bytes/object=10368.558602<br clear="none" style="outline: none !important;">> mempool <node_pool>@0x1575d8180  flags=10  socket_id=-1  pool=0x19ffffd00  iova=0x1575d8180  nb_mem_chunks=2  size=134217727  populated_size=134217727  header_size=128  elt_size=256  trailer_size=0  total_obj_size=384  private_data_size=0  ops_index=3  ops_name: <ring_mp_mc>  avg bytes/object=384.000094<br clear="none" style="outline: none !important;">> You read that right. I’ve got 128*1024*1024 256 byte buffers created for data.<br clear="none" style="outline: none !important;">> I also see there is still heap left, although pretty low after.<br clear="none" style="outline: none !important;">> Heap id:0        Heap name:socket_0        Heap_size:55834574848,        Free_size:2403644544,        Alloc_size:53430930304,        Greatest_free_size:536870016,        Alloc_count:293,        Free_count:5,<br clear="none" style="outline: none !important;">> Linux free stats.<br clear="none" style="outline: none !important;">> tmp# free -h -w              total        used        free      shared     buffers       cache   availableMem:           95Gi        88Gi       6.5Gi       444Mi          0B       470Mi       599MiSwap:            0B          0B          0B<br clear="none" style="outline: none !important;">> Is there anything wrong with that EAL log? Is there a lurking problem?<br clear="none" style="outline: none !important;">> Thanks,Don Trotter</div><br clear="none" style="outline: none !important;">><br clear="none" style="outline: none !important;">> <br clear="none" style="outline: none !important;"><br clear="none" style="outline: none !important;">Did you setup hugepages?<br clear="none" style="outline: none !important;">How many and what size?<br clear="none" style="outline: none !important;">Is this a NUMA system?<br clear="none" style="outline: none !important;"><br clear="none" style="outline: none !important;">Also 11.23.01 seems like a weird release number.<br clear="none" style="outline: none !important;">The DPDK release numbering scheme is year followed by month. I.e. 22.11 was released in November of 2022</div></div></div><br></div><div><br></div><div dir="ltr" data-setdir="false"><div><div># cat /sys/kernel/mm/hugepages/hugepages-524288kB/nr_hugepages</div><div>176</div></div><br></div><div dir="ltr" data-setdir="false">Yes it is a NUMA system.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">You are correct sir. The SDK is SDK11.23.01 (2023-01) and DPDK is 22.11.</div>
        
        </div><div id="ydpbe11d152yahoo_quoted_4658645739" class="ydpbe11d152yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div><br></div><div dir="ltr" data-setdir="false">Thanks, Don Trotter</div><div><div dir="ltr"><div class="ydpbe11d152yqt9378724274" id="ydpbe11d152yqtfd36134"><br clear="none"></div></div></div>
            </div>
        </div></body></html>