Author Topic: Difference between upload slot and connections?  (Read 3843 times)

dumbao

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Difference between upload slot and connections?
« on: June 05, 2018, 05:15:21 PM »
Hello all. I am new to the world of torrent and i am confused with the connection limit settings.

I would like to know what is the difference between upload slot and connection.

With reference to uploading/seeding,
Maximum number of connections per torrent means maximum number of peers who can connect to me when i seed, isn't it?
Then what does Maximum number of upload slots per torrent mean?

Thanks.

Switeck

  • Forum addict
  • ****
  • Posts: 1520
  • Karma: +96/-0
    • View Profile
Re: Difference between upload slot and connections?
« Reply #1 on: June 06, 2018, 04:47:40 PM »
Max connections per torrent is the max number of peers that can be connected at once on a single torrent even when there's more peers trying to connect.

Max number of upload slots per torrent is how may of the connected peers qBitTorrent tries to upload to at once (the rest are effectively queued OR ignored completely).
Basically, how thinly you are spreading your upload speed around.

If you have 100 KB/sec upload speed max and allow 100 connections per torrent AND have upload slots per torrent also set to 100 (or don't have a limit on upload slots globally or per torrent), then qBitTorrent will try to upload to every connected peer on a torrent. Average upload speed per peer will be maybe 1 KB/sec at best ...and if you're downloading that torrent many of those peers will SNUB (ignore) your peer and not upload back.

Peers upload almost entirely to the OTHER peers that give them the most back, up to the limit of the number of upload slots they allow. They try to automatically reward the "givers" and ignore the "takers". Most BitTorrent clients limit upload slots per torrent to only 4. For really fast internet connections, you want to be one of their 4 upload slots! But that means you have to upload slightly more to them than almost all other peers. This can be as little as 10 KB/sec to them on public torrents with lots of ADSL-using peers. If you have only 100 KB/sec upload speed max, then 10 KB/sec is 1/10th of that ...so upload slots should be 10 at most spread between all your torrents. So probably BOTH the global upload slot limit as well as the per torrent upload slots should be no greater than 10.

dumbao

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Difference between upload slot and connections?
« Reply #2 on: June 07, 2018, 05:08:03 PM »
Thank you Switeck for the awesome detailed explanation.

Is there any use of having both fields? If i set 'Maximum number of connections per torrent' to 20 and Maximum number of upload slots per torrent to 10 then i will seed to only 10 peers and rest 10 trying to connect to me will be ignored.

Switeck

  • Forum addict
  • ****
  • Posts: 1520
  • Karma: +96/-0
    • View Profile
Re: Difference between upload slot and connections?
« Reply #3 on: June 08, 2018, 05:59:14 PM »
Not quite -- qBitTorrent will cycle around slightly so of the 20 connected peers the 10 upload slots may manage to reach ~15 of them over an hour interval.
The fastest peers will tend to stay upload slots, but the slower ones will only get upload from your seed (or peer) part of the time.

dumbao

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Difference between upload slot and connections?
« Reply #4 on: June 09, 2018, 11:27:53 AM »
Oh yes! I've seen it happen. My Maximum number of upload slots per torrent is 6 but overtime i get connected to 8 peers.

I use qBittorrent for seeding at a private tracker. My up speed is 100Mbps and my settings are:

Global maximum number of connections: 100
Maximum number of connections per torrent: 20
Global maximum number of upload slots: 15
Maximum number of upload slots per torrent: 6

Switeck, are these settings optimal for my up speed? Kindly suggest if any changes need to be done.

Switeck

  • Forum addict
  • ****
  • Posts: 1520
  • Karma: +96/-0
    • View Profile
Re: Difference between upload slot and connections?
« Reply #5 on: June 09, 2018, 08:13:58 PM »
"My up speed is 100Mbps"

So you can sustain an upload speed of 10,000 to 12,000 KiloBYTES/second in qBitTorrent?

Adsixnine

  • Member
  • **
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Re: Difference between upload slot and connections?
« Reply #6 on: June 11, 2018, 06:59:50 AM »
thank for the info.  :D

dumbao

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Difference between upload slot and connections?
« Reply #7 on: June 11, 2018, 12:35:38 PM »
not sure about sustaining but i do seed up to 6MBps from what i noticed. it depends on peers download speed, isn't it?

Switeck

  • Forum addict
  • ****
  • Posts: 1520
  • Karma: +96/-0
    • View Profile
Re: Difference between upload slot and connections?
« Reply #8 on: June 11, 2018, 08:54:14 PM »
Yes, but to reach ~6,000 KB/sec (~6MBps) would require 15 peers downloading that fast in total...since that's all the global upload slots you allowed

If you want to reach a higher upload speed, you might want to allow 60 or more global upload slots. (60 would mean each could get 100 KB/sec for 6,000 KB/sec total upload)
You also may want to increase the number of upload slots per torrent, maybe to 50-80% (10-16) of the connections max per torrent.

dumbao

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Difference between upload slot and connections?
« Reply #9 on: June 12, 2018, 08:39:54 AM »
It's a private tracker and i barely connect to say 6-8 peer in 24 hours and by that time i am finished seeding and then there are more seeders in the swarm. Hence i have kept Global to 15 and per torrent 6. Overall upload speed gets up to 6000 KB/s if there is a peer who got a good download speed. I always connect to few particular peers who download from me at 2-3MB/s, maybe they got a seedbox?

With 6 peers each peer gets equal distribution of my upload speed or it can vary? Of the 100Mbps each of 6 will get 16Mbps or it can got beyond?


Switeck

  • Forum addict
  • ****
  • Posts: 1520
  • Karma: +96/-0
    • View Profile
Re: Difference between upload slot and connections?
« Reply #10 on: June 12, 2018, 09:52:29 AM »
They can be flooded out by the other seeds uploading to them, so even if they're on fast lines you may be unable to upload to them at 2-3 MB/sec.
Your upload can only be spread equally between 6 peers if they are not overloaded.

So it's due to the private tracker's conditions that are causing your below max and variable upload speeds.

dumbao

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Difference between upload slot and connections?
« Reply #11 on: June 14, 2018, 09:33:34 AM »
Thank you for the explanations.  :)

nickhudson

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Difference between upload slot and connections?
« Reply #12 on: June 20, 2018, 01:45:54 PM »
Oh, now I understand the difference. Thanks!  :)

Switeck

  • Forum addict
  • ****
  • Posts: 1520
  • Karma: +96/-0
    • View Profile
Re: Difference between upload slot and connections?
« Reply #13 on: June 20, 2018, 07:50:52 PM »
Currently, due to limitations+bugs the "fastest" or at least most stable DL+UL speeds can be had using qBitTorrent v3.3.16 instead of v4.0.0-4.1.1
I expect that will change before the end of the year as bugs get fixed.

dumbao

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Difference between upload slot and connections?
« Reply #14 on: July 27, 2018, 05:10:11 PM »
So today i got connected to 6 peers for my torrent upload at the private tracker. Out which one was downloading at 5MB/s and other at 3MB/s and cumulative download speed for the rest 4 was 2MB. My up speed was constant at 10MB/s and sometime with bursts, upto 11MB/s.

If this is something to do with some setting on the tracker site then it's fine but if not then, Switeck, can pass on the suggestion to the developers for next upgrade regarding upload speed equally divided between the number of upload slots per torrent because it does not work.

Thanks.