From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) by dpdk.org (Postfix) with ESMTP id 7B81F2BA7 for ; Tue, 5 Mar 2019 07:36:03 +0100 (CET) Received: by mail-wm1-f46.google.com with SMTP id f65so1357355wma.2 for ; Mon, 04 Mar 2019 22:36:03 -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=zGCAzhXTxSBoAesP7XdrxS1cM9BzOJFmDCuurYZPCd0=; b=FxWPNmHIvKqk4AZQYLK0xVKFuKGVWbLEkPmSSdNel8nS3Yuf0nqe4DHS5E9KQU+yfg zQMvDG/DZCG/Sh+QM1VsCsGM71hutOsuMbKt18XvZzHy4O7q43B8ofJPKV7yDUmzuCU2 AzFOb0Xcz0de6Yk8UKegD0oSpu7PTjdg+D36rqnvTkhXlpM8GlJFmvj0Us78WxHkQRAA L8joIX8cfL3IXr+9jhplwFP0g/JT9VkLAhdFn5zeWdui04DVDH4zHzTmNUUrDrh3LurK 6mqnch9QR1ldJkmCwiF/xNH/DW/DnWYxS7hnocmNETMf+nzY5j1vyPUUp3b3wGrdggsS Hm8A== 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=zGCAzhXTxSBoAesP7XdrxS1cM9BzOJFmDCuurYZPCd0=; b=rVCWiWt/rZgCDBY+VpSVU76wPca8KmPutVGyt143pRSa61tDGjoP7I85ylrUsbNmHc 6HT0h2lSv4RkdDhEwHEzRCfsY3hLV1TUEWgJvhTXSFMD3j9X43V3+xScRVMEE1832wuO +TVCVFIEoKK4GAPLkxNbaHEuAyKsPTzd/nf61L1nFG+eMqy0hDzuPSdBr+20FDOUa09x eHiuq0LJ/9yTrN/feSTrPPc1+QK+JKfNy8Nvrd77ce+k+RNvV7upk0aBfd5AQDxXNCvQ Ts3EbIVJykTgCmXDXXm7q9z8z+X0uYVHCsj/x3D0S+6GjzBAgGT0tFWtdnG1HI2TYNgC yxjA== X-Gm-Message-State: APjAAAVXYxc6zU6RniyJRi1+bQvKf/Ps+27k9/GEZ7KHXx6j5T/+Ifoc va1YBe5aXhZA5RTfIcOVq+RRmkB1jLrr/6SAtn4= X-Google-Smtp-Source: APXvYqyKrylkBPt5epuR/ulVz92gOT+3qr3Z8oYAVEZPSJFeeKisBoUXXjF8T+5RGm6GQ3wibblJppBQkhij8E9DEBE= X-Received: by 2002:a1c:cf49:: with SMTP id f70mr1603816wmg.51.1551767762976; Mon, 04 Mar 2019 22:36:02 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Dheeraj Dang Date: Tue, 5 Mar 2019 12:05: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: Tue, 05 Mar 2019 06:36:03 -0000 Yes, it makes sense to ignore this log when *the platform does not support NUMA or kernel is compiled without NUMA support. * Regards Dheeraj Dang On Tue, Mar 5, 2019 at 1:02 AM Changchun Zhang wrote: > Thank you Dheeraj, but looks like the system is not allowing me to change > it. > > I saw in preivous thread that it is suggested to ignore this log at all. > > http://mails.dpdk.org/archives/users/2017-December/002742.html > > > > Does it make sense? > > > > Changchun (Alex) > > > > *From:* Dheeraj Dang [mailto:dheerajdang138@gmail.com] > *Sent:* Sunday, March 03, 2019 4:58 AM > *To:* Changchun Zhang > *Cc:* users@dpdk.org > *Subject:* Re: [dpdk-users] Invalid NUMA socket when running helloworld > on VM linux > > > > 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 > >