NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

cosmos1's avatar
cosmos1
Aspirant
Oct 25, 2012

Anyone interested in compiling rtorrent for Duo V2?

Hello all,

I've been using rtorrent with specific setting on my previous NAS box, a meagre Maxtor Shared Storage II with great results. After obtaining my Readynas duo v2 box and being informed that I can use apt-get to download rtorrent I was more than cheerful! TBH, from transmission, enhanced-ctorrent and rtorrent I consider the last one to be the most balanced in performance as well as usability.

Unfortunately, it seems that the rtorrent (and its prerequisite, libtorrent) packages are compiled without any file preallocate functionality. Specifically, although I have enabled the file preallocation function of rtorrent (system.file_allocate.set = yes in ~/.rtorrent.rc), downloading a single 700Mb torrent took some 300+ extents on the ext4 filesystem... OTOH, the fact that the system.file_allocate.set is understood and rtorrent does not throw any errors about it at start, might indicate another issue.

Bottomline: I (and most likely, the rest of the community here) would be pretty excited if someone could compile (or crosscompile) rtorrent and libtorrent with the preallocate configure option, as discussed in https://wiki.archlinux.org/index.php/RT ... allocation ? Obviously, I would happily serve as a beta tester here!

13 Replies

Replies have been turned off for this discussion
  • By the way, I tried to allocate a 50Mb file using the fallocate command, and failed miserably:

    # fallocate -l 50m test
    fallocate: test: fallocate failed: Operation not supported

    EDIT: Most likely, the fallocate call is supported.
  • Is it possible to provide the output of the configure step? I am interested to find which pragmas (like HAVE_FALLOCATE) are defined.

    BTW, since I am definitely straining you here, is there a howto to compile packages for this platform?
  • Received my ReadyNAS NV+ v2 a week ago. Still in the process of migrating everything over from my old ReadyNAS NV+ and should finish by Friday. I'll be more than happy to jump back on this once I'm done.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More