Torrent Download speed significantly slower than Windows

Hello,

I recently decided to start dual-booting Manjaro, and it has been quite a learning experience. I have managed to find answers by googling for most problems I have faced so far, but this one has stumped me.

For some reason, downloading torrents (at least through qBittorrent) have been consistently ~1/10th the speed in Manjaro than they are in Windows 11, both using qBittorrent 4.5.5, with the same (default) settings. I did find a forum thread with a similar issue, and tried changing the link-negotiation to automatic, but that has not helped.

For some more details, my Windows and Manjaro partitions are on the same SSD, and are downloading to my exFAT formatted HDD. I also tried downloading to a temporary RAMDisk and my NVME drive with no changes in speed. All comparisons were using the same torrent file, and the number of connections on the torrent were fairly similar.

As I saw requested on similar help threads, here is the output of inxi --admin --verbosity=7 --filter --no-host --width

System:
  Kernel: 6.5.5-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.5-x86_64
    root=UUID=f50e0cc7-7d74-4c31-b21c-091fd8ea6881 rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.8 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: Gigabyte product: B450M DS3H v: N/A serial: N/A
  Mobo: Gigabyte model: B450M DS3H-CF serial: N/A UEFI: American Megatrends
    LLC. v: F65b date: 09/20/2023
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 16 GiB available: 15.54 GiB used: 2.81 GiB (18.1%)
  Array-1: capacity: 128 GiB slots: 4 modules: 2 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: DIMM 0 type: no module installed
  Device-2: DIMM 1 type: DDR4 detail: synchronous unbuffered (unregistered)
    size: 8 GiB speed: 2666 MT/s volts: curr: 1.2 min: 1.2 max: 1.2 width (bits):
    data: 64 total: 64 manufacturer: G.Skill part-no: F4-2666C19-8GNT
    serial: N/A
  Device-3: DIMM 0 type: no module installed
  Device-4: DIMM 1 type: DDR4 detail: synchronous unbuffered (unregistered)
    size: 8 GiB speed: 2666 MT/s volts: curr: 1.2 min: 1.2 max: 1.2 width (bits):
    data: 64 total: 64 manufacturer: G.Skill part-no: F4-2666C19-8GNT
    serial: N/A
