Last active
January 5, 2021 06:58
-
-
Save anvinjain/b64257419b039b293a4cb5fdb86c139a to your computer and use it in GitHub Desktop.
tuning libtorrent settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local_service_announce_interval -> 30s | |
strict_end_game_mode -> false | |
low_prio_disk -> false | |
smooth_connect -> false | |
tick_interval -> 200 | |
torrent_connect_boost -> 25 | |
request_timeout -> reduce to say 10 | |
peer_timeout -> set to 20 | |
peer_connect_timeout -> 10 | |
inactivity_timeout -> 20 | |
request_queue_time > increase from 3 to say, 50 | |
min_reconnect_time -> set to 10-20 | |
max_out_request_queue > increase to a high number > 1000 | |
max_allowed_in_request_queue > increase to a high number > 1000 | |
connections_limit -> 1000? //max_connec setting in qbt | |
connection_speed -> 200 | |
connections_slack -> 50? | |
send_buffer_low_watermark -> 100 * 1024 | |
send_buffer_watermark -> 1000 * 1024 | |
send_buffer_watermark_factor -> 150 | |
seed_choking_algorithm -> fastest_upload //already set in qbt | |
disk_cache_algorithm -> avoid_readback //already set in libt (default) | |
use_read_cache -> true //already set in libt default | |
unchoke_slots_limit -> 20? //max_uploads setting in qbt | |
suggest_mode -> suggest_read_cache | |
coalesce_reads -> true | |
coalesce_writes -> true | |
max_queued_disk_bytes -> few mbs? | |
cache_size -> 2gb or 4gb //cache_size_mb setting in qbt, so set 2048 or 4096. | |
//cache size is hardcoded to max 4096 (4gb) if set some value. if not set, it defaults to 1/8th of RAM, we don't want that. we want to test predictable behavior in definite cache size | |
cache_buffer_chunk_size -> x (x * 16kb = 4mb?) | |
cache_expiry -> 1hr | |
mixed_mode_algorithm -> prefer tcp by default in qbt | |
refer high_perf_seed settings in libtorrent: | |
file_pool_size | |
use_disk_cache_pool -> true | |
allowed_fast_set_size -> 0 | |
send_socket_buffer_size | |
receive_socket_buffer_size | |
listen_queue_size -> modified in qbt to 100, not kept configurable | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment