Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rTorrent: Network configuration suggestion #1016

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions scripts/install/rtorrent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,21 @@ throttle.global_down.max_rate.set = 0
throttle.global_up.max_rate.set = 0
throttle.max_peers.normal.set = 100
throttle.max_peers.seed.set = -1
throttle.max_uploads.set = 50
throttle.max_uploads.global.set = 100
throttle.min_peers.normal.set = 1
throttle.min_peers.seed.set = -1
trackers.use_udp.set = yes

# Disabled by default becuase these will override Linux Kernel settings
# Suggested to configure on a per application basis to improve throughput
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove 43-46 and link to documentation instead.

Also this is not my suggestion nor the opinion of other maintainers as many users have server oriented kernel configs installed during their setup.

I would allow wording closer to "you may wish to configure..." In the docs article that will be linked to, so as to not potentially confuse users into thinking they blindingly need to apply configs they may not understand but could potentially override other pre-configured defaults as shipped by their provider.

#
# 4MB per TCP socket is the most ideal setting to balance memory consumption
# 100 upload slots will consume 400MB of memory and stabilize gigabit upload speeds
#
#network.send_buffer.size.set = 4M
#network.receive_buffer.size.set = 4M

execute = {sh,-c,/usr/bin/php /srv/rutorrent/php/initplugins.php ${user} &}

# -- END HERE --
Expand Down