From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-f193.google.com (mail-yb1-f193.google.com [209.85.219.193]) by dpdk.org (Postfix) with ESMTP id 71D1D1DB9 for ; Sat, 17 Nov 2018 04:51:40 +0100 (CET) Received: by mail-yb1-f193.google.com with SMTP id h187-v6so10564884ybg.10 for ; Fri, 16 Nov 2018 19:51:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Slek/J4Pj6MbR3zD5mXuJDz0/tOANRvUEfWo03I3Aw0=; b=tYj3OHaEXOb6hqKSXcM7qs2r27fZmESk1HM8nYorSiVrf7bb4P8Z16d881/OuasjIS khuY5mrTZbjmr9EJAzpydiZooDtlaGvfFI+tgcta690m4v2AT3rbnQqOv0vLobnouYm6 zYvNt29RHHIsws1bYtQVZz6HzZGMLALkKoWDejqE5QRai3D9b07W07/TXFeycmWvQwht sq8ILpx+CYE5eGzmo6SMy0iFq62fbLbHN0u8kn1yDKG3YDP/rrMYe1bd4KEFvnCOYEeS 0PQYFmSQUZRP/sb5XQxhaQc8n4CNMqSTwZCfwWatlJoGUTHaYi+Bz7RrWOXHbmA8e6SG V53g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Slek/J4Pj6MbR3zD5mXuJDz0/tOANRvUEfWo03I3Aw0=; b=V+s7du4nyzcovLAKCHPvr3Zl1JuOOJxmDiVpb9L3bGcQVFcMVIpqbReF4k5nzdZ9CV yLP6M0B4QZP/Ss8yo5taTfKGGOjzyzJJQqyetdMoJIt6M38TndR8oXqglaEKNyf2vbTw hskxY+iZD6cy8jv/wLLjle4CcQt9mZTptiSVWzgsmXLxyKh7Yym2mTcuLKmVMo+ynBeX C6A3dpdqz5rV+4OUfIJMoAR5CpSnFOWcLCmNjZ/ZjNZN/0V9dfJDJYhIyBIohKWtqNpK 4nkTgaF04TXoOzQxIdMRE+EjvsdFppCsqZ80tDc2qzjP2AGWnv+ZFBYkDWVakHyM5EhB XniA== X-Gm-Message-State: AGRZ1gKGTJiCRNO/c1Q+VK1fAyjHOx5Qq/ht7ka2YOORD62SFHulTH4s B3Bg2MjKXMx2g8D+6nWl/aW3g8U8B6XMLp6J6rg= X-Google-Smtp-Source: AJdET5e5bxMc4WW9y/lRUNnWuoDD9SrhhhTQClBxGV7CrfKKJHLunSmlQlmbgxopL/ze/xyitxbzaPkaYtXZY0iaGh8= X-Received: by 2002:a25:2d68:: with SMTP id s40-v6mr13302530ybe.471.1542426699551; Fri, 16 Nov 2018 19:51:39 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Cliff Burdick Date: Fri, 16 Nov 2018 19:51:27 -0800 Message-ID: To: Kyle Larose Cc: users Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] WARNING! Base virtual address hint not respected! X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2018 03:51:40 -0000 I was able to trace down this issue to a particular function call I was making on a closed-source library that scans the PCIe bus. I don't know why it was causing it, since I can't see what it's doing. However, if I remove that function call, the warnings go away completely. If I add it back, it comes back reliably. For anyone else reading this, try moving your rte_eal_init earlier in your startup to see if there's a particular function causing it. On Thu, Nov 15, 2018 at 12:33 PM Cliff Burdick wrote: > Not sure how that is happening. 1GB hugepages are enabled on boot, and > that's the only one allocated: > > $ ls /sys/kernel/mm/hugepages/ > hugepages-1048576kB > > $ mount > ... > nodev on /mnt/huge type hugetlbfs (rw,relatime,pagesize=1024M) > > Any idea where the 4K alignment is coming from? > > On Thu, Nov 15, 2018 at 11:54 AM Kyle Larose wrote: > >> On Thu, Nov 15, 2018 at 2:30 PM Cliff Burdick wrote: >> > >> > Hi, I'm updating to 18.11 from 17.03, and I noticed there a several new >> > warnings printing on startup in my primary process: >> > >> ... >> > EAL: WARNING! Base virtual address hint (0x64002f000 != 0x680000000) not >> > respected! >> > EAL: This may cause issues with mapping memory into secondary >> processes >> > EAL: WARNING! Base virtual address hint (0xe80030000 != 0xec0000000) not >> > respected! >> > EAL: This may cause issues with mapping memory into secondary >> processes >> > EAL: WARNING! Base virtual address hint (0x16c0031000 != 0x1700000000) >> not >> > respected! >> ... >> > >> > It appears by searching the mailing list that this problem is not very >> > common since it's fairly new. Does anyone know what can cause this? I >> have >> > ASLR disabled. >> >> 4K pages vs huge-pages? It looks like the left-hand addresses are >> 4K-aligned, while the right-hand ones are not. >> >