Page 3 of 5

Re: Libtorrent 2.0.8 update.

Posted: Sat Dec 23, 2023 8:47 pm
by idiocracy
That's where my cpu is probably a bit dated. It's a 2400G.

Re: Libtorrent 2.0.8 update.

Posted: Sat Dec 23, 2023 8:57 pm
by ambipro
Before I upgraded to a i5-13600k with 64GB ddr5, I was running a i7-2600k and 32GB of DDR3 with a peak of around 6500 torrents. I didn't have any issues there either.

Docker on unRAID though. Not sure it would handle the same on windows, but would doubt on a 2600G it would hiccup if my 12-year-old i7 handled it fine.

Re: Libtorrent 2.0.8 update.

Posted: Sat Dec 23, 2023 9:03 pm
by idiocracy
It's a 2400G, 32gb ram, 5x2TB SSD & 1gbit internet.

What libtorrent settings are you using?
These were mine. Basically it's high performance seed with some changes.

Code: Select all

{
    "file": 1,
    "format": 1
}{
    "apply_on_start": true,
    "settings": {
        "active_checking": 1,
        "active_downloads": 3,
        "active_limit": 2000,
        "active_loaded_limit": 0,
        "active_seeds": 2000,
        "active_tracker_limit": 2000,
        "aio_threads": 2,
        "allow_multiple_connections_per_ip": true,
        "allow_partial_disk_writes": true,
        "allowed_fast_set_size": 0,
        "announce_to_all_tiers": true,
        "announce_to_all_trackers": true,
        "auto_sequential": true,
        "cache_buffer_chunk_size": 128,
        "cache_expiry": 60,
        "cache_size": 65536,
        "cache_size_volatile": 256,
        "checking_mem_usage": 320,
        "close_file_interval": 90,
        "coalesce_reads": true,
        "coalesce_writes": true,
        "connection_speed": 200,
        "connections_limit": 8000,
        "contiguous_recv_buffer": true,
        "disk_io_read_mode": 0,
        "disk_io_write_mode": 0,
        "download_rate_limit": 0,
        "enable_dht": false,
        "enable_incoming_tcp": true,
        "enable_incoming_utp": true,
        "enable_lsd": false,
        "enable_natpmp": false,
        "enable_outgoing_tcp": true,
        "enable_outgoing_utp": true,
        "enable_upnp": false,
        "file_pool_size": 500,
        "guided_read_cache": true,
        "half_open_limit": 50,
        "inactivity_timeout": 20,
        "listen_queue_size": 3000,
        "low_prio_disk": false,
        "max_allowed_in_request_queue": 2000,
        "max_failcount": 1,
        "max_http_recv_buffer_size": 6291456,
        "max_out_request_queue": 1500,
        "max_queued_disk_bytes": 7340032,
        "max_rejects": 10,
        "mixed_mode_algorithm": 0,
        "peer_timeout": 20,
        "piece_extent_affinity": true,
        "predictive_piece_announce": 250,
        "prefer_rc4": true,
        "prefer_udp_trackers": true,
        "read_cache_line_size": 32,
        "recv_socket_buffer_size": 1048576,
        "request_timeout": 10,
        "send_buffer_low_watermark": 1048576,
        "send_buffer_watermark": 3145728,
        "send_buffer_watermark_factor": 150,
        "send_socket_buffer_size": 1048576,
        "suggest_mode": 1,
        "torrent_connect_boost": 60,
        "tracker_backoff": 5,
        "unchoke_slots_limit": 2000,
        "upload_rate_limit": 0,
        "use_disk_cache_pool": false,
        "use_disk_read_ahead": true,
        "use_parole_mode": true,
        "use_read_cache": true,
        "use_write_cache": true,
        "user_agent": "Deluge 2.0.3",
        "volatile_read_cache": false,
        "whole_pieces_threshold": 20,
        "write_cache_line_size": 256
}

Re: Libtorrent 2.0.8 update.

Posted: Sat Dec 23, 2023 9:09 pm
by ambipro
Pretty modified high performance seed....

I would be surprised if its libtorrent related to be honest, but feel free to try them out or ask questions.

Code: Select all

{
    "file": 1,
    "format": 1
}{
    "apply_on_start": true,
    "settings": {
        "active_tracker_limit": 20000,
        "aio_threads": 10,
        "allow_multiple_connections_per_ip": true,
        "allowed_fast_set_size": 5,
        "announce_to_all_tiers": false,
        "announce_to_all_trackers": false,
        "apply_ip_filter_to_trackers": false,
        "broadcast_lsd": false,
        "checking_mem_usage": 2048,
        "choking_algorithm": 0,
        "coalesce_reads": true,
        "coalesce_writes": true,
        "file_pool_size": 2000,
        "listen_queue_size": 3000,
        "low_prio_disk": false,
        "max_failcount": 1,
        "max_out_request_queue": 2250,
        "max_peer_recv_buffer_size": 5242880,
        "max_queued_disk_bytes": 7340032,
        "max_rejects": 10,
        "mixed_mode_algorithm": 0,
        "no_atime_storage": true,
        "peer_timeout": 20,
        "peer_turnover": 0,
        "rate_limit_utp": false,
        "read_cache_line_size": 32,
        "request_timeout": 10,
        "send_buffer_low_watermark": 1048576,
        "send_buffer_watermark": 3145728,
        "send_buffer_watermark_factor": 150,
        "send_not_sent_low_watermark": 524288,
        "suggest_mode": 1,
        "support_share_mode": true,
        "tracker_receive_timeout": 20,
        "unchoke_slots_limit": -1,
        "use_read_cache": true,
        "use_write_cache": false,
        "validate_https_trackers": false,
        "write_cache_line_size": 256
    }
}

Re: Libtorrent 2.0.8 update.

Posted: Sat Dec 23, 2023 9:10 pm
by ambipro
If you have SSD's your aio threads should be close to or greater than mine. 10-12 is a good starting point for good SSDs. You're probably queuing a lot of IO operations. That could actually have an effect.

Re: Libtorrent 2.0.8 update.

Posted: Sat Dec 23, 2023 9:11 pm
by ambipro
Also I have 1gbit fiber, and 2.5gbit networking, and frequently see near or slightly above 120MB/s

Re: Libtorrent 2.0.8 update.

Posted: Sat Dec 23, 2023 9:36 pm
by idiocracy
When you say "deluge config folder" what exactly do you mean, i've looked in %appdata% and install directory and i can't see a dedicated config folder.

Re: Libtorrent 2.0.8 update.

Posted: Sat Dec 23, 2023 9:38 pm
by ambipro
%APPDATA% \Roaming\ - there's a folder named deluge

Re: Libtorrent 2.0.8 update.

Posted: Sat Dec 23, 2023 9:42 pm
by idiocracy
Oh now i get it. I thought you meant a folder named "config"

Re: Libtorrent 2.0.8 update.

Posted: Sat Dec 23, 2023 9:46 pm
by idiocracy
So the only thing i need to save from there, is stuff like "state & plugin" folder, conf files for ltconfig, autoadd & labels.
session.state, is that the file that loads the torrents from the state folder?

Are there deluge specific settings that you'd recommend changing, settings that can't be set through ltconfig?
The only two things i changed, was incoming port and enable tray icon, minimize to tray.