From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f51.google.com (mail-pl0-f51.google.com [209.85.160.51]) by dpdk.org (Postfix) with ESMTP id 0F41A1B1C0 for ; Wed, 20 Dec 2017 16:14:20 +0100 (CET) Received: by mail-pl0-f51.google.com with SMTP id s10so9162237plj.5 for ; Wed, 20 Dec 2017 07:14:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=y668lFn3Dw3g7Kb1fvZUUoTZ9d3OSdJ5T1ADbITqtTw=; b=0d54BrXDbTPLVWjyoV/1OZg7Ba5+J3F4FULmScIVSXCgk1pctSGgdr0j1noIteVabP PkJujs/3utLadxLj2b90XUXZJfRfzG2CuBONSmlb28gULPOVuzNgfaJfKT8hD93MUd1m iymyYVFo0Bi8v/By+EMj/pskB+lRkEo15bThvmcujm3TGk6U7oUMZWEY92cOGbEVrtn8 l7bsQXEMkAFArFnu65fUjsN7Tll4dl51WSMc4Iq5Tra/SmnNsQcg8juJbJjVMLPTCF6s 1vX+sRzxVCpUZtK5HtiS0TOpcq4kX01Q/9gi81Er5uV0nWUCQapOWX7xooVzI49pTHpm s44g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=y668lFn3Dw3g7Kb1fvZUUoTZ9d3OSdJ5T1ADbITqtTw=; b=AE5g49eNxpDade55CR0Z+o6lMoWd7didS2DNFxDvooVPGlQewq2i0k76y2fhl1RLDG c3bbnvsj//o7IBk9q8JlQhFP2e5mnjSzlzboYv/4CpraHBSEBB60IwUDgs/uXlPYvnju L5ksLUEgkxKvQ3dspz6d4ELoEAMJhitvxmwKvh9u4wcAIAwM9TgyxpV8wm3PAux0NiDu i0Bm09QBq05cMcmH3guC3XZN5eUSsnP5PmIc7CaB4wIvjgtM7yeebqgsXCZ2uSLK5N9L QpYMcjGGKTQYXMYkuDQt1uKKBIjdBAvkK9OR2Hqd8v1A5KAmCWItMfF3OzH4Luj4B//6 vIRw== X-Gm-Message-State: AKGB3mIzmMbKVkEZFAogop/76i6GSfV0w7A451/pUJGDNN//YCbRiBfL y/8Dkg/Grd0EkNw+jDHaP392rZF9C80= X-Google-Smtp-Source: ACJfBouoENXWlbeNJUsgNnKZGeNT6A11SeQ4jmVi/pl3MLO0xsDkTmi1zOkTvvIqD5MMviEgy0Newg== X-Received: by 10.159.218.149 with SMTP id w21mr7528836plp.239.1513782859934; Wed, 20 Dec 2017 07:14:19 -0800 (PST) Received: from xeon-e3 (204-195-18-133.wavecable.com. [204.195.18.133]) by smtp.gmail.com with ESMTPSA id v82sm36966997pfd.111.2017.12.20.07.14.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Dec 2017 07:14:19 -0800 (PST) Date: Wed, 20 Dec 2017 07:14:17 -0800 From: Stephen Hemminger To: =?UTF-8?B?67CV7KSA7ZWYPHduc2drcWtyQG5hdmVyLmNvbT4=?= Cc: Shreyansh Jain, Message-ID: <20171220071417.55b5b022@xeon-e3> In-Reply-To: <82844e9806f3a2145558cccfe0a29d@cweb25.nm.nhnsystem.com> References: <283f8a89e7d09260162064421dfa80@cweb09.nm.nhnsystem.com> <82844e9806f3a2145558cccfe0a29d@cweb25.nm.nhnsystem.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-users] i need a help about invalid numasocket 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: Wed, 20 Dec 2017 15:14:21 -0000 On Wed, 20 Dec 2017 16:56:00 +0900 =EB=B0=95=EC=A4=80=ED=95=98 wrote: > Thank you Shreyansh Jain. > I tried to change -n 1 but i got same problem. > this is log. > =20 > root@jh-desktop:/home/jh/dpdk-17.11/examples/helloworld# ./build/app/hell= oworld -l 0-3 -n 1=20 > EAL: Detected 4 lcore(s) > EAL: Probing VFIO support... > EAL: PCI device 0000:00:1f.6 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:15b8 net_e1000_em > EAL: PCI device 0000:01:00.0 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:1528 net_ixgbe > EAL: PCI device 0000:01:00.1 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:1528 net_ixgbe > hello from core 1 > hello from core 2 > hello from core 3 > hello from core 0=20 > =20 > I'm not sure because of it, i want to use tool PKTGEN. > When i use this tool and start packet sending, its link is down and i can= 't send packet. > I want to use this tool and make simulation. > and also l2fwd doesn't work.=20 > =20 > root@jh-desktop:/home/jh/dpdk-17.11/examples/l2fwd# ./build/app/l2fwd -l = 0-3 -n 1 -- -p 3 > EAL: Detected 4 lcore(s) > EAL: Probing VFIO support... > EAL: PCI device 0000:00:1f.6 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:15b8 net_e1000_em > EAL: PCI device 0000:01:00.0 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:1528 net_ixgbe > EAL: PCI device 0000:01:00.1 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:1528 net_ixgbe > MAC updating enabled > Lcore 0: RX port 0 > Lcore 1: RX port 1 > Initializing port 0... PMD: ixgbe_dev_link_status_print(): Port 0: Link = Down > done:=20 > Port 0, MAC address: 6C:B3:11:4F:1A:98 >=20 > Initializing port 1... PMD: ixgbe_dev_link_status_print(): Port 1: Link = Down > done:=20 > Port 1, MAC address: 6C:B3:11:4F:1A:9A=20 > =20 > -----Original Message----- > From: "Shreyansh Jain"<shreyansh.jain@nxp.com>=20 > To: "=EB=B0=95=EC=A4=80=ED=95=98"<wnsgkqkr@naver.com>;=20 > Cc: "users@dpdk.org"<users@dpdk.org>;=20 > Sent: 2017-12-20 (=EC=88=98) 14:50:15 > Subject: RE: [dpdk-users] i need a help about invalid numasocket > =20 > Hi, >=20 > I think your platform doesn=E2=80=99t have more than 1 NUMA node (node 0.= See message " NUMA node(s): 1"). And you are giving =E2=80=98-n 4= =E2=80=99 in command line. > That might be the reason this warning is being reported before defaulting= back to node 0. >=20 > Does this create any function issue? Like not having I/O in l2fwd/l3fwd a= pplication? >=20 > - > Shreyansh >=20 > From: =EB=B0=95=EC=A4=80=ED=95=98 [mailto:wnsgkqkr@naver.com]=20 > Sent: Wednesday, December 20, 2017 7:54 AM > To: Shreyansh Jain <shreyansh.jain@nxp.com> > Cc: users@dpdk.org > Subject: RE: [dpdk-users] i need a help about invalid numasocket >=20 > Thank you. > this is my apllication result and lscpu and meminfo.=20 > =20 > result: lscpu | grep -i numa > NUMA node(s): 1 > NUMA node0 CPU(s): 0-3 > =20 > result: cat /proc/meminfo > MemTotal: 7842552 kB > MemFree: 1118008 kB > MemAvailable: 2285580 kB > Buffers: 109264 kB > Cached: 1598564 kB > SwapCached: 0 kB > Active: 2352924 kB > Inactive: 972164 kB > Active(anon): 1622876 kB > Inactive(anon): 370152 kB > Active(file): 730048 kB > Inactive(file): 602012 kB > Unevictable: 16 kB > Mlocked: 16 kB > SwapTotal: 8051708 kB > SwapFree: 8051708 kB > Dirty: 68 kB > Writeback: 0 kB > AnonPages: 1298032 kB > Mapped: 383092 kB > Shmem: 375772 kB > Slab: 152876 kB > SReclaimable: 112428 kB > SUnreclaim: 40448 kB > KernelStack: 10528 kB > PageTables: 38560 kB > NFS_Unstable: 0 kB > Bounce: 0 kB > WritebackTmp: 0 kB > CommitLimit: 10400120 kB > Committed_AS: 6337284 kB > VmallocTotal: 34359738367 kB > VmallocUsed: 0 kB > VmallocChunk: 0 kB > HardwareCorrupted: 0 kB > AnonHugePages: 460800 kB > ShmemHugePages: 0 kB > ShmemPmdMapped: 0 kB > CmaTotal: 0 kB > CmaFree: 0 kB > HugePages_Total: 1024 > HugePages_Free: 1024 > HugePages_Rsvd: 0 > HugePages_Surp: 0 > Hugepagesize: 2048 kB > DirectMap4k: 113688 kB > DirectMap2M: 4794368 kB > DirectMap1G: 3145728 kB >=20 > result: ./build/app/helloworld -l 0-3 -n 4 > EAL: Detected 4 lcore(s) > EAL: Probing VFIO support... > EAL: PCI device 0000:00:1f.6 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:15b8 net_e1000_em > EAL: PCI device 0000:01:00.0 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:1528 net_ixgbe > EAL: PCI device 0000:01:00.1 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 > EAL: probe driver: 8086:1528 net_ixgbe > hello from core 1 > hello from core 2 > hello from core 3 > hello from core 0 > =20 > -----Original Message----- > From: "Shreyansh Jain"<mailto:shreyansh.jain@nxp.com>=20 > To: "=EB=B0=95=EC=A4=80=ED=95=98"<mailto:wnsgkqkr@naver.com>;=20 > Cc: "mailto:users@dpdk.org"<mailto:users@dpdk.org>;=20 > Sent: 2017-12-19 (=ED=99=94) 21:22:59 > Subject: RE: [dpdk-users] i need a help about invalid numasocket > =20 > > -----Original Message----- > > From: users [mailto:users-bounces@dpdk.org] On Behalf Of ??? > > Sent: Tuesday, December 19, 2017 4:10 PM > > To: mailto:users@dpdk.org > > Subject: [dpdk-users] i need a help about invalid numasocket > >=20 > > Hi, I used DPDK tools first before 1 week. > > I serached how to install and follow them. > > I finally finished the setup hugepages, uio driver, bind device and = make > > application. > > However, when i run the sample application(Helloworld) Memory alloca= tion > > failed and result is invalid numasocket. > >=20 > > I really want to solve this help me. thank you > >=20 >=20 > I don't have a solution - but, I can suggest that if you can paste output= of your execution here, someone might give you hints. > Don't forget information about environment (platform, 'cat /proc/meminfo'= , etc). More the info about what you have attempted or trying to attempt, e= asier it is to point out possible problem area. Ignore the warning "Invalid NUMA socket" it is meaningless. If the platform does not support NUMA or kernel is compiled without NUMA su= pport than the sysfs file for numa node is not present, and DPDK applications def= ault to all 0