rlibtorrent

How we test

A single run

  1. A fresh 1 GiB torrentrandom bytes, 1 MiB pieces, private, new each run
  2. 2 seedersqBittorrent 5.1.0, slots open, no rate cap
  3. A private trackerBEP 3, a passkey per client, unregistered until the lag has passed
  4. 4 clientsstarted in the same second for a 60 s race
  5. Asked every 10 msuntil the first verified piece, then every 100 ms
  6. Every copy checkedagainst the original by SHA-256, and uploads against the tracker's count

The four setups

SSD · no tracker delay5 runs · 1 leg
SSD · 5 s tracker delay5 runs · 1 leg
HDD · no tracker delay5 runs · 1 leg
HDD · 5 s tracker delay5 runs · 1 leg
Disks and legs as a table
SetupDiskTracker lagLegsRuns
SSD · no tracker delayC: CT500P5PSSD8 (SSD)0 sstock-t05
SSD · 5 s tracker delayC: CT500P5PSSD8 (SSD)5 sstock-t55
HDD · no tracker delayH: ST18000NM000J-2TV103 (HDD)0 sspindle-t05
HDD · 5 s tracker delayH: ST18000NM000J-2TV103 (HDD)5 sspindle-t55

A leg is one session of runs.

How we pick a winner

Registered firstfirst accepted by the tracker, timed from the race start
Finished firstdownloaded in full, every piece checked
Uploaded most at 60 sof the data the clients uploaded to each other
Uploaded most by the endthe same, counted over the whole race
  • Each run, rbittorrent against the best of the other three in that run
  • A tie does not count as a win, and a client that never registered or never finished loses that mark
  • Scored by the bench's own scorecard_marks.py
What each number measures
  • Tracker's first answer, from the race start: the time the marks use, so it includes the order the clients were added in.
  • Tracker acceptance: from the moment each client fetched the torrent file to the tracker's first answer accepting it, timed the same way for every client.
  • Download finished: from the race start to the client reporting every piece downloaded and hash-checked.
  • Upload share: what one client uploaded to the other racing clients, as a share of all they uploaded to each other; the seeders' upload is not counted.
  • CPU time per GiB: the CPU seconds the client's process used, divided by the GiB it downloaded plus uploaded, so a client that uploads more is not penalised. A client that transferred nothing has no number.
  • Median and range: every number is a median over the setup's runs, with the fastest and slowest run beside it.

On a spinning disk the last write can land a little after the last verified piece. In a separate 2 GiB test that timed the write, rbittorrent had the file on disk in 18.4 s against qBittorrent's 21.9 s (2 GiB, the spinning disk, 5 runs each, 2026-10-18, engine build ca2067a4).

Time to download every piece and check it (lower is better)

SSD, tracker delay 0 s 5 runs 0 5 10 15 20 s rbittorrent: median 1.34 s, range 1.33 s to 1.42 s, 5 of 5 runs rbittorrent 1.34 s rTorrent: median 3.14 s, range 2.92 s to 6.14 s, 5 of 5 runs rTorrent 3.14 s qBittorrent: median 8.17 s, range 6.71 s to 8.26 s, 5 of 5 runs qBittorrent 8.17 s Deluge: median 18.5 s, range 18.5 s to 18.5 s, 1 of 5 runs Deluge 18.5 s (1/5)
SSD, tracker delay 5 s 5 runs 0 10 20 30 s rbittorrent: median 8.22 s, range 8.15 s to 8.28 s, 5 of 5 runs rbittorrent 8.22 s rTorrent: median 16.3 s, range 15.1 s to 23.2 s, 5 of 5 runs rTorrent 16.3 s qBittorrent: did not finish in any of 5 runs qBittorrent did not finish Deluge: did not finish in any of 5 runs Deluge did not finish
HDD, tracker delay 0 s 5 runs 0 20 40 60 s rbittorrent: median 31.5 s, range 28.8 s to 32.6 s, 5 of 5 runs rbittorrent 31.5 s qBittorrent: median 37.9 s, range 31 s to 47.3 s, 5 of 5 runs qBittorrent 37.9 s rTorrent: median 40 s, range 30.1 s to 48 s, 4 of 5 runs rTorrent 40 s (4/5) Deluge: did not finish in any of 5 runs Deluge did not finish
HDD, tracker delay 5 s 5 runs 0 10 20 30 40 s rbittorrent: median 15.4 s, range 15.2 s to 15.7 s, 5 of 5 runs rbittorrent 15.4 s rTorrent: median 26.8 s, range 24.6 s to 34.6 s, 5 of 5 runs rTorrent 26.8 s qBittorrent: did not finish in any of 5 runs qBittorrent did not finish Deluge: did not finish in any of 5 runs Deluge did not finish
The dot is the median run, and the line runs from the fastest to the slowest. Where not every run produced a number, the count that did follows the value. Each panel has its own scale.
The numbers as a table
SSD · T=0 sSSD · T=5 sHDD · T=0 sHDD · T=5 s
1strbittorrent1.34 s(1.33 to 1.42 s)rbittorrent8.22 s(8.15 to 8.28 s)rbittorrent31.5 s(28.8 to 32.6 s)rbittorrent15.4 s(15.2 to 15.7 s)
2ndrTorrent3.14 s(2.92 to 6.14 s)rTorrent16.3 s(15.1 to 23.2 s)qBittorrent37.9 s(31 to 47.3 s)rTorrent26.8 s(24.6 to 34.6 s)
3rdqBittorrent8.17 s(6.71 to 8.26 s)qBittorrent-rTorrent40 s(30.1 to 48 s), 4 of 5 runsqBittorrent-
4thDeluge18.5 s1 of 5 runsDeluge-Deluge-Deluge-

