-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup vsock devices for APPVMs and use it for Waypipe #256
Conversation
40bfb97
to
1dff954
Compare
It's basically bad idea cause we need to know this addresses exactly for each VM to be able to address vsock endpoints. —vadik ***@***.*** 8. Sep 2023, at 13.27, Brian McGillion ***@***.***> wrote:
@brianmcgillion commented on this pull request.
In targets/lenovo-x1-carbon.nix:
@@ -120,6 +120,7 @@
macAddress = "02:00:00:03:03:05";
ramMb = 3072;
cores = 4;
+ cid = 4;
is there anyway to script this as e.g. ++cid so as to avoid hard coding for each VM?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
In this particular case APPVMs connect to GUIVM but not the other way around. It means that they only need to know the CID of the GUIVM which is always 3 (first available number). |
f6ea378
to
278c33e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create repo under tiiuae
for vsockproxy
. Otherwise LGTM
278c33e
to
2576c32
Compare
Needs rebase now |
Signed-off-by: Yuri Nesterov <[email protected]>
2576c32
to
16c6a8d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I will test this first
This PR makes Waypipe work over VSOCK instead of UNIX domain sockets. It increases performance by getting rid of the unnecessary overhead caused by forwarding UNIX sockets over SSH. Testing with iperf show that UNIX sockets over SSH can transfer about 4 Gbits/sec on Lenovo X1 Carbon but with VSOCK it can handle about 15 Gbits/sec between GUIVM and APPVMs.