Settings for 1Gbps seedbox?

jith45

Member
May 25, 2018
960
0
16
max open files are very high, also the max peers.
my box with gbit have
Code:
max open files: 128
mix peers: 20
max peers: 60
min peers dl: 10
max peers dl: 70
wished numbers of peers? don't know, also the min peers are for me unexplainable values.

to much peers + open files should decrease u'r speeds. but it depends on many variables...
 

saroos1

Member
May 25, 2018
718
0
16
max open files are very high, also the max peers.
my box with gbit have
Code:
max open files: 128
mix peers: 20
max peers: 60
min peers dl: 10
max peers dl: 70
wished numbers of peers? don't know, also the min peers are for me unexplainable values.

to much peers + open files should decrease u'r speeds. but it depends on many variables...​


I believe "min peers" refers to the minimum peers to keep even when not meeting minimum requirements.

Every torrent applications, and that includes rtorrent, will drop peers while downloading and while seeding (after 100% completion) based on some rules like:

_peer needs to provide a minimum of 2KB/sec upload speed. If less --> drop it (so free up a download slot for better seeders)
_peer needs to have a minimum of 2KB/sec download speed. If less --> drop it (so free up an upload slot for better leechers)
_peer not sending/receiving data for a certain time = timeout = bad handshake = drop it, free up a slot.

etc..etc..

But if there weren't any "minimum" peer to keep, you would end up with 0 peer or nearly 0. So here comes the "min peer" rule.

Someone correct me if i'm wrong.

EDIT: on my 1GB/s server I have:

Code :

# Maximum and minimum number of peers to connect to per torrent.
min_peers = 20
max_peers = 100

# Same as above but for seeding completed torrents (-1 = same as downloading)
min_peers_seed = 20
max_peers_seed = 100

# Maximum number of simultanious uploads per torrent.
max_uploads = 30

# Number of sockets to simultaneously keep open.
#max_open_sockets = <no default>

network.http.max_open.set = 256

max_memory_usage = 14336M (I have 16GB of ram)

pieces.preload.type.set = 1
pieces.preload.min_size.set = 262144
pieces.preload.min_rate.set = 5120
network.send_buffer.size.set = 16M
network.receive_buffer.size.set = 32M

pieces.sync.always_safe.set = no
pieces.sync.timeout.set = 600
pieces.sync.timeout_safe.set = 900


I'm still trying to find the best settings... it's endless really.