Clients are listed best first in each setup: the median, the fastest to slowest run in brackets, and how many runs gave a number when not all did. A dash means none did.

Share of the clients' upload in the first 60 s (higher is better)

SSD, tracker delay 0 s 5 runs 0% 25% 50% 75% 100% rbittorrent: median 73%, range 62% to 93%, 5 of 5 runs rbittorrent 73% rTorrent: median 21%, range 5.5% to 25%, 5 of 5 runs rTorrent 21% Deluge: median 1%, range 0% to 3.5%, 5 of 5 runs Deluge 1% qBittorrent: median 0.5%, range 0% to 12%, 5 of 5 runs qBittorrent 0.5%
SSD, tracker delay 5 s 5 runs 0% 25% 50% 75% 100% rbittorrent: median 100%, range 100% to 100%, 5 of 5 runs rbittorrent 100% qBittorrent: median 0%, range 0% to 0%, 5 of 5 runs qBittorrent 0% Deluge: median 0%, range 0% to 0%, 5 of 5 runs Deluge 0% rTorrent: median 0%, range 0% to 0%, 5 of 5 runs rTorrent 0%
HDD, tracker delay 0 s 5 runs 0% 25% 50% 75% 100% rbittorrent: median 67%, range 56% to 71%, 5 of 5 runs rbittorrent 67% qBittorrent: median 21%, range 14% to 30%, 5 of 5 runs qBittorrent 21% rTorrent: median 10%, range 7.3% to 12%, 5 of 5 runs rTorrent 10% Deluge: median 3.2%, range 2.1% to 8%, 5 of 5 runs Deluge 3.2%
HDD, tracker delay 5 s 5 runs 0% 25% 50% 75% 100% rbittorrent: median 100%, range 100% to 100%, 5 of 5 runs rbittorrent 100% qBittorrent: median 0%, range 0% to 0%, 5 of 5 runs qBittorrent 0% Deluge: median 0%, range 0% to 0%, 5 of 5 runs Deluge 0% rTorrent: median 0%, range 0% to 0%, 5 of 5 runs rTorrent 0%
The dot is the median run, and the line runs from the fastest to the slowest. Where not every run produced a number, the count that did follows the value. Each panel has its own scale.
The numbers as a table
SSD · T=0 sSSD · T=5 sHDD · T=0 sHDD · T=5 s
1strbittorrent73%(62 to 93%)rbittorrent100%rbittorrent67%(56 to 71%)rbittorrent100%
2ndrTorrent21%(5.5 to 25%)qBittorrent0%qBittorrent21%(14 to 30%)qBittorrent0%
3rdDeluge1%(0 to 3.5%)Deluge0%rTorrent10%(7.3 to 12%)Deluge0%
4thqBittorrent0.5%(0 to 12%)rTorrent0%Deluge3.2%(2.1 to 8%)rTorrent0%

Clients are listed best first in each setup: the median, the fastest to slowest run in brackets, and how many runs gave a number when not all did. A dash means none did.

Hardware and versions

