Libtorrent 1.0.4 compiled - for those with speed issues

Specific support for Deluge on Microsoft Windows OS
JayMan
Member
Member
Posts: 28
Joined: Wed Apr 08, 2015 5:42 am

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Post by JayMan »

Had to go back to 1.0.5 until I can reformat this box to windows 7
Shryp
Moderator
Moderator
Posts: 521
Joined: Mon Apr 20, 2015 10:20 pm

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Post by Shryp »

Hmm, I didn't do much different in how they were compiled. 1.0.6 needed a file lib declaration thing added to the top of one of the source files to compile though.
JayMan
Member
Member
Posts: 28
Joined: Wed Apr 08, 2015 5:42 am

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Post by JayMan »

Brand new install of windows 7 x64, Deluge, Plex and Sonarr installed and in the first hour 3 times it happens.

Problem signature:
Problem Event Name: APPCRASH
Application Name: deluge.exe
Application Version: 0.0.0.0
Application Timestamp: 530bd002
Fault Module Name: libglib-2.0-0.dll
Fault Module Version: 2.28.8.0
Fault Module Timestamp: 4e253544
Exception Code: 40000015
Exception Offset: 0004c2d8
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 99c6
Additional Information 2: 99c6f2af44053632b97f73d0c6ce7702
Additional Information 3: 609e
Additional Information 4: 609e343d2667afe0919ff4e07d2a7b38
JayMan
Member
Member
Posts: 28
Joined: Wed Apr 08, 2015 5:42 am

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Post by JayMan »

Well I am not the only one who has seen this.

http://dev.deluge-torrent.org/ticket/2444
Shryp
Moderator
Moderator
Posts: 521
Joined: Mon Apr 20, 2015 10:20 pm

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Post by Shryp »

Maybe try unchecking the classic mode option in the preferences, That will separate the GUI from the daemon so you will know which is crashing. I have had the GUI crash a couple times on me, but not the daemon.

http://forum.deluge-torrent.org/viewtop ... 12&t=52163
JayMan
Member
Member
Posts: 28
Joined: Wed Apr 08, 2015 5:42 am

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Post by JayMan »

I"ve found references to RDP use and AMD 250 X2 CPU's so i went and updated my CPU and Mobo today ( was planning to this just gave me a reason to do it) lets see what happens now.
Shryp
Moderator
Moderator
Posts: 521
Joined: Mon Apr 20, 2015 10:20 pm

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Post by Shryp »

Someone might have finally came up with an answer as to why some of these builds work for some people and some don't.

The thread:
http://forum.deluge-torrent.org/viewtop ... =7&t=52469

And his quote:
doadin wrote:that error usually come in when you dont have the MSVC runtime installed that libtorrent was built from. Before i think cas built libtorrent with msvc9 which win7 comes with support for but i think he changed to, MSVCR120.dll = Visual C++ 2013, which you can see here https://github.com/deluge-torrent/delug ... dadd2f87c9 . try installing Visual C++ Redistributable Packages for Visual Studio 2013 herehttp://www.microsoft.com/en-US/download ... x?id=40784

edit: i see you linked my github. the latest build(9-5-15) from me was build with the runtime built in so no extra install should be needed if you use mine. this goes for future builds as well but only the latest one was built this way the other need msvc9 which is Visual Studio 2008.
infoextreme
Member
Member
Posts: 15
Joined: Mon Jan 19, 2015 2:30 pm

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Post by infoextreme »

libtorrent-1.0.7

1.0.7 release

* fix bug where loading settings via load_state() would not trigger all
appropriate actions
* fix bug where 32 bit builds could use more disk cache than the virtual
address space (when set to automatic)
* fix support for torrents with > 500'000 pieces
* fix ip filter bug when banning peers
* fix IPv6 IP address resolution in URLs
* introduce run-time check for torrent info-sections beeing too large
* fix web seed bug when using proxy and proxy-peer-connections=false
* fix bug in magnet link parser
* introduce add_torrent_params flags to merge web seeds with resume data
(similar to trackers)
* fix bug where dont_count_slow_torrents could not be disabled
* fix fallocate hack on linux (fixes corruption on some architectures)
* fix auto-manage bug with announce to tracker/lsd/dht limits
* improve DHT routing table to not create an unbalanced tree
* fix bug in uTP that would cause any connection taking more than one second
to connect be timed out (introduced in the vulnerability path)
* fixed falling back to sending UDP packets direct when socks proxy fails
* fixed total_wanted bug (when setting file priorities in add_torrent_params)
* fix python3 compatibility with sha1_hash

