paolo-projects / auto-unlocker

Unlocker for VMWare macOS
GNU General Public License v3.0
4.11k stars 524 forks source link

Slow upload speed #98

Open ivcha12 opened 1 year ago

ivcha12 commented 1 year ago

Hello, I installed macOS 13 (Ventura) machine and I have <1Mbps upload speed (download speed is fine) on my VM while my host has proper upload speed. Anyone with same problem that got it fixed somehow? Also, upload speed is fine when using Safari but when something else is used (Google Chrome as an example) it goes back to being <1Mbps.

SteveKennedy commented 1 year ago

Can confirm.

I absolutely have same problem. Others guests on same host (Windows, etc) run speeds just fine.

But macOS Ventura upload is substantially slow. Download is fine. Same exact problem.

SteveKennedy commented 1 year ago

I found a workaround, at least in my case. Turning off TSO on the guest (macOS Ventura) seems to restore upload speed. Here’s how to do that.

On the guest, in Terminal: sysctl net.inet.tcp.tso=0 You might have to SUDO.

This setting doesn't seem to remain consistent over reboot. So, there's probably some mac setting to reset it on startup somewhere. For now, I will do it manually each time.

Also, the guest Ventura still doesn't have nearly the d/u speeds as it probably should. But the upload is atleast much better with this setting (above).

These two pages gave insight into the solution:

https://kb.vmware.com/s/article/2055140 https://communities.vmware.com/t5/VMware-Fusion-Discussions/how-do-i-disable-lro-and-tso-on-mac-osx/...

And probably also related:

https://github.com/aws/aws-sdk/issues/469 (read comment from Feb 28, 2023)