From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 24 Nov 2015 22:19:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,341,1444719600"; d="scan'208";a="828547652" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 24 Nov 2015 22:19:39 -0800 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 24 Nov 2015 22:19:39 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 24 Nov 2015 22:19:38 -0800 Received: from shsmsx152.ccr.corp.intel.com ([169.254.6.193]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.83]) with mapi id 14.03.0248.002; Wed, 25 Nov 2015 14:19:36 +0800 From: "Tan, Jianfeng" To: Younghwan Go , "dev@dpdk.org" Thread-Topic: [dpdk-dev] no hugepage with UIO poll-mode driver Thread-Index: AQHRJ0SP8TJX4aUh4k6t06GJF1cpop6sQ13w Date: Wed, 25 Nov 2015 06:19:34 +0000 Message-ID: References: <56554B08.3040400@ndsl.kaist.edu> In-Reply-To: <56554B08.3040400@ndsl.kaist.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] no hugepage with UIO poll-mode driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Nov 2015 06:19:41 -0000 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