[dpdk-dev] [PATCH v5 0/6] Virtio-net PMD: QEMU QTest extension for container
Yuanhan Liu
yuanhan.liu at linux.intel.com
Tue Jun 7 09:33:02 CEST 2016
On Tue, Jun 07, 2016 at 04:12:28PM +0900, Tetsuya Mukawa wrote:
> On 2016/06/06 19:50, Tan, Jianfeng wrote:
> >> Please let me make sure how we can invoke many DPDK applications in
> >> hundreds containers.
> >> (Do we have a way to do? Or, will we have it in the future?)
> >
> > Just to add some option here, we cannot say no to that kind of use case.
> > To have many instances, we can:
> >
> > (1) add a restriction of "cpu share" on each instance, relying on kernel
> > to schedule.
> > (2) enable interrupt mode, so that one instance can go to sleep when it
> > has no pkts to receive and awoke by vhost backend when pkts come.
> >
> > Option 2 is my choice.
>
> Hi Yuanhan and Jianfeng,
>
> Thanks for your descriptions about how you will invoke many DPDK
> applications in containers.
> I guess we have almost talked everything we need to consider to choose
> one of container implementations.
>
> We may have one conclusion about this choice.
> If we can easily maintain virtio device implementation,
AFAIK, yes.
> also if we have
> an use-case to invoke hundreds of DPDK applications in containers, I
Don't know yet, but it seems easier to achieve that with Jianfeng's
solution.
> guess Jianfeng's implementation will be nice.
I'm afraid that's what I'm seeing.
> Anyway, we just follow virtio maintainers choice.
Thanks, and of course, contribution is huge welcome so that we could
have a better container solution!
--yliu
More information about the dev
mailing list