Download Speed Settings/Optimization. [SOLVED]

Linux specific questions, problems.
Post Reply
Kay

Download Speed Settings/Optimization. [SOLVED]

Post by Kay »

qBittorrent version 3.3.15
OS: Linux - KDE neon LTS 5.8

I am new to downloading torrents. With the assistance of 'Speedtest' and 'Azureus U/L settings calculator' I was able to enter specific data into the designated boxes of BitTorrent - Options.

I ran the speed test 4 times and calculated the average download speed as 130.5 kilobytes per second (kB/s).

Some of the description items as listed in the calculator do not match the wording in qBitTorrent, thus causing me uncertainty for having the data entered into the correct boxes.

I have attached the 'speed optimization entries' based on the average download speed and kindly request them to be reviewed for correctness and/or any bettering data to be entered.
Many thanks in advance.
Attachments
Options - Speed.png
Options - Connections.png
Options - BitTorrent.png
Last edited by Kay on Wed Aug 09, 2017 6:43 am, edited 1 time in total.
Switeck

Re: Download Speed Settings/Optimization.

Post by Switeck »

The Azureus U/L settings calculator is roughly 10 years old and doesn't do a good job optimizing qBitTorrent's limits.
In particular, the max number of connections globally and per torrent is way too high.
I recommend reducing global max connections to 120 and per torrent max connections to 40.
You're not needing lots of connections to reach your max download speed. Having a lot extra connections slows things down and makes it almost impossible for others on the same LAN to use the internet...or even for you to web surf while qBitTorrent is running.

Likewise, if you get the green light (not firewalled) in qBitTorrent then you can reduce how fast it attempts to make outgoing connections from 20 half open connections (under Options, Advanced) at once to 5-10. You can still get flooded by incoming connection attempts by other peers/seeds, which are not limited by that.

Beyond that, you said your average DOWNLOAD speed was 130.5 KiloBYTES/second...yet the calculator was asking for your average UPLOAD speed which is probably much lower if you're on ADSL or cable.

Lastly, on BitTorrent, Torrent Queueing ... check "Do not count slow torrents in these limits" -- that way, if you have a torrent trying to seed that finds no peers at least 1 extra torrent will start. But I wouldn't recommend more than 10-20 partly-active torrents started at once due to qBT being somewhat bad at picking-and-choosing the ones that need to be active the most.
Kay

Re: Download Speed Settings/Optimization.

Post by Kay »

Thanks for responding.

I got distracted and confused when using the 'Azureus U/L settings calculator' and entering data into qBittorrent - Options thus providing wrong information (I mixed up the Download/Upload values, my bad).

According to speedtest.net the average UPLOAD speed is 130.5 kB/s which is based on an average DOWLOAD speed of 1427.7 kB/s (I ran the speed test 4 times).

My computer is connected via cable/VDLS and VPN to the Internet.
According to <http://www.canyouseeme.org/> my ISP is not blocking port 80.

After sending my original post to this forum I stumbled across this link <https://github.com/qbittorrent/qBittorr ... ed'-issues> It indicates that I failed providing additional vital information.

Please accept my sincere apologies.

Connections: Global maximum = 120 and per torrent = 40
Listening port: 51967
Upload slots: Global maximum = 12 and per torrent = 3
Half open connection value: 10
Is uTP on or off?: uTP protocol is Enabled and uTP rate limit is Applied
Encryption on or off?: Encryption mode is set to 'Prefer encryption'
IPv6: off
libtorrent version (use Help -> About -> Libraries to identify that):
qBittorrent v3.3.15 (64-bit)
Qt: 5.5.1
Libtorrent: 1.0.11.0
Boost: 1.58.0
Connection status? (the icon on the status bar will tell you): It's on when in use.
DHT node count (on the status bar): 382 - 385 nodes
Are you using a proxy or a VPN?: VPN (PIA)

Profile:
Q: Do you seed more than download? or vice versa?
A: I seed torrent for 12+ hours and/or until torrent ratio reaches 1.10
Q: How many tasks do you expect to run on average?
A: Between two (2) and twelve (12)
Q: Are there other users on the LAN?
A: No

