Tuesday 30 October 2012

The less the better [or wine with torrent]

Nowadays a lot of compact devices (like media players or TVs) have Torrent client on board, why should anyone bother about the exotic way of running it? Well, in my case the main reason was that I was migrating uTorrent from my laptop to standalone server to allow 24h non-stop feeding. So, let's put everything in one bottle:
  • It was important for me to have less fuzz with migration of about 100 torrents from my laptop. Perhaps that would also be possible for uTorrent for Linux, but I also get used to UI interface & settings.
  • Running uTorrent on server gives me the possibility for non-stop feeding and downloading on demand.
  • Running uTorrent on Linux also have a potential bonus of configuring QoS in case torrent traffic gets annoying. Yes I know about build-in bandwidth settings, however the typical task is usually "I want uTorrent to consume all bandwidth unless there is something else hungry for it". In this case all traffic for internal network should go via server that unfortunately, adds one more point of failure in the chain.
Technically all above can be solved with following setup:
  • We will run Xtightvnc server on Linux. It acts as X-Server and uTorrent will display it's UI on this server. Bonus is that Tightvnc has clients both for Linux and Windows, which will allow you to connect to under from any (popular) platform.
  • We will run uTorrent with wine. Certain versions (like v1.8.5) do not start under wine on some reason, so you'd better double check here that certain version was tested under wine or use /noinstall command line option. Keep uTorrent window on separate workspace & collapsed. Also disable "Show current speed in title bar" to reduce number of UI update events.
  • Hint: When launching  uTorrent also pass the /minimized option. Otherwise it will consume 5% of CPU just to render constantly changing statistics (Tightvnc needs also to response to any UI update even if no client is connected). When minimized it will be 1-2%.
What uTorrent client to choose? Well, I personally have stopped on v1.8.5, because:
  • I do not need magnet URLs or life streaming features in v3.x. The last one is by the way in most cases failing for me (perhaps always fails for MKV container, is it not so suitable for partial playing).
  • The sad trend shows the sad statistics: uTorrent executable size was slowly increasing by 100Kb in 2007-2011 (from 100K to 500K), but in 2011-2012 it doubled in size (from 500K to 1M). Perhaps it's still the smallest torrent client, but with every new release I doubt more and more.

No comments:

Post a Comment