From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tan, Jianfeng" Subject: Re: no hugepage with UIO poll-mode driver Date: Wed, 25 Nov 2015 06:19:34 +0000 Message-ID: References: <56554B08.3040400@ndsl.kaist.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To: Younghwan Go , "dev@dpdk.org" Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id B81B53784 for ; Wed, 25 Nov 2015 07:19:40 +0100 (CET) In-Reply-To: <56554B08.3040400@ndsl.kaist.edu> Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Younghwan When you specify --no-huge, by default, only 64M memory is used. Can you us= e -m 1024 to=20 Mmap 1G memory to have a try? Jianfeng > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Younghwan Go > Sent: Wednesday, November 25, 2015 1:46 PM > To: dev@dpdk.org > Subject: [dpdk-dev] no hugepage with UIO poll-mode driver >=20 > Hello, >=20 > 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. >=20 > 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 t= hat > said "no-huge mode cannot be used with UIO poll-mode drivers like > igb/ixgbe". >=20 > Is there a way to switch DPDK code to not use hugepage with ixgbe driver = or > is it not possible to do so? >=20 > Thank you, > Younghwan