CPU:
  Info: model: AMD Ryzen 5 5600X socket: AM4 bits: 64 type: MT MCP arch: Zen 3+
    gen: 4 level: v3 note: check built: 2022 process: TSMC n6 (7nm)
    family: 0x19 (25) model-id: 0x21 (33) stepping: 0 microcode: 0xA20102B
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 32 MiB
    desc: 1x32 MiB
  Speed (MHz): avg: 2325 high: 3700 min/max: 2200/4650 boost: enabled
    base/boost: 3700/4650 scaling: driver: acpi-cpufreq governor: schedutil
    volts: 1.1 V ext-clock: 100 MHz cores: 1: 3700 2: 2200 3: 2200 4: 2200
    5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200 12: 2200
    bogomips: 88843
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists erms extapic
    extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
    hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
    misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
    nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt
    pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
    skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor
    svm svm_lock syscall tce topoext tsc tsc_scale umip v_spec_ctrl
    v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt
    x2apic xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Navi 21 [Radeon RX 6800/6800 XT / 6900 XT]
    vendor: XFX Speedster MERC 319 driver: amdgpu v: kernel arch: RDNA-2
    code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: DP-4,DP-6,HDMI-A-1 empty: DP-1,
    DP-2, DP-3, DP-5, DP-7 bus-ID: 09:00.0 chip-ID: 1002:73bf class-ID: 0300
  Display: x11 server: X.Org v: 21.1.8 compositor: kwin_x11 driver: X:
    loaded: amdgpu unloaded: modesetting,radeon alternate: fbdev,vesa
    dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5040x1920 s-dpi: 96 s-size: 1331x507mm (52.40x19.96")
    s-diag: 1424mm (56.07")
  Monitor-1: DP-4 mapped: DisplayPort-3 pos: primary,middle-c
    model: Dell U2413 serial: <filter> built: 2013 res: 1920x1200 hz: 60 dpi: 94
    gamma: 1.2 size: 518x324mm (20.39x12.76") diag: 611mm (24.1") ratio: 16:10
    modes: max: 1920x1200 min: 720x400
  Monitor-2: DP-6 mapped: DisplayPort-5 pos: top-right model: Dell U2413
    serial: <filter> built: 2013 res: 1200x1920 hz: 60 dpi: 94 gamma: 1.2
    size: 324x518mm (12.76x20.39") diag: 611mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 720x400
  Monitor-3: HDMI-A-1 mapped: HDMI-A-0 pos: bottom-l
    model: Toshiba TOSHIBA-TV serial: <filter> built: 2016 res: 1920x1080 hz: 60
    dpi: 30 gamma: 1.2 size: 1600x900mm (62.99x35.43") diag: 1836mm (72.3")
    ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.1.9-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6800 XT (navi21 LLVM
    16.0.6 DRM 3.54 6.5.5-1-MANJARO) device-ID: 1002:73bf memory: 15.62 GiB
    unified: no
  API: Vulkan v: 1.3.264 layers: N/A device: 0 type: discrete-gpu name: AMD
    Radeon RX 6800 XT (RADV NAVI21) driver: mesa radv v: 23.1.9-manjaro1.1
    device-ID: 1002:73bf surfaces: xcb,xlib
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 09:00.1 chip-ID: 1002:ab28
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0b:00.4 chip-ID: 1022:1487 class-ID: 0403
  API: ALSA v: k6.5.5-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.81 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 05:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: noprefixroute scope: global broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  IF-ID-1: docker0 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Actions general adapter driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-2:3 chip-ID: 10d7:b012
    class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 3.19 TiB used: 873.04 GiB (26.7%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKNW512G8
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 002C temp: 43.9 C scheme: GPT
  SMART: yes health: PASSED on: 2y 76d 16h cycles: 1,654
    read-units: 36,779,021 [18.8 TB] written-units: 51,217,444 [26.2 TB]
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD10EZEX-60M2NA0
    family: Blue size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
    sata: 3.1 speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter> fw-rev: 1A01
    temp: 37 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 4y 68d 11h cycles: 5129
  ID-3: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 870 EVO 2TB
    family: based SSDs size: 1.82 TiB block-size: physical: 512 B logical: 512 B
    sata: 3.3 speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 2B6Q
    temp: 31 C scheme: MBR
  SMART: yes state: enabled health: PASSED on: 82d 18h cycles: 205
    written: 4 TiB
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 39.5 GiB size: 38.58 GiB (97.68%) used: 9.17 GiB (23.8%)
    fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p2 maj-min: 259:2 label: Root
    uuid: f50e0cc7-7d74-4c31-b21c-091fd8ea6881
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 83.9 MiB (16.4%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1 label: N/A uuid: 3DED-B7AB
  ID-3: /home raw-size: 184.59 GiB size: 180.63 GiB (97.86%)
    used: 15.11 GiB (8.4%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p3
    maj-min: 259:3 label: Home uuid: c4127134-538c-4e20-abeb-34a37d5cc264
  ID-4: /home/Win11 raw-size: 252.34 GiB size: 252.34 GiB (100.00%)
    used: 55.45 GiB (22.0%) fs: ntfs block-size: 4096 B dev: /dev/nvme0n1p5
    maj-min: 259:5 label: Windows 11 uuid: E8DA03FFDA03C930
  ID-5: /home/games raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
    used: 350.44 GiB (18.8%) fs: ntfs block-size: 4096 B dev: /dev/sdb1
    maj-min: 8:17 label: Games uuid: CA2835DF2835CAE9
  ID-6: /home/media raw-size: 931.51 GiB size: 931.48 GiB (100.00%)
    used: 442.8 GiB (47.5%) fs: exfat block-size: 512 B dev: /dev/sda1
    maj-min: 8:1 label: Media uuid: 8F00-B566
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p4 maj-min: 259:4 size: 16 MiB fs: N/A label: N/A uuid: N/A
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 10 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-1:2 info: Holtek USB-HID Keyboard type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 100mA chip-ID: 04d9:0296 class-ID: 0300
  Device-2: 1-2:3 info: Actions general adapter type: bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 100mA chip-ID: 10d7:b012 class-ID: e001 serial: <filter>
  Hub-2: 2-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-1:2 info: Acrox AmazonBasics gaming mouse type: mouse,keyboard
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 500mA chip-ID: 3938:1110 class-ID: 0301
  Hub-4: 3-2:3 info: Microchip (formerly SMSC) Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 0424:2134
    class-ID: 0900
  Hub-5: 3-2.3:4 info: Microchip (formerly SMSC) USB2134 ports: 3 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 0424:2532
    class-ID: 0900
  Device-1: 3-2.3.2:5 info: Logitech G105 Gaming Keyboard type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s (183 KiB/s)
    lanes: 1 mode: 1.0 power: 200mA chip-ID: 046d:c248 class-ID: 0300
  Hub-6: 4-0:1 info: super-speed hub ports: 4 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-7: 4-2:2 info: Microchip (formerly SMSC) Hub ports: 4 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 0424:5534
    class-ID: 0900
  Hub-8: 4-2.3:3 info: Microchip (formerly SMSC) Hub ports: 3 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 0424:5534
    class-ID: 0900
  Device-1: 4-2.3.3:4 info: Realtek Card Reader type: mass storage
    driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s (596.0 MiB/s)
    lanes: 1 mode: 3.2 gen-1x1 power: 800mA chip-ID: 0bda:0307 class-ID: 0806
    serial: <filter>
Sensors:
  System Temperatures: cpu: 44.5 C mobo: 35.0 C gpu: amdgpu temp: 44.0 C
    mem: 46.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Processes: 349 Uptime: 2m wakeups: 0 Init: systemd v: 254 default: graphical
  tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6 Packages: pm: pacman
  pkgs: 1158 libs: 328 tools: pamac pm: flatpak pkgs: 0 Shell: Bash (su)
  v: 5.1.16 running-in: konsole inxi: 3.3.30
1 Like

Can you try to use another torrent downloader ?
Ktorrent or other.

Ktorrent is CRAP. IF the OP is actually getting slower speeds it is most likely due to how the OS is handling the network hardware and not qBittirrent.

qBit is perfectly fine. It should either be related to disk writing or with the network. I can only recommend to try to narrow it down testing separately and in some other tests. For example there is iperf for network tests, you can use it in the local network and play with its setting to test different packet sizes, bursts per seconds etc. And then maybe tune the network stack of manjaro if needed.
There are also synthetic test for disk performance.
BTW you did not tell us in what vicinity are those speed differences (i guess we are talking above 100-200Mbps, cause i certainly achieved that with qBittorent on wifi with all the default manjaro settings)

1 Like

QBitTorrent should already be configured in Manjaro. If using UFW as your firewall;

cat /etc/ufw/applications.d/ufw-bittorent

Make sure that port 6881 is allowed for TCP in UFW.

That might help if there was no connection; but if QBitTorrent is connecting normally apart from the slow speed, that might also point to a permissions issue.

Or, It could be an extremely slow torrent that you tested with. What are the respective speeds of other torrents?

It shouldn’t be disk performance, as transferring files between disks hasn’t been noticeably different between Windows/Manjaro.

And apologies for missing comments on actual speeds - For a torrent downloaded on Windows (eg the Manjaro ISO) I will get between 10-20Mbps, on Manjaro I am lucky to get 1.5Mbps with the same torrent, usually averaging 800Kbps.

Strangely, this does not affect other download sources, eg Steam games (easily got peaks of over 200Mbps, though admittedly on an NVME not an HDD).

I also do not think it would be a permissions issue, my media drive’s etc configuration (after much googling and testing) is UUID=8F00-B566 /home/media exfat defaults,noatime,uid=1000,gid=1001,umask=0000 0 0

Apparently my UPLOAD speed got clicked to a low limit, which somehow severely throttled my download speeds. Removing the upload speed limit boosted my download speed to 50Mbps instantly.

2 Likes

Permissions are mostly irrelevant with exfat; that’s right.

All I can suggest otherwise is to check your QBitTorrent settings; as you already have. Careful with those mouse-clicks. Cheers.

To request a new packet, you use the upload channel for the request. And that can happen hundred times a second. So if you cap the upload too much this is indeed what happens: less requests per sec. and at some point for part of a second the client has downloaded everything and idles. Which translates to a lower speed on average, because we cannot see the milisecond bursts and idles with naked eye, the speed indicator and graphs refresh once a second.
The same can happen if you cap the packet per second rate.

2 Likes

I’ve often seen another spin on that suggesting “they throttle my download just because I reduced my upload speed”, or similar. :person_facepalming:

The OP found their solution LONG before you posted. :man_facepalming: :person_facepalming: :woman_facepalming:

Locutus, apparently Borg implants can cause minor skin irritation. May I suggest some analgesic cream?!

Your apparent shadowing of my posts, and plastering of thumbs down, roll on the floor laughing, and facepalm emojis is amusing, but not very productive. Cheers.

If you were actually helpful I wouldn’t.

Y’know what I do in cases like this?

IGNORE IT.

It’s a feature of the human being to just simply not react to something. But it’s a choice and takes some brainpower, though…but it can and does improve with use.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.