What exactly does enable-lightweight do?

Discussion of Transmission that doesn't fit in the other categories
Post Reply
moonman
Posts: 10
Joined: Sat May 28, 2011 9:39 am

What exactly does enable-lightweight do?

Post by moonman »

Hello everybody,

I am wondering what exactly enable lightweight does. Would I benefit from using it on a Pogoplug with armv5 1.2GHz CPU and 256 RAM with plugapps(archlinux for arm, no uclibc here). Would it make downloads/uploads faster or slower, increase/decrease disk I/O (ext4)? That device isn't really a slow mips(el) router with 32mb of ram, but it also isn't a core 2 duo with >1GB ram, so I am kind of confused.
lazybones
Posts: 220
Joined: Sun Jan 24, 2010 12:41 am

Re: What exactly does enable-lightweight do?

Post by lazybones »

I was wondering the same, I run transmission on a nas with very little ram... I did not see any update on what this exactly does in the wiki or release notes.
moonman
Posts: 10
Joined: Sat May 28, 2011 9:39 am

Re: What exactly does enable-lightweight do?

Post by moonman »

Well, it looks like it reduces cache size from 4 to 2, does something to encription (I don't really understand what though, at least from the trac changeset), and disables disk prefetch. I can see it being useful, but not for the 1.2 GHz arm with 256 ram.
Thanks
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: What exactly does enable-lightweight do?

Post by Jordan »

Encryption is one of the more CPU-intensive parts of bittorrent, so in enable-lightweight, the default preference is for unencrypted connections. This is just a changed default -- it can still be overridden by the user and/or by peers that insist on encryption.
Post Reply