-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
vsock does not support --mmap #3810
Comments
It's seems the performance of the IVSHMEM-device is very low on AMD, which I switched to: Using I was debugging this the whole day, before finding these links... The ticket can be closed. |
@pingberlin would you mind helping in documenting how you used |
@totaam Would you like this information here or in the wiki? On the host, I used the tool
That would create the shared memory file at In the guest, I used
Since everything is a file under Linux, this results in the following path:
We need to enable the device:
We then use the shared memory path (don't use the file
If you have further question, don't hesitate to ask. |
I think this deserves its own wiki page under https://github.com/Xpra-org/xpra/tree/master/docs/Network I guess we should be able to figure out the path? Maybe something like |
Well I currently have no script, but the following command to find proper devices would suffice:
If validation is wished for, I would check for the proper device IDs in that directory. Also note: More than one IVSHMEM-device may be attached. So instead of Concerning the documentation:
|
What would the "proper device IDs" be?
Probably not.
Sounds good. |
The proper device ID is I'll give you an update, once I have the documentation done. |
@pingberlin ping! |
Hi totaam! |
Hi @totaam
Only then it will work. Please also check for yourself, if you may. |
@pingberlin the commit above should do that. |
Some more
|
Describe the bug
xpra attach vsock://3:14500/ --mmap=/dev/shm/linux-alpine-v3.17.2-xpra-plasma-2023-03-15 -d mmap
leads to:
Specifically:
Warning: missing valid socket filename to set mmap group
resulting in very laggy performance, because neiter mmap nor compression seems to be used.To Reproduce
Steps to reproduce the behavior:
xpra attach vsock://3:14500/ --mmap=/dev/shm/linux-alpine-v3.17.2-xpra-plasma-2023-03-15 -d mmap
System Information (please complete the following information):
Additional context
Last time, we talked about this here: #1387
Thanks! :)
The text was updated successfully, but these errors were encountered: