[dpdk-dev] no hugepage with UIO poll-mode driver

Tan, Jianfeng jianfeng.tan at intel.com
Wed Nov 25 07:19:34 CET 2015


Hi Younghwan
When you specify --no-huge, by default, only 64M memory is used. Can you use -m 1024 to 
Mmap 1G memory to have a try?

Jianfeng

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Younghwan Go
> Sent: Wednesday, November 25, 2015 1:46 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] no hugepage with UIO poll-mode driver
> 
> Hello,
> 
> I'm trying to create rte mempool with my own memory scheme (shared
> virtual memory between CPU & GPU) other than using hugepage. I'm using
> IGB UIO module with Ethernet 10G 2P X520 Adapter NIC.
> 
> I first tried to disable hugepage by inserting "--no-huge" option, but it gave
> an error at rte_mempool_create function. Then I found in rte_eal.h file that
> said "no-huge mode cannot be used with UIO poll-mode drivers like
> igb/ixgbe".
> 
> Is there a way to switch DPDK code to not use hugepage with ixgbe driver or
> is it not possible to do so?
> 
> Thank you,
> Younghwan



More information about the dev mailing list