OpenWrt Forum Archive

Topic: bittorrent client on wgt634u?

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

these new routers with usb-port for mass-storage-devices would be extremly cool if there was a bittorrent client for openwrt...

Would it run on the 634u?

I guess 200MHz would be enough.... but could bittorrent be compiled wihout big modifications of the code?

Regards,
codiermaschine

all bittorrent clients want gobs of memory. so i don't think this is likely.

does "gob" mean "a lot"? The 634u got 32Megs RAM... not enough?

hundreds of megs, especially for large torrents.

How about using a swap file...

It's working fine now with the new swap tools...

be prepared to spend most of your time swapping.

well, who cares about if the router spends most of its time swapping? It runs 24/7 and is idle most of the time....

if you spend most of your time swapping, your torrent downloading performance will suffer as your swapping i/o will fight with your torrent i/o.

buy hey, go ahead and do what you want.

if you used ctorrent, you'd probably be able to pull it off
http://ctorrent.sourceforge.net

(Last edited by neeko on 8 Dec 2005, 12:40)

bani wrote:

buy hey, go ahead and do what you want.

yeah, sure. I always do wink

But it wasn't my intention to be rude if you meant that.

there's some really really really fast flash sticks out there, on the order of sustained 25 MB/s .  i've someone managed to avoid programming flash, so I dont know for sure, but I'd wager that whatever column/row addressing scheme is inherent to flash, its nothing compared to the 9ms access time on a hard disk.  In other words, it'd probably make a pimp-fly swap drive.

I use utorernt on my windows machine, I'm doing three 6GB files... 7620k VM size, 4mb in ram.  Thats windows tho.  I never checked the resource usage, but rtorrent which i used to use "felt" very lightweight and allowed much smoother operation on my 256mb ram laptop.

ctorrent already exists for OpenWrt (http://tracker.openwrt.org/packages/show.php?id=1235).

Combined with a swapfile it performs quite well on my ASUS WL-500G Deluxe, giving me nice download speeds, and dosnt kill the CPU nor general routing performance on my router.

Since the last official ctorrent release is already a little old, I compiled a package of the "Enhanced CTorrent" that can be found here: http://www.rahul.net/dholmes/ctorrent/
Besides to some improvements it also fixes the Peer ID problem, which in the past nearly locked ctorrent users out.

The Packages can be found here: http://www.stud.uni-karlsruhe.de/~uz95/openwrt/

BTW, it runs just fine on my Asus WL500gx, without swaping.

have fun,
seti

(Last edited by seti on 17 Jan 2006, 15:14)

I'm not sure what all the complaining regarding lack of memory affecting ctorrent on wgt is from on this thread. 

Ctorrent rocks on the wgt!  And is blazing fast!  Just use swapfile.

Thanks to florian for providing new compile on his alphacore repo.  The rahul link doesn't work anymore, and the latest ctorrent packages weren't working properly due to bug in uclibc++ so he recompiled with static libc++ compiled in.

The discussion might have continued from here.