From 387fabb04a181af76db8a5280e3295358cf3c595 Mon Sep 17 00:00:00 2001 From: weaselBuddha Date: Fri, 30 Aug 2019 07:01:26 -0400 Subject: [PATCH] Updated Performance Tuning (markdown) --- Performance-Tuning.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Performance-Tuning.md b/Performance-Tuning.md index 0bc3017..4f210e6 100644 --- a/Performance-Tuning.md +++ b/Performance-Tuning.md @@ -268,6 +268,9 @@ net.ipv4.tcp_fin_timeout = 30 In addition to the above, it's strongly advised to use DNS caching either locally or for your whole network (e.g. on a OpenWRT powered router). [Here](https://help.ubuntu.com/community/Dnsmasq#Local_DNS_Cache) you can find instructions how to set it up on Ubuntu. +### Resources under Systemd + +When tuning for large footprint installs, a large numbers for settings like slots, maximum file identifiers, and maximum sockets may cause issues (unexpected pausing and queuing of torrents) when using systemd. This is the case even when system wide limits (ulimit) have been changed to account for the added resource usage. Systemd has implicit resource limits (4096) which don't obviously state their override of ulimit values. You will need to add LimitNOFILE=xxxx to either the rtorrent systemd definition or to /etc/systemd/system.conf to address this. ## References - [libtorrent manual](http://www.libtorrent.org/tuning.html) (NB: This is not the rakshasa libtorrent, but still contains useful information)