general

Cloud Storage Running Slowly

Resolution Checklist

  • 1 Identify Network and Indexing Bottlenecks
  • 2 Resolve Windows Network and Disk Performance Issues
  • 3 Optimize macOS Sync Speed and Clear File Overheads
  • 4 Adjust Client Bandwidth Limits and Cache Settings
  • 5 Summary Quick Reference Checklist

Cloud Storage Running Slowly

When cloud storage sync speeds decrease significantly, updates take hours, files hang at “0% Syncing”, or your computer’s CPU and disk usage spikes to 100%. Slow performance can be caused by local network restrictions, hardware performance bottlenecks, or metadata bottlenecks when synchronizing thousands of small files.

This guide provides troubleshooting steps, network optimization commands, and configuration tweaks to restore high-speed syncing on both Windows and macOS.


1. Identify Network and Indexing Bottlenecks

Slow cloud storage operations are usually caused by:

  • Active Client Bandwidth Limits: Internal throttle configurations in the client app limiting upload/download rates.
  • Metadata Bottlenecking: Syncing directories with huge numbers of small files (e.g., source code node_modules or build directories). Cloud storage processes each file index individually, creating a backlog.
  • Antivirus Live Scans: Security tools intercepting read/write file triggers, doubling disk usage and pausing sync queues.
  • DNS Resolution Delay and MTU Incompatibility: Stale network routes or improper Maximum Transmission Unit (MTU) sizes fragmenting network packets.

2. Resolve Windows Network and Disk Performance Issues

On Windows, you can optimize network queues, adjust TCP auto-tuning, and exclude sync folders from real-time scans.

A. Enable TCP Auto-Tuning and Reset Network Stack

Windows uses auto-tuning to dynamically adjust TCP receive window sizes. If disabled, download and upload speeds are throttled:

  1. Search for Command Prompt in the Start Menu, right-click, and select Run as Administrator.
  2. Check and enable TCP Auto-Tuning:
    :: Check the current TCP settings
    netsh interface tcp show global
    
    :: Enable Auto-Tuning level to normal
    netsh int tcp set global autotuninglevel=normal

B. Reset the DNS Cache and Catalog

Clean up the network sockets to ensure connection to cloud servers is direct:

ipconfig /flushdns
netsh winsock reset

C. Exclude Cloud Sync Folder from Windows Defender

Prevent real-time scanning of active sync folders, which can degrade I/O speeds:

:: Exclude OneDrive folder from real-time Windows Defender scanning
powershell -Command "Add-MpPreference -ExclusionPath '$env:UserProfile\OneDrive'"

(Adjust the path if using Dropbox or Google Drive).


3. Optimize macOS Sync Speed and Clear File Overheads

On macOS, network performance can be improved by tuning sysctl network settings and optimizing local file attributes.

A. Increase macOS Network Socket Buffers

You can increase TCP buffer limits for faster file transfers via Terminal:

  1. Open Terminal (via Spotlight).
  2. Adjust system network settings (these run until reboot, or can be appended to /etc/sysctl.conf):
    # Increase maximum socket buffer size
    sudo sysctl -w net.inet.tcp.sendspace=262144
    sudo sysctl -w net.inet.tcp.recvspace=262144

B. Clean Out Local Sync Cache Databases

If the local file index is corrupted, the sync engine spends extra CPU cycles re-hashing files. Clear the application data to force a clean, fast index rebuild (example for OneDrive):

# Terminate OneDrive daemon
killall OneDrive

# Remove cached database indices
rm -rf ~/Library/Containers/com.microsoft.OneDrive-mac/Data/Library/Application\ Support/OneDrive/settings

C. Disable DS_Store File Generation on Network Paths

Prevent macOS from writing hidden desktop services metadata files (.DS_Store) which can flood sync queues:

defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true

4. Adjust Client Bandwidth Limits and Cache Settings

Most cloud storage clients default to auto-throttling. Ensure manual overrides are enabled.

Disable Client Limits

  1. Click the cloud client icon in the system tray or menu bar.
  2. Open Settings or Preferences > Network (or Bandwidth).
  3. Under Upload rate and Download rate, change the option to Don’t limit (or enter a high manual value, e.g., 99999 KB/s).
  4. Click OK or Apply and restart the app.

5. Summary Quick Reference Checklist

Action TargetOperating SystemTerminal Command / PathExpected Outcome
Enable TCP Auto-TuningWindowsnetsh int tcp set global autotuninglevel=normalEnhances packet transfer efficiency.
Flush DNS CacheWindowsipconfig /flushdnsClears laggy DNS routes to cloud data centers.
Exclude Defender ScanWindowspowershell Add-MpPreference -ExclusionPath...Prevents disk lag during concurrent file scans.
Boost macOS TCP BuffermacOSsudo sysctl -w net.inet.tcp.sendspace=262144Increases socket bandwidth throughput.
Stop .DS_Store WritesmacOSdefaults write com.apple.desktopservices...Prevents creation of metadata files that slow sync.
Disable Client LimitsClient SettingsPreferences > Network/BandwidthBypasses built-in client speed limiters.