DPDK usage discussions
 help / color / mirror / Atom feed
From: Jatin Sahu <jatin152@gmail.com>
To: users@dpdk.org
Cc: jatin.sahu@mobileum.com, chandrika.gautam@mobileum.com
Subject: [dpdk-users] DPDK application is hunged in eal_hugepage_info_init
Date: Wed, 12 Aug 2020 16:59:33 +0530
Message-ID: <CAL2oWpXkNPG5mtk-o9gOb6EAO_ygnOcCrXZ2qAro-jtEhG8ZZA@mail.gmail.com> (raw)


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
[roamware@loadtestsrv ~]$ cat

[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


             reply	other threads:[~2020-08-12 11:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-12 11:29 Jatin Sahu [this message]
2020-08-12 15:36 ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAL2oWpXkNPG5mtk-o9gOb6EAO_ygnOcCrXZ2qAro-jtEhG8ZZA@mail.gmail.com \
    --to=jatin152@gmail.com \
    --cc=chandrika.gautam@mobileum.com \
    --cc=jatin.sahu@mobileum.com \
    --cc=users@dpdk.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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 \
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:

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