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

How to increase the initial download speed or speed up the download ramp speed #7806

Open
pqqsxhy opened this issue Dec 2, 2024 · 1 comment

Comments

@pqqsxhy
Copy link

pqqsxhy commented Dec 2, 2024

I have a libtorrent sharing terminal and a downloading terminal within the LAN. The downloading end directly connects to the sharing end's IP port through handle.connect_peer. The downloading speed download_rate always increases linearly from 0, instead of downloading at a very high speed from the beginning. Is there any parameter setting that can directly set the initial download speed? In short, the fastest download speed can occupy the bandwidth of libtorrent download. The purpose is to download files of about 200 megabytes in the shortest time, rather than waiting for the download speed to gradually increase.

@1265578519
Copy link

你可以提高BT任务发起默认的pending的request数,任务开始后初始下载速度会从512KB/s 提升到100MB/s
注意需要同时修改socket缓存大小 发送与接收
https://www.libtorrent.org/tuning.html#send-buffer-low-watermark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants