[dpdk-users] Running DPDK as non-root

Wiles, Keith keith.wiles at intel.com
Thu Jul 7 20:37:39 CEST 2016


> On Jul 7, 2016, at 11:17 AM, Thomas Monjalon <thomas.monjalon at 6wind.com> wrote:
> 
> Hi
> 
> 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?
> 
> 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 translation in the startup needs to be root, unless the no-huge option alters the 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.



More information about the users mailing list