No specific 'loaded task' encountered or experienced.

I changed the setting as per your suggestions and hope they meet your approval; The current summarized settings are as follows:

Connection Limits:-
Global maximum number of connections: 120
Maximum number of connections per torrent: 40
Global maximum number of upload slots: 12
Maximum number of uploaded slots per torrent: 3

Global Rate Limits:-
Upload: 103
Download: no value entered

Alternative Rate Limits:-
Upload: 10
Download: 10

Rate Limit Settings:-
checked: Enable uTP protocol
checked: Apply rate limit to transport overhead

Privacy:-
checked: Enable DHT, PeX and Local Peer Discovery.

checked: Torrent Queuing
Maximum active downloads: 3
Maximum active uploads: 4
Maximum active torrents: 4
checked: Do not count slow torrents in these limits

Advanced Setting:-
Maximum number of half-open connections: 10

Again, sorry for providing unuseable information; I do appreciate your patience and guidance.
(4 attachments)
Attachments
4 Options - Advanced.png
3 Options - BitTorrent.png
2 Options - Speed.png
1 Options - Connection.png
Switeck

Re: Download Speed Settings/Optimization.

Post by Switeck »

(I'm leaving out the stuff I'm either in agreement on or have no opinion.)[quote="Kay"]According to speedtest.net the average UPLOAD speed is 130.5 kB/s which is based on an average DOWLOAD speed of 1427.7 kB/s (I ran the speed test 4 times).[/quote]The upload is not based on the download at all. The values are incidental...for many "consumer" internet connections download typically is higher than upload but for many commercial and/or fiber lines download and upload are roughly equal. A few people have higher upload than download, usually when they're supposed to have a symmetric connection but for some reason download lags a little behind upload -- bad ISP contention ratio is a likely cause of that.

"My computer is connected via cable/VDLS and VPN to the Internet."

You mean VDSL? (Very-high-bitrate Digital Subscriber Line service)
Because "cable" usually means coaxial cable, which is overwhelmingly DOCSIS based.
ADSL and VDSL typically cannot use standard internet 1500 byte max packet size like DOCSIS cable can. This can cause minor increases in overheads and decreases DL/UL speeds slightly (about 1-3%). The speed test results already reflect the 1-3% reduction, so don't worry about it.

"Please accept my sincere apologies."

No need to apologize -- most people don't supply 1/2 of what you already provided.

"Upload slots: Global maximum = 12 and per torrent = 3"

Depending on the torrents you're on, you might see slightly better performance with per torrent upload slots 5-8. (Slightly more upload slots per torrent when you have 1 really busy torrent and want it to have most of your upload.)
I don't know how much upload speed your connection can sustain while downloading quickly...it might be pretty bad, especially with the VPN which adds encapsulation.

"Are you using a proxy or a VPN?: VPN (PIA)"

Warning: If you're using a VPN or proxy...
index.php/topic,5085.0.html

There's some misconceptions about the value of VPNs for BitTorrent, plus they may fail suddenly. I tried to cover what I could find on the subject at that link.
Kay

Re: Download Speed Settings/Optimization.

Post by Kay »

Torrenting is far more complex than I had anticipated (I am not a 'technical person' which is not to excuse my typographical errors such as misstating status of Internet connection).

My ADSL connection was upgraded very recently to VDSL. The physical connection (modular connector) between wall socket, UPS and router has not changed and is (same as with ADSL) via (old fashioned) telephone copper cable.

I realize now that for finding out the Global Rate Upload Limits the actual upload speed is all what matters and should not have quoted the download speed at all adding unnecessary confusion.

I take note of your advice concerning the number of torrent upload slots and will monitor the torrent download process increased by making adjustments accordingly.

Concerning "Warning: If you're using VPN or proxy..."

All this will take me a while to arrange and integrate in my mind. However, I can confirm that in my Linksys router (AC750, model: X6200) the UpnP Media Server and UPnP function (advanced features) are both disabled.

Thank for responding to my posts and providing very useful advice for optimizing performance(s) of qBittorrent.
Post Reply