From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B5661A0555; Wed, 19 Feb 2020 17:00:33 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 054301BF7C; Wed, 19 Feb 2020 17:00:33 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 16B221DBD for ; Wed, 19 Feb 2020 17:00:31 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Feb 2020 08:00:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,461,1574150400"; d="scan'208";a="239726471" Received: from unknown (HELO [10.237.220.130]) ([10.237.220.130]) by orsmga006.jf.intel.com with ESMTP; 19 Feb 2020 08:00:29 -0800 To: Kamaraj P Cc: Kevin Traynor , dev@dpdk.org, Nageswara Rao Penumarthy , "Kamaraj P (kamp)" , mtang2@cisco.com References: <5192f94a-e50a-7e61-2e33-a218a4b6b5b4@intel.com> <9c888eb0-2192-137c-da5c-97f30da5204a@intel.com> <56527d9f-b079-a580-4a80-2207c1822260@intel.com> From: "Burakov, Anatoly" Message-ID: <0792d8b5-b0fd-15c8-f0ce-99a113c4c603@intel.com> Date: Wed, 19 Feb 2020 16:00:28 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] CONFIG_RTE_MAX_MEM_MB fails in DPDK18.05 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 19-Feb-20 3:42 PM, Kamaraj P wrote: > Hi Anatoly, > Thanks for the suggestions. Yeah we have just changed in our application > to invoke mlockall() before rte_eal_init(). Looks like it does not help > either. > >      if (mlockall(MCL_CURRENT | MCL_FUTURE)) { >          printf("Failed mlockall !! ******\n"); >      } >     ret = rte_eal_init(argc, args); > > Looks like still observing the struck issue when allocating virtual pages. > EAL: Detected lcore 0 as core 0 on socket 0 > EAL: Support maximum 128 logical core(s) by configuration. > EAL: Detected 1 lcore(s) > EAL: Detected 1 NUMA nodes > EAL: open shared lib /usr/lib64/librte_pmd_ixgbe.so.2.1 > EAL: open shared lib /usr/lib64/librte_pmd_e1000.so.1.1 > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > EAL: Module /sys/module/vfio_pci not found! error 2 (No such file or > directory) > EAL: VFIO PCI modules not loaded > EAL: Probing VFIO support... > EAL: Module /sys/module/vfio not found! error 2 (No such file or directory) > EAL: VFIO modules not loaded, skipping VFIO support... > EAL: Ask a virtual area of 0x2e000 bytes > EAL: Virtual area found at 0x100000000 (size = 0x2e000) > EAL: Setting up physically contiguous memory... > EAL: Setting maximum number of open files to 4096 > EAL: Detected memory type: socket_id:0 hugepage_sz:2097152 > EAL: Creating 32 segment lists: n_segs:1024 socket_id:0 hugepage_sz:2097152 > EAL: Ask a virtual area of 0xd000 bytes > EAL: Virtual area found at 0x10002e000 (size = 0xd000) > EAL: Memseg list allocated: 0x800kB at socket 0 > EAL: Ask a virtual area of 0x80000000 bytes > > Could you please suggest if there is any other option which we need to > try it out. Does this only happen with your application, or does it happen with DPDK example applications or test/testpmd apps? -- Thanks, Anatoly