[dpdk-dev] [README]:Running DPDK in a LXC-based Container

Pushpasis Sarkar pushpasis at gmail.com
Thu Feb 11 13:56:10 CET 2016


Hi Alejandro,

Thanks for the response. I tried the --file-prefix option.. But its the
same issue.. :( Looks like the --file-prefix option only determines the
name of the pages to be created under /mnt/huge/.

I will try the --huge-dir option as well and see if I can do anything with
it or not...

Thanks and Regards,
Pushpasis

On Thu, Feb 11, 2016 at 5:34 PM, Alejandro Lucero <
alejandro.lucero at netronome.com> wrote:

> [image: Boxbe] <https://www.boxbe.com/overview> Alejandro Lucero (
> alejandro.lucero at netronome.com) is not on your Guest List
> <https://www.boxbe.com/approved-list?tc_serial=24340454778&tc_rand=1758595516&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&token=d5AB60jxM3mp6UGnoaT1GyqDwTwwrUUOmC2KRJv2v5G6Yxmpi6xLug7B0Xnp73E2&key=8KrFUmOVgyyU7e09U%2F3XGcUfMiAzeGV6WqRa35oU89g%3D>
> | Approve sender
> <https://www.boxbe.com/anno?tc_serial=24340454778&tc_rand=1758595516&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&token=d5AB60jxM3mp6UGnoaT1GyqDwTwwrUUOmC2KRJv2v5G6Yxmpi6xLug7B0Xnp73E2&key=8KrFUmOVgyyU7e09U%2F3XGcUfMiAzeGV6WqRa35oU89g%3D>
> | Approve domain
> <https://www.boxbe.com/anno?tc_serial=24340454778&tc_rand=1758595516&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&dom&token=d5AB60jxM3mp6UGnoaT1GyqDwTwwrUUOmC2KRJv2v5G6Yxmpi6xLug7B0Xnp73E2&key=8KrFUmOVgyyU7e09U%2F3XGcUfMiAzeGV6WqRa35oU89g%3D>
>
> 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 at 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
>>
>
>
>


More information about the dev mailing list