DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] DPDK application is hunged in eal_hugepage_info_init
@ 2020-08-12 11:29 Jatin Sahu
  2020-08-12 15:36 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Jatin Sahu @ 2020-08-12 11:29 UTC (permalink / raw)
  To: users; +Cc: jatin.sahu, chandrika.gautam

Hi,

We are using DPDK libraries with huge pages enabled.
We observed that the application rte_eal_init() function is stuck in
flock() call.

Please advise how to resolve this.

DPDK Version: dpdk-stable-18.11.6/

[root@loadtestsrv helloworld]# ./build/helloworld -l 0-3 -n 4
EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket

Stack Trace:
Thread 3 (Thread 0x7f783c34e700 (LWP 1034)):
#0  0x00007f783c664113 in epoll_wait () from /lib64/libc.so.6
#1  0x0000000000558724 in eal_intr_thread_main ()
#2  0x00007f783c939dd5 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f783c663b3d in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7f783bb4d700 (LWP 1035)):
#0  0x00007f783c940bfd in recvmsg () from /lib64/libpthread.so.0
#1  0x0000000000565bae in mp_handle ()
#2  0x00007f783c939dd5 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f783c663b3d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7f783d66dc00 (LWP 1033)):
#0  0x00007f783c655167 in flock () from /lib64/libc.so.6
#1  0x000000000054e068 in eal_hugepage_info_init ()
#2  0x000000000054ccfe in rte_eal_init ()
#3  0x00000000004712a6 in main ()
[root@loadtestsrv user]#

HugePage details:

[root@loadtestsrv roamware]# cat /proc/meminfo | grep -i huge
AnonHugePages:    112640 kB
HugePages_Total:      32
HugePages_Free:       32
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:    1048576 kB

[roamware@loadtestsrv ~]$ cat
/sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages
512
[roamware@loadtestsrv ~]$ cat
/sys/devices/system/node/node1/hugepages/hugepages-2048kB/nr_hugepages
512

[root@loadtestsrv roamware]# cat /proc/mounts | grep -i huge
cgroup /sys/fs/cgroup/hugetlb cgroup
rw,seclabel,nosuid,nodev,noexec,relatime,hugetlb 0 0
nodev /mnt/huge hugetlbfs rw,seclabel,relatime 0 0
nodev /mnt/huge hugetlbfs rw,seclabel,relatime,pagesize=2M 0 0
nodev /mnt/huge hugetlbfs rw,seclabel,relatime 0 0

Regards,
Jatin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-12 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-12 11:29 [dpdk-users] DPDK application is hunged in eal_hugepage_info_init Jatin Sahu
2020-08-12 15:36 ` Stephen Hemminger

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git