From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by dpdk.org (Postfix) with ESMTP id 90772239 for ; Sun, 3 Mar 2019 10:58:02 +0100 (CET) Received: by mail-wr1-f51.google.com with SMTP id r5so2260736wrg.9 for ; Sun, 03 Mar 2019 01:58:02 -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=V4BLnyuwEhJ3W24YNeiBMcYAMgIrxS2iynqzOvYkIq4=; b=aDj08pCtoXn+t0c4VtodlcLYZTRskzSRoGH8VHYpqcPjjS5TwJ4lyfokMz/hs28zlH UnjVe+qEAdEUB/TvbPT4ENm+VKMBk5QullS49q7fFefFY2pA9Ct9bfgCW6V18nNpz9hc YPiEQq+80HN86kCQdVCu1ogFhCT6Pb+TvCcKcru76XDRPNSCBhi+ouRlv7ic3329OfV8 m3UEem9K/reO9gVQFQvVtcAS7ppzZu8OVvUNN2YGYmKbZcMY1PoDO6VlT7h0lWizPjW8 Qtd5lCJc3NMakJnKDy+3kh0orEDmX3AMIsCGBwJMxwS6oLQewHcTL3ZC3Jy61bWe94IV ZKog== 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=V4BLnyuwEhJ3W24YNeiBMcYAMgIrxS2iynqzOvYkIq4=; b=EKkrM+ceXeReFYRcHmn5qTF13uRmEulNbS3zPR7/A3H+ukvA4ftiITWBxKk8oo6p/r F6ATc6fAseZUjcP+Yp7EJA0/5kPvHDNPt/AclylGCFkdHv/2gKtlmDCsQ3FHo+vogqHd FWgClrnykr0Fa70piJEC4+ARk+yM8DIwSbi4yG2tbLQipyFtGQSgniq0J6WWkmKzy8dJ Pv1AULrYijR17M0A6Rx4T9c04wwqBvquNtxMwU5IVY0q53Oa9mRGeVecAlzUHe0JegEx O1x+hPm+QKhHrvAfub+iH0fWKkR0dCCuvGy6LLWKceAkHPY79t3HNz7kcOZkg9Fn87yb eG6w== X-Gm-Message-State: APjAAAXUJtcECVALuI/vOR9yy5EDQFuEGsR6slk/R/N/qGDL/YoygK3d eQ6IXdpRQclCr/LSefvRM2FBkSrImny/6iXQuy0= X-Google-Smtp-Source: APXvYqxfgx3tI612Uj9+E+3T/G4Mff+YcX1qFDsiqg+XX8G8AGLiLtU52Z2XhjMYirFOUO2bv/ltkZPF+djhtcCoaX0= X-Received: by 2002:adf:e80c:: with SMTP id o12mr8678331wrm.114.1551607082069; Sun, 03 Mar 2019 01:58:02 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Dheeraj Dang Date: Sun, 3 Mar 2019 15:27:50 +0530 Message-ID: To: Changchun Zhang Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Invalid NUMA socket when running helloworld on VM linux 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: Sun, 03 Mar 2019 09:58:02 -0000 Hi Changchun, You can set numa_node using this command *echo 0 > /sys/devices/pci0000\:00//numa_node (if numa node is 0)* *echo 1 > /sys/devices/pci0000\:00//numa_node * *(if numa node is 1)* In logs, you are seeing its invalid value i.e -1. Regards Dheeraj Dang On Sun, Mar 3, 2019 at 4:22 AM Changchun Zhang wrote: > > > Hi Gurus, > > > > I launched a virtual box based linux on my windows, and my PC is thinkpad > T480. > > After configured the huge pages as number of 2MBs and the cpu number as 4 > on the vm linux, I build DPDK and run the example of hellowworld but get > the below output, in which I saw the "invalid NUMA socket". What does it > mean and does it matter, as I see the hello from core # is also printed. > > > > [~ build]$ sudo ./helloworld > > EAL: Detected 4 lcore(s) > > EAL: Detected 1 NUMA nodes > > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > > EAL: Probing VFIO support... > > EAL: PCI device 0000:00:03.0 on NUMA socket -1 > > EAL: Invalid NUMA socket, default to 0 > > EAL: probe driver: 8086:100e net_e1000_em > > hello from core 1 > > hello from core 2 > > hello from core 3 > > hello from core 0 >