[GH-ISSUE #88] Network speed issue for VM #72

Closed
opened 2026-02-27 22:07:46 +03:00 by kerem · 8 comments
Owner

Originally created by @xyuan240 on GitHub (Oct 4, 2020).
Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/88

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!

Originally created by @xyuan240 on GitHub (Oct 4, 2020). Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/88 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!
kerem closed this issue 2026-02-27 22:07:46 +03:00
Author
Owner

@iambenmitchell commented on GitHub (Oct 4, 2020):

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

<!-- gh-comment-id:703257391 --> @iambenmitchell commented on GitHub (Oct 4, 2020): Weird, I’m getting about 8Gbps on speedtest.net and fast.com (my server has a 10Gbps symmetrical fibre connection)
Author
Owner

@sickcodes commented on GitHub (Oct 6, 2020):

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

<!-- gh-comment-id:704548444 --> @sickcodes commented on GitHub (Oct 6, 2020): @MrBenFTW feel free to enlighten us how to boost net speeds :)
Author
Owner

@iambenmitchell commented on GitHub (Oct 10, 2020):

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

<!-- gh-comment-id:706617915 --> @iambenmitchell commented on GitHub (Oct 10, 2020): lol, no idea but here is the result just ran it https://www.speedtest.net/result/c/f6f862d5-b8ae-4c81-b644-c1f2d7ed20a6
Author
Owner

@sickcodes commented on GitHub (Oct 11, 2020):

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

<!-- gh-comment-id:706694306 --> @sickcodes commented on GitHub (Oct 11, 2020): 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
Author
Owner

@iambenmitchell commented on GitHub (Oct 11, 2020):

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

<!-- gh-comment-id:706731137 --> @iambenmitchell commented on GitHub (Oct 11, 2020): I think it is bridged but I am not 100% sure. Like I said, I use subnets with physical/public IPs and fancy routing
Author
Owner

@weskerfoot commented on GitHub (Nov 24, 2020):

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

<!-- gh-comment-id:733299587 --> @weskerfoot commented on GitHub (Nov 24, 2020): 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
Author
Owner

@sickcodes commented on GitHub (Nov 28, 2020):

@weskerfoot here are the two types of networking
https://github.com/sickcodes/Docker-OSX/issues/72

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

<!-- gh-comment-id:735223710 --> @sickcodes commented on GitHub (Nov 28, 2020): @weskerfoot here are the two types of networking https://github.com/sickcodes/Docker-OSX/issues/72 I might add an environment flag to the Docker to allow people to choose between networking types today.
Author
Owner

@sickcodes commented on GitHub (Feb 26, 2021):

Fixed with https://github.com/sickcodes/Docker-OSX/pull/147

<!-- gh-comment-id:786430844 --> @sickcodes commented on GitHub (Feb 26, 2021): Fixed with https://github.com/sickcodes/Docker-OSX/pull/147
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-OSX#72
No description provided.