Thread (120 messages) 120 messages, 7 authors, 2016-06-07

Re: [PATCH v5 0/6] Virtio-net PMD: QEMU QTest extension for container

From: Yuanhan Liu <hidden>
Date: 2016-06-07 07:32:09

On Tue, Jun 07, 2016 at 04:12:28PM +0900, Tetsuya Mukawa wrote:
On 2016/06/06 19:50, Tan, Jianfeng wrote:
quoted
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help