From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by dpdk.org (Postfix) with ESMTP id E16BB8D95 for ; Wed, 14 Oct 2015 15:21:39 +0200 (CEST) Received: by wijq8 with SMTP id q8so81647985wij.0 for ; Wed, 14 Oct 2015 06:21:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:organization:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=cbys53zH5cgg445s2C8UvGlXpLZTcQtW4rIKKZcMQ/0=; b=S4FQvmRWSzy3pWY+JYL5W4qXBjLBPF23w3SBV+9Y70vg588uRg1mT2D8lcsumvQh3n PnyeGKyyDRa6nam6b0ZQjX828ujYj8Z4c2b7L0fa+NPgQlFLvXkgEVMuxEKcuTboJGh8 IEeSGczC3O+xmz+wOocMH9BEJMUJyZT73+UUvyFxqam8yzCEHM+5+8RKl6Gc09Ur8ZlA LEi9J5fpheWi6Qzs/HuKtDBAhH723DfpDr2Hr/aR7dWdkCEAirHqGTxXxaFheoo4rSLt Qpyem5tmtBazmhYuawD4qT5iFMtbf1yTRRAbGALqAPLNATHmO4sVJmu2aZXFx22UPQ71 DMNA== X-Gm-Message-State: ALoCoQmD/0+bkNho2RYLauDGIWm8596mn5po8z5k2T9WDPRu3EguLfOAzHmzYiG8oMZ6oMbEioNP X-Received: by 10.180.8.106 with SMTP id q10mr4198847wia.92.1444828895991; Wed, 14 Oct 2015 06:21:35 -0700 (PDT) Received: from saturne.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id ft2sm7127656wic.24.2015.10.14.06.21.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Oct 2015 06:21:35 -0700 (PDT) Message-ID: <561E56DE.7080803@6wind.com> Date: Wed, 14 Oct 2015 15:21:34 +0200 From: Vincent JARDIN Organization: www.6wind.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "Mcnamara, John" , Thomas F Herbert , "dev@dpdk.org" References: <5616B611.3070900@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] DPDK User Space: Session onUseability and Ease of Use 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, 14 Oct 2015 13:21:40 -0000 On 13/10/2015 18:36, Mcnamara, John wrote: > * Should DPDK applications be running as root > > - Clearly not a great option. > > - Currently required due to kernel. It is not 100% accurate. With some systems, it shall be possible to run DPDK application without running them as root. It was commented that there is a solution when PMDs are designed differently (verbs API => memory registration of users). Moreover, it would ease the cleanup of resources when a DPDK application does a segfault.