Skip to contentSkip to conversation

EAL: Cannot init memory

SPDK tianyang at fusionstack.cn 1 participant 2 messages May 5, 2017

lore
Share & tools
lore

tianyang at fusionstack.cn

#0 lore raw

hi:
When I started using spdk, the program failed to start.

The output is as follows:
EAL: Detected 24 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: Can only reserve 424 pages from 448 requested Current CONFIG_RTE_MAX_MEMSEG=256 is not enough Please either increase it or request less amount of memory. PANIC in rte_eal_init():
Cannot init memory

Restart the server, this problem will be solved. Are there any other solutions?

tianyang(a)fusionstack.cn

#1 lore raw

Could you let us know what program you are running? And there is a "dpdk_mem_size" in the "spdk_env_opts" structure to init the EAL. You can set that value properly.

Thanks,
Gang

From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of tianyang(a)fusionstack.cn
Sent: Friday, May 5, 2017 1:48 PM
To: Storage?Performance?Development?Kit <spdk(a)lists.01.org>
Subject: [SPDK] EAL: Cannot init memory

hi:
When I started using spdk, the program failed to start.

The output is as follows:
EAL: Detected 24 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: Can only reserve 424 pages from 448 requested Current CONFIG_RTE_MAX_MEMSEG=256 is not enough Please either increase it or request less amount of memory. PANIC in rte_eal_init():
Cannot init memory

Restart the server, this problem will be solved. Are there any other solutions?

________________________________
tianyang(a)fusionstack.cn<mailto:tianyang(a)fusionstack.cn>