--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1466>
Deluge <http://deluge-torrent.org/>
Deluge project
* cc: cameron@… (added)
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1466#comment:1>
* component: libtorrent => core
* milestone: Future => 1.4.0
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1466#comment:2>
Comment(by joshbeck):
I've made a patch off of the latest git master that solves this problem
automatically. Whenever there's a performance_alert, it doubles the size
of the send buffer. It works well for me. I was able to get up to 900KB/s
with it, and the performance_alerts stopped after the buffer grew to
1.6MB.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1466#comment:3>
* type: feature-request => patch
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1466#comment:4>
Comment(by non7top):
This patch still applies cleanly to git master. Please commit.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1466#comment:5>
* cc: non7top@… (added)
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1466#comment:6>
Comment(by andar):
I think this patch should look for the specific alert string "send buffer
watermark too low" and only then increase the watermark. The reasoning is
that there could be other performance alerts that aren't related to the
send buffer watermark.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1466#comment:7>
* cc: ancient@… (added)
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1466#comment:8>
Comment(by tyeken8):
This patch is based on joshbeck ones.
Fix typos of that one.[[BR]]
Double the buffer only if the performance warning is about that.[[BR]]
Change cap to 50MB, since it seems the send buffer watermark should be
roughly your max upload per second. So 5MB is insufficient for a Gigabit
Ethernet.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1466#comment:9>
* milestone: 1.4.0 => 1.3.6
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1466#comment:10>
Comment (by amain):
Patch applies also nicely (some offsets) to 1.3.3. Flooding is stopped and
send buffer change is logged:
{{{
[DEBUG ] 11:47:51 torrentmanager:1099 performance_alert: ...:
performance warning: send buffer watermark too low (upload rate will
suffer)
[DEBUG ] 11:47:51 torrentmanager:1107 send_buffer_watermark set to
204800..
[DEBUG ] 11:47:51 torrentmanager:1099 performance_alert: ...:
performance warning: send buffer watermark too low (upload rate will
suffer)
[DEBUG ] 11:47:51 torrentmanager:1107 send_buffer_watermark set to
409600..
}}}
Thanks!
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1466#comment:10>
* status: new => assigned
* owner: => Cas
Comment:
I have pushed a fix to develop: [ce6abe024758] (It is limited to 3MiB but
if a larger size is required the libtorrent plugin in the forum can be
used to alter `send_buffer_watermark`)
I have been unable to test it with an actual performance alert from
libtorrent so needs someone to verify it works correctly.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1466#comment:11>
* status: assigned => closed
* resolution: => Fixed
Comment:
Finally got an alert to test this and looks to be good.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1466#comment:12>
Comment (by keretamalam):
I am about to leave and cannot look into this further right now, but I do
want to mention that relying on pkg-config itself is not a problem (as you
said, we also use it later), the problem is that on some systems, the .pc
file for pkg-config is supplying wrong information (whereas on yours, it's
botan-config that is wrong), so that's why I'm trying to make it work with
both (while one of them is bad).
[http://maskodoq.blogspot.com/2014/03/unit-link-terbaik-di-indonesia.html
Unit Link Terbaik di Indonesia Commonwealth Life Investra Link]
[http://maskodoq.blogspot.com/2013/07/CiptoJunaedy.html Cipto Junaedy]
[http://etnisjawa.blogspot.com/2013/08/apakah-cipto-junaedy-bohong.html
Cipto Junaedy]
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1466#comment:13>