crazy-max / docker-rtorrent-rutorrent

rTorrent and ruTorrent Docker image
MIT License
501 stars 111 forks source link

Upgrade to rTorrent v5.3 #377

Closed stickz closed 4 months ago

stickz commented 4 months ago

The full changelog between the last tag can be viewed here. Full Changelog: https://github.com/stickz/rtorrent/compare/v5.1-0.9.8-0.13.8...v5.3-0.9.8-0.13.8

Version 5.3 Release

The --disable-instrumentation configure option for libtorrent now it's works properly. The threads still have instrumentation, so they work properly. All other source code instrumentation is disabled at compile time. This allows the software to perform tasks in the most efficient order and reduces scheduling overhead.

This configure option is an intermediary step. It's highly recommended to use it. In the future, instrumentation will be removed entirely for non-threaded tasks. In the very unlikely event a regression is found, please file an issue report.

What's Changed

Full Changelog: https://github.com/stickz/rtorrent/compare/v5.2-0.9.8-0.13.8...v5.3-0.9.8-0.13.8

Version 5.2 Release

It is highly recommended to upgrade to this release. The fallocate feature works better. A critical software crash is also resolved.

  1. Removes ~1100 lines of unused code from the project.
  2. Removes --with-posix-fallocate libtorrent configure option in favour of automation.
  3. Optimizes the fallocate feature to perform less redundant tasks at runtime.
  4. Fixes a critical software crash with various methods inputted into .rtorrent.rc.

What's Changed

Full Changelog: https://github.com/stickz/rtorrent/compare/v5.1-0.9.8-0.13.8...v5.2-0.9.8-0.13.8

stickz commented 4 months ago

@crazy-max There are some changes to the way the software works. A crash that impacts this docker container is also resolved. It's recommended to tag a new release after merging. There were too many changes from v4.0 to v5.3 hence the v5.1 tag.

  1. The --with-posix-fallocate fallocate configure option is now removed. When configuring and building, the software will automatically enable posix-fallocate if fallocate is not supported. This reduces runtime overhead and simplifies builds.

  2. The --disable-instrumentation feature is now fixed and works properly. The software will perform tasks in the most efficient order and have less scheduling overhead without instrumentation. It's now only used where required for threaded tasks. This instrumentation code will be removed in the future. It's stable and we should use it now.

  3. A software crash impacting this docker container is resolved. There's a setting we inputted into .rtorrent.rc which may cause a crash under limited circumstances. This issue is now fixed from the software standpoint.