Skip to content

Stalled communication on Hyper V Sockets

Frédéric Dalleau via Virtualization virtualization 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1vsock: Fix stalled communication on vhost socketsnet/vmw_vsock/af_vsock.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Stalled communication on Hyper V Sockets

Hi,

After upgrading our VMs kernel, our golang software stack started facing some communication stalling on HyperV platforms.

After receiving a few hundered MBs data from a vsocket in the guest, the data flows suddenly stops, and the receiver is not notified. The sender on the host times out.

Since the use case is very simple, we were surprised that it was not reported, so we took time to investigate.

The issue was bisected to patch below [b3f7fd54881bcba5dc529935f38] af_vsock: separate wait data loop From there ftrace allowed to spot the problem, more details are in the patch description.

In the end, note that the patch is not HyperV specific. So maybe the reproduction rate is lower on other platforms.

Let me know what you think,
Frédéric Dalleau

Frédéric Dalleau (1):
vsock: Fix stalled communication on vhost sockets

 net/vmw_vsock/af_vsock.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 6 lines
2.34.1

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization