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 BF6B1A0471 for ; Mon, 12 Aug 2019 11:31:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0845E3257; Mon, 12 Aug 2019 11:31:27 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 4F00C1252 for ; Mon, 12 Aug 2019 11:31:25 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Aug 2019 02:31:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,377,1559545200"; d="scan'208";a="259723605" Received: from aburakov-mobl1.ger.corp.intel.com (HELO [10.237.220.78]) ([10.237.220.78]) by orsmga001.jf.intel.com with ESMTP; 12 Aug 2019 02:31:23 -0700 To: Nilesh , dev@dpdk.org Cc: diptyaroop References: <4c9d1b7f-c27c-62db-5160-adc5af87dbc3@cse.iitb.ac.in> From: "Burakov, Anatoly" Message-ID: <06560e08-d865-c4d8-a3c7-62ae7a482e39@intel.com> Date: Mon, 12 Aug 2019 10:31:22 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <4c9d1b7f-c27c-62db-5160-adc5af87dbc3@cse.iitb.ac.in> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] WARNING! Base virtual address hint not respected! 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 07-Aug-19 11:51 AM, Nilesh wrote: > Hello, > > We are trying to build an application over DPDK, but we are getting this > warning when we call > rte_eal_init(). > > EAL: Detected 24 lcore(s) > EAL: Detected 2 NUMA nodes > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > EAL: No available hugepages reported in hugepages-1048576kB > EAL: Probing VFIO support... > EAL: WARNING! Base virtual address hint (0x100005000 != 0x7f63aed91000) > not respected! > EAL:    This may cause issues with mapping memory into secondary processes > EAL: WARNING! Base virtual address hint (0x10000b000 != 0x7f63a937f000) > not respected! > EAL:    This may cause issues with mapping memory into secondary processes > EAL: WARNING! Base virtual address hint (0x100a0c000 != 0x7f5fa7800000) > not respected! > EAL:    This may cause issues with mapping memory into secondary processes > EAL: WARNING! Base virtual address hint (0x100c11000 != 0x7f63a931e000) > not respected! > EAL:    This may cause issues with mapping memory into secondary processes > > rte_eal_init() is returning successfully, but we wanted to know why this > warning is coming and > what are the potential issues that may arise due to this warning. > > Note: NIC is bound with igb_uio. Hugepages are mapped and there are > enough free pages. > > System specification : > 2 machines with > Distributor ID:    Ubuntu > Description:    Ubuntu 18.04.2 LTS > Release:    18.04 > Codename:    bionic > > Kernel: 4.15.0-55-generic > *DPDK* version: 19.05.0 > > Hardware: > CPU: Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz > NIC 1: Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+ (i40e) > > (If any extra setup configuration information required will be provided) > > Thanks, > Nilesh > > Hi, This is normal. This happens because, by default, shared memory in EAL is mapped starting at a specific memory offset due to certain issues with DPDK's multiprocess support. Sometimes these offsets will not be available, so things will get mapped at other addresses. Because this event may cause issues with subsequent secondary process mappings, EAL warns about this on initialization. If you're not using secondary processes, you may disregard this warning. -- Thanks, Anatoly