From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3A0ADA0C46; Sun, 5 Sep 2021 18:55:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 031C740042; Sun, 5 Sep 2021 18:55:11 +0200 (CEST) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by mails.dpdk.org (Postfix) with ESMTP id 852DB4003D; Sun, 5 Sep 2021 18:55:09 +0200 (CEST) Received: by mail-lf1-f50.google.com with SMTP id z2so8608810lft.1; Sun, 05 Sep 2021 09:55:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=byXJLpjzX7C4oAk6EVMvbY8OwIXni0myvnHr5AcF46Q=; b=qCTtnTSzq5wwDKUyM3CFmDb5/+pAlImrLh8We8Ef2XgCZD4pXgyElta6Ei23VdFj2k i3Z00EtI3XAtIkX/8AOov6o3U1xE31N80bLQudKd47/y2cqOij2vMWmTnbzX+odj/Vqi Lz3GbLN12VUrW9aas+hUkitq4Tbbui75eFPlomlae+gWsN0TcfsAQfk6mqoSZCQ3zsf6 0JQZn+q4dJtu7cL0TsJvvXKzTczuVOIx6+HBfgy7ikzoT6mTRJZ7Zni3KxKziRF83gf4 zH/m5uo0nsUbsuM3OHH0c6XevSBlE0wrXhBLw/8+D1j2S36Ykbb1d7gZ5exelCWG4uwl Dy0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=byXJLpjzX7C4oAk6EVMvbY8OwIXni0myvnHr5AcF46Q=; b=i6y6S7l0qvvdtSC+jVZ/+ZMzYEU6Qv5yrFokDQe9zLccR3ghzQAcdkRSdjLem0oz47 sKsmwoxkzrWbB36OK51i4Op8wEgj4WQf0jWqo3u/uPaqkdocFQmFju3FFZQOU7SV66cd zoKBFVGBSsBld8p4P0XHW0Bp3AiMp5UmuRD4gY6hx9Jar00fXDB7y/uHs+wmwBAZdkzH dJIhUanPnisR3bwe1bou0bf845SaxKvat/DEEeZrkUO0ImJYyjI80mMZcwiFI4APlBJA g7FV1aBtW3dDHj+jFXhG+yDZf4Mx1H6xqUEdwYv8WSOHg/Z94m1i1DYpL4oVA7Yw3gQx I/+A== X-Gm-Message-State: AOAM531oHz0DbH6C15QQAGeMHBbDysHEo0ih2HB02bbjiozSs8K10Ov8 KYpJ8ohnPNid6WwALLn4Dp7WC+kzFYC5bOVLmRo= X-Google-Smtp-Source: ABdhPJxjkqyEwooFiDkYlXt+ZL6nwHMsf1lVqG+WBhQDPHOhlu6kKZoBwcAvTxARz7BgVKGVHI+Xj1MExilRJ41At1c= X-Received: by 2002:ac2:46ec:: with SMTP id q12mr6604635lfo.51.1630860908929; Sun, 05 Sep 2021 09:55:08 -0700 (PDT) MIME-Version: 1.0 References: <7447482.grEccaFACA@thomas> In-Reply-To: <7447482.grEccaFACA@thomas> From: Kamaraj P Date: Sun, 5 Sep 2021 22:24:57 +0530 Message-ID: To: Thomas Monjalon Cc: Bruce Richardson , David Marchand , dev , Anatoly Burakov , Ferruh Yigit , ksimha@cisco.com, kalas@cisco.com, seveluch@cisco.com, "techboard@dpdk.org" , hpai@cisco.com, ppitchai@cisco.com, Aaron Conole , "Kamaraj P (kamp)" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] Running DPDK application with non-previlege mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hello Thomas, THanks for the suggestion. Yes. Our DPDK application already has an in-memory option. BTW we are not using a multi-process environment for our DPDK application. Thanks, Kamaraj On Wed, Sep 1, 2021 at 11:23 PM Thomas Monjalon wrote: > 01/09/2021 18:09, Kamaraj P: > > Thanks Bruce. > > > > BTW we are trying to run our application as docker container. > > We may need to pass the parameters(system capability) along with docker > > command line to mount the hugepages ? > > Like this : > https://github.com/usnistgov/ndn-dpdk/blob/main/docs/Docker.md > > > > Please share your thoughts. > > The easiest is to run with --in-memory option. > > If you really want the hugetlb files (for multi-process), > use such docker option: > --mount type=bind,src=/dev/hugepages,dst=/dev/hugepages > > > >