From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp2130.oracle.com (userp2130.oracle.com [156.151.31.86]) by dpdk.org (Postfix) with ESMTP id 558E42B9E for ; Tue, 5 Mar 2019 17:42:11 +0100 (CET) Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x25Gch1H162822; Tue, 5 Mar 2019 16:42:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type; s=corp-2018-07-02; bh=ASznbaywkROwWtn3fymM9YXlkAXB22OSLeO3YHWjUtE=; b=py5JBk2JOU/EPMf/RFi8wXl0d4lTV/THofjB5kepWsnSg+UnyHv+iM4HpYHUYOoqmxYh j4Z/VDYGTgElVpXkf6gfYCHai26gMzRvOTvcx9/DStjZhc3eJdc9rb3PAJWd7XXq/97t OSMG3KT2Q0+XBHobXJTlow4aUPrAdrGMQaqBnFGOKLrG4E4H3IdM1BQVSr0cvaHqBUDF Jhh5wHXlAyZdLuR/YyUDYCNfDVlAt/smakp0d/gfiwidW+RUBrAWzFHdjP6e6cWhaDID iHHtte9UqtU2/Xcyk/3JZ3FScbT0OKWt8jl8/2VqWqUpCSLtbBIQs3s2WdNNxHkhLs2+ 6A== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2130.oracle.com with ESMTP id 2qyh8u6jd6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 05 Mar 2019 16:42:09 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x25Gg4JP029379 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 5 Mar 2019 16:42:04 GMT Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x25Gg3qo021183; Tue, 5 Mar 2019 16:42:03 GMT MIME-Version: 1.0 Message-ID: <0fd19e20-43b0-4434-bdb0-80996901801e@default> Date: Tue, 5 Mar 2019 08:42:02 -0800 (PST) From: Changchun Zhang Sender: Changchun Zhang To: Dheeraj Dang Cc: users@dpdk.org References: In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 15.0.5111.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9186 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903050109 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 16:42:11 -0000 Thanks, so how can I make sure my platform support NUMA or kernel supports = NUMA. I ran the command below: =C2=A0 [changczh@t480-OL7 ~]$ numactl --show policy: default preferred node: current physcpubind: 0 1 2 3 cpubind: 0 nodebind: 0 membind: 0 [changczh@t480-OL7 ~]$ numactl --hardware available: 1 nodes (0) node 0 cpus: 0 1 2 3 node 0 size: 2047 MB node 0 free: 146 MB node distances: node=C2=A0=C2=A0 0 =C2=A0 0:=C2=A0 10 [changczh@t480-OL7 ~]$ grep -i numa /var/log/dmesg [=C2=A0=C2=A0=C2=A0 0.000000] No NUMA configuration found =C2=A0 Changchun (Alex) =C2=A0 From: Dheeraj Dang [mailto:dheerajdang138@gmail.com]=20 Sent: Tuesday, March 05, 2019 1:36 AM To: Changchun Zhang Cc: users@dpdk.org Subject: Re: [dpdk-users] Invalid NUMA socket when running helloworld on VM= linux =C2=A0 Yes, it makes sense to ignore this log=C2=A0 when=C2=A0the platform does not support NUMA or kernel is compiled without = NUMA support.=20 Regards Dheeraj Dang =C2=A0 =C2=A0 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 i= t. I saw in preivous thread that it is suggested to ignore this log at all.=20 HYPERLINK "https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__mails.dpdk= .org_archives_users_2017-2DDecember_002742.html&d=3DDwMFaQ&c=3DRoP1YumCXCga= WHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=3DVCO7jqQFACS5pfBnqRHRln4bZ3htFERYZ3PkX0y= tpns&m=3D19j8M4hWMogD8-1YEFedt2R5_Q8wpPScygHeGb4FB0E&s=3DXRhPXPv7gXLn2bt7T1= no0hdADSN9VavpseWUhAc66Mg&e=3D"http://mails.dpdk.org/archives/users/2017-De= cember/002742.html =C2=A0 Does it make sense? =C2=A0 Changchun (Alex) =C2=A0 From: Dheeraj Dang [mailto:HYPERLINK "mailto:dheerajdang138@gmail.com"dheer= ajdang138@gmail.com]=20 Sent: Sunday, March 03, 2019 4:58 AM To: Changchun Zhang Cc: HYPERLINK "mailto:users@dpdk.org"users@dpdk.org Subject: Re: [dpdk-users] Invalid NUMA socket when running helloworld on VM= linux =C2=A0 Hi=C2=A0Changchun,=C2=A0 You can set numa_node using this command =C2=A0 echo 0 > /sys/devices/pci0000\:00//numa_node (if numa node is 0) echo 1 > /sys/devices/pci0000\:00//numa_node=C2=A0(if numa node is = 1) In logs, you are seeing its invalid value i.e -1.=C2=A0 Regards Dheeraj Dang =C2=A0 =C2=A0 On Sun, Mar 3, 2019 at 4:22 AM Changchun Zhang wrote: =C2=A0 Hi Gurus, I launched a virtual box based linux on my windows, and my PC is thinkpad T= 480.=20 After configured the huge pages as number of 2MBs and the cpu number as 4 o= n 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=20 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:=C2=A0 =C2=A0Invalid NUMA socket, default to 0 EAL:=C2=A0 =C2=A0probe driver: 8086:100e net_e1000_em hello from core 1 hello from core 2 hello from core 3 hello from core 0