DEV Community

Abdullah AlGrou
Abdullah AlGrou

Posted on

Boost Your macOS VMware Performance: Disabling TSO for Faster Uploads

Are you experiencing slow upload speeds while using macOS on VMware? Discover how you can significantly improve your virtual machine's performance by disabling TSO (TCP Segmentation Offload) – a simple yet effective solution. In this article, we'll dive into what TSO is, why you might need to disable it, and how to make this change permanent on your macOS virtual machine.

What is TSO (TCP Segmentation Offload)?

TCP Segmentation Offload (TSO) is a network feature that can offload the TCP/IP segmentation of large packets from the CPU to the network interface card (NIC). It's designed to reduce CPU overhead and enhance network performance by allowing the NIC to break down large data packets into smaller, manageable segments. While TSO can provide significant performance benefits in some scenarios, it might not always be optimal for certain environments or configurations.

Why Disable TSO?

In some virtualized environments like VMware, TSO can lead to suboptimal network performance, especially when dealing with virtual machines running macOS. Slow upload speeds can be a common issue for users trying to share or transfer files, stream media, or perform other network-related tasks. Disabling TSO can help alleviate these problems and lead to a smoother experience within your macOS virtual machine.

Making TSO Disabling Permanent on macOS VMware:

To disable TSO permanently on your macOS VMware virtual machine, follow these steps:

  1. Open Terminal.

  2. Edit the /etc/sysctl.conf file by running:

sudo nano /etc/sysctl.conf

  1. Add the following line to the file:

net.inet.tcp.tso=0

  1. Save the file and exit the text editor (if using nano, press Ctrl + O, then confirm the file name and press Enter. To exit, press Ctrl + X).

  2. Apply the changes immediately with:

sudo sysctl -w net.inet.tcp.tso=0

6.Restart your macOS virtual machine:

sudo shutdown -r now

After the reboot, ensure that TSO is successfully disabled by running the command:

sysctl net.inet.tcp.tso

You should see the output: net.inet.tcp.tso: 0.

By following these steps, you can boost your macOS VMware performance and enjoy faster upload speeds, making your virtual machine experience more efficient and enjoyable. Give it a try and experience the difference today!

Top comments (0)