Skip to content
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

Network speed issue for VM #88

Closed
xyuan240 opened this issue Oct 4, 2020 · 8 comments
Closed

Network speed issue for VM #88

xyuan240 opened this issue Oct 4, 2020 · 8 comments

Comments

@xyuan240
Copy link

xyuan240 commented Oct 4, 2020

Thanks for creatting this project, and I managed to install & run the Mac OS VM in a Ubuntu host.

However, I noticed that the VM network speed is much worse than the host's. (Note, I noticed it by remote connecting to my office machine from the host and guest systems, and I noticed there is quite a difference between them).

I did a bit search and I noticed some people experienced similar issues, and a possible solution is to apply Virtio (http://www.linux-kvm.org/page/Virtio). So my question is that are you aware this issue? And how do I possibly apply Virtio with your image?

Thanks for you attention and any help will be much appreciated!

@iambenmitchell
Copy link
Contributor

Weird, I’m getting about 8Gbps on speedtest.net and fast.com (my server has a 10Gbps symmetrical fibre connection)

@sickcodes
Copy link
Owner

@MrBenFTW feel free to enlighten us how to boost net speeds :)

@iambenmitchell
Copy link
Contributor

lol, no idea but here is the result just ran it https://www.speedtest.net/result/c/f6f862d5-b8ae-4c81-b644-c1f2d7ed20a6

@sickcodes
Copy link
Owner

Bridged networking or user mode?

Any changes to the qemu arguments?

And VNC only yeah?

@MrBenFTW

Thanks for showing us that pic btw, that is F A S T lmao

@iambenmitchell
Copy link
Contributor

I think it is bridged but I am not 100% sure. Like I said, I use subnets with physical/public IPs and fancy routing

@weskerfoot
Copy link
Contributor

I have been looking into this and it seems like MacOS doesn't support virtio for NIC unless you manage to get https://github.com/pmj/virtio-net-osx/ working (but it's out of date).

Apparently creating a bridge is better somehow, but I'm not 100% clear why

@sickcodes
Copy link
Owner

sickcodes commented Nov 28, 2020

@weskerfoot here are the two types of networking
#72

I might add an environment flag to the Docker to allow people to choose between networking types today.

@sickcodes
Copy link
Owner

Fixed with #147

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants