-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Low/unstable speeds #8430
Comments
说不定可能也是downsocket限制? |
@1265578519 |
@FranciscoPombal |
@1265578519 Is your speed issue with upload, download, or both? |
@FranciscoPombal Different servers use torrent to copy each other. |
@FranciscoPombal Server cluster no more than 10, so do not consider the P2P connection load. |
@1265578519 If both these suggestions do not work, report back. |
@1265578519 Relevant libtorrent documentation sections:
|
@1265578519 However, there is another issue, that potentially affects a lot of users and may be the cause of many of the "slow/unstable speed" issue: @sledgehammer999 |
I've seen where uTorrent uploading to qBitTorrent using uTP has to have retransmits (which implies packet loss causing that) even when uploading only around 100 KB/sec. Since uTP is used to regulate speed, the retransmits/packet loss cause huge speed decreases. Studies have been done on how badly libtorrent is affected by latency and packet loss: TCP is supposed to not be affected by slow uTP performance when "uTP-TCP mixed mode algorthm" is set to "Prefer TCP" (the default value now), but may be anyway due to bug/s... |
@Seeker2 that setting may have an impact, but in my previous post I was specifically talking about the following: The values in the screenshot are the default ones I believe. I have no idea whether they are appropriate or not, even for my use case. |
It's not a minor impact -- constant packet loss will destroy speeds regardless of uTP/TCP type. So with that said, someone in China/Japan/random other Far East countries trying to download a torrent mostly shared by people in Western Europe is going to see pretty high pingtimes and high jitter at best. Too many chances the data passes through throttling ISPs and stingy/overloaded transit authorities (such as companies controlling underwater cables). This is part of the reason why downloading and uploading with many seeds+peers at once helps -- when 1 is slow, many others can take up the slack. And this is where Buffer watermarks come in... to reduce the effects of high pingtimes and jitter by buffering up some data to be sent as fast conditions allow instead of trickle-feeding the networking at a reduced but fixed rate. The Buffer watermark is probably on a PER connection basis, so this can use lots of ram pretty quick trying to do 1000+ connections at once with 500 KB each. (500+ MB, although at 50% factor may only average about 250+ MB) Try raising the Send buffer low watermark to 50-100 KB, since absolute minimum chunk size for torrents is 16 KB. (10 KB is smaller than that and might cause low-to-high speed oscillations as the buffer empties too far) |
I just want to note that both TCP and uTP consider all packet loss to be caused by congestion. If you have non-congestive packet loss, this (incorrect) assumption can cause sever under-performance. As far as I know, that's mostly a problem with faulty wiring. uTP wouldn't technically have to make this assumption to the same degree that TCP does (since uTP's main congestion detection is one-way delays), but in order to co-exist with TCP, without ever being more aggressive, it also has to throttle back to the same degree as TCP does. |
uTorrent uTP uploading to qBitTorrent seems to cause a lot of non-congestive packet loss, as shown by the 5-25% retransmit rate. From what I can tell/guess, the uTP packet size differences that uTorrent uses when seeding vs what qBT uses when seeding may be a contributing factor. |
Closing this as this was reported on a very old version. If you can still reproduce it with latest version please comment to re-open the thread or create a new thread. |
它只能在内网中获取很好的速度,在外网中,宽带为1Gbps,传输速率只有160KB/S,跨越了国家的BT资源做种上传访问,如何提高send Socket到32768K以便提高外网跨国跨网的上传速度
设置中没找到此设置
如果使用的是ftp,他的速度是大大提高,所以我判定是Socket问题
The text was updated successfully, but these errors were encountered: