RE: [PATCH v11 net-next 0/1] introduce Hyper-V VM Sockets(hv_sock)
From: Dexuan Cui
Date: Thu May 19 2016 - 02:16:08 EST
> From: David Miller [mailto:davem@xxxxxxxxxxxxx]
> Sent: Thursday, May 19, 2016 12:13
> To: Dexuan Cui <decui@xxxxxxxxxxxxx>
> Cc: KY Srinivasan <kys@xxxxxxxxxxxxx>; olaf@xxxxxxxxx;
> gregkh@xxxxxxxxxxxxxxxxxxx; jasowang@xxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; joe@xxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx;
> apw@xxxxxxxxxxxxx; devel@xxxxxxxxxxxxxxxxxxxxxx; Haiyang Zhang
> <haiyangz@xxxxxxxxxxxxx>
> Subject: Re: [PATCH v11 net-next 0/1] introduce Hyper-V VM Sockets(hv_sock)
>
>
> I'm travelling and very busy with the merge window. So sorry I won't be able
> to think about this for some time.
David,
Sure, I understand.
Please let me recap my last mail:
1) I'll replace my statically-allocated per-connection "send/recv bufs" with
dynamically ones, so no buf is used when there is no traffic.
2) Another kind of bufs i.e., the multi-page "VMBus send/recv ringbuffer", is
a must IMO due to the host side's design of the feature: every connection needs
its own ringbuffer, which takes several pages (2~3 pages at least. And, 5 pages
should suffice for good performance). The ringbuffer can be accessed by the
host at any time, so IMO the pages can't be swappable.
I understand net-next is closed now. I'm going to post the next version
after 4.7-rc1 is out in several weeks.
If you could give me some suggestions, I would be definitely happy to take.
Thanks!
-- Dexuan