You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and takes on the responsibility of flooding all clients with all other clients' packets. This leads to #58.
We should consider an alternative design where the client-server interface is comprised of a file descriptor and metadata that allows the server to create a VM per client. This would remove the need to flood with packets, allow some VMs to be isolated from others, and generally expose the full generality of vmnet with better performance.
We should also move to datagram sockets as part of this redesign as they do not employ a framing protocol that requires 2 read calls per packet and makes it impossible to use vectorized reads.
The text was updated successfully, but these errors were encountered:
Currently socket_vmnet spawns a single
vmnet_interface
socket_vmnet/main.c
Lines 263 to 272 in f486d47
and takes on the responsibility of flooding all clients with all other clients' packets. This leads to #58.
We should consider an alternative design where the client-server interface is comprised of a file descriptor and metadata that allows the server to create a VM per client. This would remove the need to flood with packets, allow some VMs to be isolated from others, and generally expose the full generality of vmnet with better performance.
We should also move to datagram sockets as part of this redesign as they do not employ a framing protocol that requires 2
read
calls per packet and makes it impossible to use vectorized reads.The text was updated successfully, but these errors were encountered: