From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 42B152C2D for ; Thu, 7 Jul 2016 20:37:48 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 07 Jul 2016 11:37:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,324,1464678000"; d="scan'208";a="1012688946" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 07 Jul 2016 11:37:40 -0700 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 7 Jul 2016 11:37:39 -0700 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.33]) by fmsmsx120.amr.corp.intel.com ([169.254.15.153]) with mapi id 14.03.0248.002; Thu, 7 Jul 2016 11:37:39 -0700 From: "Wiles, Keith" To: Thomas Monjalon CC: Jez Higgins , "users@dpdk.org" , "olivier.matz@6wind.com" , "Gonzalez Monroy, Sergio" Thread-Topic: [dpdk-users] Running DPDK as non-root Thread-Index: AQHR2GbmoBJZ+EceJU2YEj+kxVNOiqANmp6AgAAnLIA= Date: Thu, 7 Jul 2016 18:37:39 +0000 Message-ID: References: <577E798F.9070700@jezuk.co.uk> <4313092.zcSIIfa3F0@xps13> In-Reply-To: <4313092.zcSIIfa3F0@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.252.196.38] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] Running DPDK as non-root X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2016 18:37:48 -0000 > On Jul 7, 2016, at 11:17 AM, Thomas Monjalon = wrote: >=20 > Hi >=20 > 2016-07-07 16:47, Jez Higgins: >> Is it possible to get DPDK up and running as non-root - if so, can >> anyone guide me to what I'm missing? Or should I be giving this up as a >> bad job? >=20 > You can try the --no-huge option. > But most of drivers won't work without hugepage currently. > A rework of the memory allocation is needed to make it work better. Last time I looked DPDK must be run as root as the virtual to physical tran= slation in the startup needs to be root, unless the no-huge option alters t= he requirement. As I understand the virtual to physical translation needing= to be run a root is a Linux restriction. I do not know of any work arounds= .