Ora

How to Disable uTP in Deluge

Published in Deluge Configuration 3 mins read

To disable uTP (micro Transport Protocol) in Deluge, you need to install the itconfig plugin, then adjust its settings to turn off both incoming and outgoing uTP, followed by a restart of your Deluge instance or container. This process can significantly increase transfer speeds for some users by forcing the use of the more traditional TCP protocol.

Understanding uTP in Deluge

The micro Transport Protocol (uTP) is a BitTorrent extension designed to improve network performance by actively managing bandwidth. It dynamically adjusts the transfer rate based on network congestion, aiming to be less intrusive than traditional protocols. While this can be beneficial for overall network health, some users find that uTP can lead to slower or less consistent download and upload speeds with Deluge. Disabling it ensures Deluge primarily relies on the standard TCP protocol, which might offer better performance in specific network environments.

Step-by-Step Guide to Disabling uTP

Disabling uTP in Deluge is a straightforward process that involves installing and configuring a specific plugin.

1. Install the itconfig Plugin

The itconfig plugin provides advanced configuration options for Deluge's underlying libtorrent library, which includes the controls for uTP.

  • Download the Plugin:
    • Visit the official ItConfig plugin wiki page for the latest information and download links.
    • Download the itconfig.egg file to your computer.
  • Install in Deluge:
    1. Open your Deluge client.
    2. Navigate to Preferences (usually found under the Edit menu).
    3. Select the Plugins category from the left-hand navigation pane.
    4. Click the Install Plugin button.
    5. Browse to the location where you downloaded the itconfig.egg file, select it, and click Open.
    6. Once installed, ensure the checkbox next to ItConfig in the plugins list is ticked to enable it.
    7. Click Apply or OK to save the plugin installation.

2. Configure itconfig to Disable uTP

After enabling the itconfig plugin, new configuration options will become available in Deluge's preferences.

  1. Access itconfig Settings:
    • Go back to Preferences.
    • You should now see an ItConfig entry in the left-hand navigation pane, typically towards the bottom. Click on it.
  2. Disable uTP Options:
    • Within the ItConfig settings, you will find various libtorrent configuration options.
    • Locate the following two specific options related to uTP:
      • enable_incoming_utp
      • enable_outgoing_utp
    • Uncheck both of these options. This will prevent Deluge from accepting incoming uTP connections and initiating outgoing uTP connections.
    • Click Apply or OK to save these changes.

3. Restart Deluge

For the changes to take full effect and for uTP to be completely disabled, you must restart your Deluge instance or container.

  • For Desktop Clients:
    • Completely close the Deluge client.
    • Wait a few seconds, then relaunch Deluge.
  • For Server or Container Deployments:
    • If Deluge is running as a daemon on a server or within a Docker container, you'll need to restart that specific service or container. For example:
      • If running as a systemd service: sudo systemctl restart deluge
      • If running in Docker: docker restart [your_deluge_container_name]

Summary of Steps for Disabling uTP

Step Action Details
1 Install Plugin Download itconfig.egg and install it via Preferences > Plugins in Deluge. Ensure it's enabled.
2 Configure Settings Go to Preferences > ItConfig. Disable both enable_incoming_utp and enable_outgoing_utp by unchecking them.
3 Restart Deluge Close and reopen the Deluge client, or restart its service/container for the changes to apply.

By following these instructions, you will successfully disable uTP in your Deluge client, potentially resolving speed issues and optimizing your torrenting experience.