https://github.com/arvidn/libtorrent/re ... rent-1_0_7
harrycrumb
New User
New User
Posts: 3
Joined: Mon Nov 23, 2015 10:57 am

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Post by harrycrumb »

Is it possible for a nOOb user to update the latest Deluge to libtorrent 1.0.7? I tried downloading and exchanging only the libtorrent.pyd file in Deluge's folder but nope - it doesn't seem to load.
highvoltage
Leecher
Leecher
Posts: 57
Joined: Mon Apr 11, 2016 11:11 pm
Location: Brazil

Re: Libtorrent 1.0.4 compiled - for those with speed issues

Post by highvoltage »

libtorrent-1.1.0
@arvidn arvidn released this 23 hours ago · 3 commits to RC_1_1 since this release

1.1.0 release

improve robustness and performance of uTP PMTU discovery
fix duplicate ACK issue in uTP
support filtering which parts of session state are loaded by load_state()
deprecate support for adding torrents by HTTP URL
allow specifying which tracker to scrape in scrape_tracker
tracker response alerts from user initiated announces/scrapes are now posted regardless of alert mask
improve DHT performance when changing external IP (primarily affects bootstrapping).
add feature to stop torrents immediately after checking files is done
make all non-auto managed torrents exempt from queuing logic, including checking torrents.
add option to not proxy tracker connections through proxy
removed sparse-regions feature
support using 0 disk threads (to perform disk I/O in network thread)
removed deprecated handle_alert template
enable logging build config by default (but alert mask disabled by default)
deprecated RSS API
experimental support for BEP 38, "mutable torrents"
replaced lazy_bdecode with a new bdecoder that's a lot more efficient
deprecate time functions, expose typedefs of boost::chrono in the libtorrent namespace instead
deprecate file_base feature in file_storage/torrent_info
improve piece picker support for reverse picking (used for snubbed peers) to not cause priority inversion for regular peers
improve piece picker to better support torrents with very large pieces and web seeds. (request large contiguous ranges, but not necessarily a whole piece).
deprecated session_status and session::status() in favor of performance counters.
improve support for HTTP where one direction of the socket is shut down.
remove internal fields from web_seed_entry
separate crypto library configuration and whether to support bittorrent protocol encryption
simplify bittorrent protocol encryption by just using internal RC4 implementation.
optimize copying torrent_info and file_storage objects
cancel non-critical DNS lookups when shutting down, to cut down on shutdown delay.
greatly simplify the debug logging infrastructure. logs are now delivered as alerts, and log level is controlled by the alert mask.
removed auto_expand_choker. use rate_based_choker instead
optimize UDP tracker packet handling
support SSL over uTP connections
support web seeds that resolve to multiple IPs
added auto-sequential feature. download well-seeded torrents in-order
removed built-in GeoIP support (this functionality is orthogonal to libtorrent)
deprecate proxy settings in favor of regular settings
deprecate separate settings for peer protocol encryption
support specifying listen interfaces and outgoing interfaces as device names (eth0, en2, tun0 etc.)
support for using purgrable memory as disk cache on Mac OS.
be more aggressive in corking sockets, to coalesce messages into larger packets.
pre-emptively unchoke peers to save one round-trip at connection start-up.
add session constructor overload that takes a settings_pack
torrent_info is no longer an intrusive_ptr type. It is held by shared_ptr. This is a non-backwards compatible change
move listen interface and port to the settings
move use_interfaces() to be a setting
extend storage interface to allow deferred flushing and flush the part-file metadata periodically
make statistics propagate instantly rather than on the second tick
support for partfiles, where partial pieces belonging to skipped files are put
support using multiple threads for socket operations (especially useful for high performance SSL connections)
allow setting rate limits for arbitrary peer groups. Generalizes per-torrent rate limits, and local peer limits
improved disk cache complexity O(1) instead of O(log(n))
add feature to allow storing disk cache blocks in an mmapped file (presumably on an SSD)
optimize peer connection distribution logic across torrents to scale better with many torrents
replaced std::map with boost::unordered_map for torrent list, to scale better with many torrents
optimized piece picker
optimized disk cache
optimized .torrent file parsing
optimized initialization of storage when adding a torrent
added support for adding torrents asynchronously (for improved startup performance)
added support for asynchronous disk I/O
almost completely changed the storage interface (for custom storage)
added support for hashing pieces in multiple threads

fix division by zero in super-seeding logic
Post Reply