12th Gen Intel Core i7-12700K12 cores, 20 threads
16 GBmemory
Windows 10 Probuild 19045
CT500P5PSSD8NVMe SSD, C:
ST18000NM000J-2TV103SATA HDD, H:
rbittorrent 3620c025on rlibtorrent f0d520f6
qBittorrent 5.1.0the released build
Deluge 2.2.0the released build
rTorrent 0.9.8WSL 2, Ubuntu

All results

SSD, tracker delay 0 s, 5 runs
1st2nd3rd4th
Tracker's first answer, from the race startrbittorrent6.4 ms(5 to 8.2 ms)rTorrent9 ms(7.3 to 16.4 ms)Deluge264 ms(20.8 to 521 ms), 4 of 5 runsqBittorrent1.2 s(1.16 to 1.21 s)
Tracker's first answer, from its own fetchrbittorrent2.2 ms(1.7 to 4.5 ms)rTorrent2.7 ms(2.4 to 5.1 ms)Deluge259 ms(15.3 to 509 ms), 4 of 5 runsqBittorrent1.2 s(1.16 to 1.21 s)
First verified piecerbittorrent26 ms(22 to 35 ms)rTorrent41 ms(34 to 51 ms)Deluge286 ms(34 to 535 ms), 4 of 5 runsqBittorrent2.16 s(2.13 to 2.19 s)
Every piece in and checkedrbittorrent1.34 s(1.33 to 1.42 s)rTorrent3.14 s(2.92 to 6.14 s)qBittorrent8.17 s(6.71 to 8.26 s)Deluge18.5 s1 of 5 runs
Upload share at 60 srbittorrent73%(62 to 93%)rTorrent21%(5.5 to 25%)Deluge1%(0 to 3.5%)qBittorrent0.5%(0 to 12%)
Processor time per GiB moved (download plus upload)rbittorrent2.64 s/GiB(2.3 to 2.95 s/GiB)qBittorrent4.4 s/GiB(3.87 to 4.53 s/GiB)Deluge7.75 s/GiB(6.75 to 8.56 s/GiB), 4 of 5 runsrTorrent-
Copies that failed SHA-256, of those checked; uploads the tracker counted differentlyrbittorrent0 of 5; 0rTorrent0 of 5; 0qBittorrent0 of 5; 0Deluge0 of 1; 0
SSD, tracker delay 5 s, 5 runs
1st2nd3rd4th
Tracker's first answer, from the race startrbittorrent7.01 s(7.01 to 7.03 s)rTorrent14.4 s(14 to 14.7 s)qBittorrent-Deluge-
Tracker's first answer, from its own fetchrbittorrent7.01 s(7.01 to 7.02 s)rTorrent14.4 s(14 to 14.7 s)qBittorrent-Deluge-
First verified piecerbittorrent7.05 s(7.03 to 7.09 s)rTorrent14.6 s(14.1 to 14.8 s)qBittorrent-Deluge-
Every piece in and checkedrbittorrent8.22 s(8.15 to 8.28 s)rTorrent16.3 s(15.1 to 23.2 s)qBittorrent-Deluge-
Upload share at 60 srbittorrent100%qBittorrent0%Deluge0%rTorrent0%
Processor time per GiB moved (download plus upload)rbittorrent2.11 s/GiB(2.07 to 2.14 s/GiB)qBittorrent-Deluge-rTorrent-
Copies that failed SHA-256, of those checked; uploads the tracker counted differentlyrbittorrent0 of 5; 0rTorrent0 of 5; 0qBittorrent0 of 0; 0Deluge0 of 0; 0
HDD, tracker delay 0 s, 5 runs
1st2nd3rd4th
Tracker's first answer, from the race startrbittorrent5.7 ms(5.1 to 7 ms)rTorrent7.1 ms(6.4 to 12.2 ms)Deluge488 ms(464 to 494 ms)qBittorrent1.07 s(1 to 1.15 s)
Tracker's first answer, from its own fetchrbittorrent2.1 ms(1.7 to 2.5 ms)rTorrent2.1 ms(2 to 6.3 ms)Deluge482 ms(458 to 489 ms)qBittorrent1.07 s(1 to 1.15 s)
First verified piecerbittorrent64 ms(54 to 119 ms)rTorrent99 ms(64 to 214 ms)Deluge597 ms(553 to 614 ms)qBittorrent2.08 s(2.02 to 2.18 s)
Every piece in and checkedrbittorrent31.5 s(28.8 to 32.6 s)qBittorrent37.9 s(31 to 47.3 s)rTorrent40 s(30.1 to 48 s), 4 of 5 runsDeluge-
Upload share at 60 srbittorrent67%(56 to 71%)qBittorrent21%(14 to 30%)rTorrent10%(7.3 to 12%)Deluge3.2%(2.1 to 8%)
Processor time per GiB moved (download plus upload)rbittorrent3.24 s/GiB(3.1 to 3.46 s/GiB)qBittorrent3.89 s/GiB(3.79 to 5.05 s/GiB)Deluge7.5 s/GiB(6.63 to 8.18 s/GiB)rTorrent-
Copies that failed SHA-256, of those checked; uploads the tracker counted differentlyrbittorrent0 of 5; 0qBittorrent0 of 5; 1rTorrent0 of 4; 0Deluge0 of 0; 1
HDD, tracker delay 5 s, 5 runs
1st2nd3rd4th
Tracker's first answer, from the race startrbittorrent7.02 s(7.01 to 7.02 s)rTorrent14.6 s(14.2 to 14.9 s)qBittorrent-Deluge-
Tracker's first answer, from its own fetchrbittorrent7.02 s(7 to 7.02 s)rTorrent14.6 s(14.2 to 14.9 s)qBittorrent-Deluge-
First verified piecerbittorrent7.14 s(7.05 to 7.14 s)rTorrent15.4 s(15 to 15.7 s)qBittorrent-Deluge-
Every piece in and checkedrbittorrent15.4 s(15.2 to 15.7 s)rTorrent26.8 s(24.6 to 34.6 s)qBittorrent-Deluge-
Upload share at 60 srbittorrent100%qBittorrent0%Deluge0%rTorrent0%
Processor time per GiB moved (download plus upload)rbittorrent2.63 s/GiB(2.54 to 2.85 s/GiB)qBittorrent-Deluge-rTorrent-
Copies that failed SHA-256, of those checked; uploads the tracker counted differentlyrbittorrent0 of 5; 0rTorrent0 of 5; 0qBittorrent0 of 0; 0Deluge0 of 0; 0

