[dpdk-users] i need a help about invalid numasocket

Stephen Hemminger stephen at networkplumber.org
Wed Dec 20 16:14:17 CET 2017


On Wed, 20 Dec 2017 16:56:00 +0900
박준하<wnsgkqkr at naver.com> wrote:

> Thank you Shreyansh Jain.
> I tried to change -n 1 but i got same problem.
> this is log.
>  
> root at jh-desktop:/home/jh/dpdk-17.11/examples/helloworld# ./build/app/helloworld -l 0-3 -n 1 
> 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 
>  
> 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. 
>  
> root at 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: 
> Port 0, MAC address: 6C:B3:11:4F:1A:98
> 
> Initializing port 1... PMD: ixgbe_dev_link_status_print():  Port 1: Link Down
> done: 
> Port 1, MAC address: 6C:B3:11:4F:1A:9A 
>  
> -----Original Message-----
> From: "Shreyansh Jain"<shreyansh.jain at nxp.com> 
> To: "박준하"<wnsgkqkr at naver.com>; 
> Cc: "users at dpdk.org"<users at dpdk.org>; 
> Sent: 2017-12-20 (수) 14:50:15
> Subject: RE: [dpdk-users] i need a help about invalid numasocket
>  
> Hi,
> 
> I think your platform doesn’t have more than 1 NUMA node (node 0. See message " NUMA node(s):          1"). And you are giving ‘-n 4’ in command line.
> That might be the reason this warning is being reported before defaulting back to node 0.
> 
> Does this create any function issue? Like not having I/O in l2fwd/l3fwd application?
> 
> -
> Shreyansh
> 
> From: 박준하 [mailto:wnsgkqkr at naver.com] 
> Sent: Wednesday, December 20, 2017 7:54 AM
> To: Shreyansh Jain <shreyansh.jain at nxp.com>
> Cc: users at dpdk.org
> Subject: RE: [dpdk-users] i need a help about invalid numasocket
> 
> Thank you.
> this is my apllication result and lscpu and meminfo. 
>  
> result: lscpu | grep -i numa
> NUMA node(s):          1
> NUMA node0 CPU(s):     0-3
>  
> 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
> 
> 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
>  
> -----Original Message-----
> From: "Shreyansh Jain"<mailto:shreyansh.jain at nxp.com> 
> To: "박준하"<mailto:wnsgkqkr at naver.com>; 
> Cc: "mailto:users at dpdk.org"<mailto:users at dpdk.org>; 
> Sent: 2017-12-19 (화) 21:22:59
> Subject: RE: [dpdk-users] i need a help about invalid numasocket
>  
> > -----Original Message-----
> > From: users [mailto:users-bounces at dpdk.org] On Behalf Of ???
> > Sent: Tuesday, December 19, 2017 4:10 PM
> > To: mailto:users at dpdk.org
> > Subject: [dpdk-users] i need a help about invalid numasocket
> > 
> > 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 allocation
> > failed and result is invalid numasocket.
> > 
> > I really want to solve this help me. thank you
> > 
> 
> 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, easier 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 support
than the sysfs file for numa node is not present, and DPDK applications default
to all 0


More information about the users mailing list