From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <alejandro.lucero@netronome.com>
Received: from mail-ob0-f179.google.com (mail-ob0-f179.google.com
 [209.85.214.179]) by dpdk.org (Postfix) with ESMTP id 11BE011C5
 for <dev@dpdk.org>; Thu, 11 Feb 2016 13:04:29 +0100 (CET)
Received: by mail-ob0-f179.google.com with SMTP id ba1so69734591obb.3
 for <dev@dpdk.org>; Thu, 11 Feb 2016 04:04:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=netronome-com.20150623.gappssmtp.com; s=20150623;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=MxwRduy1Wax401lLfHV7leefuC6ZBlO2kUd0WHYkY5M=;
 b=E49c0lKewvUpXHZtJ7TopYljXCqWc+R481sN1XG/X7TqttiH7PcDmPsKqTF08Dh8sI
 3XbqpidoXcaHtLXE73HFYxBz+v1qRbP2KdgtDgityZi4SyvE+w2nQCdwJI36cqt0NRaf
 55nhdX4RjzjD0O07wvExRSwr8jWCvJhueB4BH4d7iuNTDnWro2/UnGWeg3x27CXUwdKO
 /sZNjowBt5mpsM2WV0emWRnslkOvel3ttH7KUZE2wRcmbZh8ZJZlbqpGYAxEMhAFAFQK
 zVl2yCEoB8W6hYtMN9vUgMbF1TUU+EG29QGtUyzb/o2s5ANRCFQoCy8cFB/wKUs0pcar
 Im0A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:date
 :message-id:subject:from:to:cc:content-type;
 bh=MxwRduy1Wax401lLfHV7leefuC6ZBlO2kUd0WHYkY5M=;
 b=Rb+keejxGzpKk29M5Dc8SvCvD17ZfDmW3fMhlFNZNAvBZS9Ri6xUjLEsWoXi4lYwD/
 oYCSfS/4yGFfR0FNwwkiA6n3sxKx8MWIZUh0xR06HHacjfqMPE7Lb7EO9VgFmvYRZDBl
 aTDq+q/oX3MOhh24J1mY8e+bdcXqR1Wsh/mveGjyBb8fQPV2eL9UfjGaUV/qtui6OjXQ
 RHfFx6Y8PEN7+Lvv2m/4UO4/qqavrTzp+KoVu9uo8uN9qqjAKZUt2KwzwQ8sBXOHlFA5
 W/N5LqiexYrNbAFmqAfagM7Uh3zPnKFI4gVVnj0TJYJAU4TBAbBya2WZvNcGIgSOWRBX
 iaYA==
X-Gm-Message-State: AG10YOR3Ofah2AHWsot6hK5qlXqcaKzAxDMA/AQsNSnli4YgtshUT9CUoS/IXORf4Nrg0r66hOJnDkGrCI4nwasQ
MIME-Version: 1.0
X-Received: by 10.60.179.49 with SMTP id dd17mr43870605oec.5.1455192268559;
 Thu, 11 Feb 2016 04:04:28 -0800 (PST)
Received: by 10.76.19.167 with HTTP; Thu, 11 Feb 2016 04:04:28 -0800 (PST)
In-Reply-To: <CAKV+TPhgY03fs3y4NyqO2GsYjo-xkVZeXLEFPc6OFU6sZNogcA@mail.gmail.com>
References: <CAKV+TPhgY03fs3y4NyqO2GsYjo-xkVZeXLEFPc6OFU6sZNogcA@mail.gmail.com>
Date: Thu, 11 Feb 2016 12:04:28 +0000
Message-ID: <CAD+H992JyMPKho2MS0RxDpo5r7ogtbP49cgP113H5rO8Vnw5ug@mail.gmail.com>
From: Alejandro Lucero <alejandro.lucero@netronome.com>
To: Pushpasis Sarkar <pushpasis@gmail.com>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Cc: dev <dev@dpdk.org>
Subject: Re: [dpdk-dev] [README]:Running DPDK in a LXC-based Container
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Feb 2016 12:04:29 -0000

Did you try with the --file-prefix testpmd option?

Just use different file-prefix for each DPDK app running.

On Thu, Feb 11, 2016 at 5:01 AM, Pushpasis Sarkar <pushpasis@gmail.com>
wrote:

> Hi Krishna,
>
> Off-late I have been investigating DPDK on Linux containers.. I came across
> this thread and found it very helpful.. But I still find some issues when I
> try to run the same DPDK application simultaneously on more than one LXC
> containers..
>
> Even when following the example provided in this thread. I am unable to run
> the same application simultaneously in both host and more than one LXC
> containers..
> Is there any way to achieve the same..
>
> The basic issue I see in the DPDK design that kit assumes that it will use
> /mnt/huge/ file-path before using it.. making it unavailable to any other
> process.. Can this be changed to use the sub-directory /mnt/huge/$(uname
> -n)/<PID>. That way it cannot stop other process running on host/lxc from
> using the hugepages.. I have donot have much knowledge about how the
> hugepage filesystem works.. so pardon my ignorance... :)
>
> Looking forward to some help on this.
>
> Regards,
> -Pushpasis
>