What we did not test

  • One machine: 12th Gen Intel Core i7-12700K, 16 GB, Windows 10 Pro. Another machine, disk or network may put the clients in a different order.
  • One torrent size in the race (1 GiB), and seeders on the same machine rather than a public swarm over the internet.
  • We did not race Transmission or uTorrent.
  • rTorrent runs inside WSL, where the sampler cannot see its memory or processor time.

Raw results

Source folder: bench/results/2026-10-19-p3620c025ef0d520f6-scorecard-card211-race in the bench repository, harness bench/harness/race_scenario.py.

Glossary

Show all 18 terms
Tracker
The server that tells each client which other clients have the torrent. A client “announces” to it to join.
Announce
A client's request to the tracker for peers, which also tells the tracker the client is there.
Registered (Announce OK)
The tracker's first answer that accepts the client. Until then the client gets no peers from it.
Private torrent
A torrent flagged so that clients find peers only through its tracker: no DHT, no peer exchange, no local discovery. Private trackers depend on it to count every byte.
Tracker lag (T)
How long the race's tracker answers “unregistered” after the start, as a private tracker does while a new upload is still being processed. T=0 s: it accepts at once.
Seeder
A client that has the whole torrent and only uploads.
Swarm
Every client sharing one torrent at that moment.
Piece
The torrent's unit of data (1 MiB here). Each one is checked against its hash before it counts, so a client never shares a broken piece.
Upload share
What one client uploaded to the other racing clients, as a share of all they uploaded to each other. The seeders' upload is not counted.
Median and range
The middle run, and the fastest and slowest. A median is not moved by one odd run; the range shows how much the runs differ.
Peak private memory
The most memory the client's process held for itself at any moment of the run.
CPU seconds
The processor cycles the client's process ran, divided by the processor's clock speed: one CPU second is one core busy for one second.
Info hash
The hash that names a torrent; two clients mean the same torrent when it matches.
DHT
The distributed table clients use to find peers without a tracker (BEP 5).
Peer exchange (PEX)
Clients telling each other about further peers.
uTP
BitTorrent over UDP, with LEDBAT congestion control so it yields to other traffic.
Oracle
An independent implementation the engine's behaviour is compared against, here libtorrent, rqbit and Transmission.
Fuzz target
A test that feeds a parser endless generated input, looking for a crash or a hang.