View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 14 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: TorrentFlux
PostPosted: Fri Nov 02, 2007 8:21 am 
Offline
Joined: Thu Sep 30, 2004 12:26 pm
Posts: 468
Location: Canada
Thanks to the great script by chrisj (http://www.mysettopbox.tv/phpBB2/viewtopic.php?t=14399) I was easily able to install and setup torrentflux on my myth box, it's working but it's SLOOOOOOW.

Code:
Current Download:     11.50 kB/s
Current Upload:    13.50 kB/s
Free Space:    111.58 GB
Server Load:    1.21


The box is behind a router...do I need to forward more ports or something? Why is it this slow?

Thanks,
-C

_________________
"The amount of time needed to solve a problem is inversely proportionate to the complexity of the solution" -- Me

KM: R5.5
CPU: Athlon 3800+
Vid: nvidia 7300GT
Snd: Chaintech av-710
Tuner: PVR150
HD: 1000gb sata + 750gb sata + 500gb usb


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 02, 2007 8:43 am 
Offline
Joined: Sat Feb 11, 2006 5:26 pm
Posts: 282
Location: Winnipeg - Canada
How many seeders/leechers on the torrent you posted stats for? If you fire up the same torrent on another box that has an already configured torrent client (and the proper ports forwarded, etc) what kind of speeds do you see?

_________________
Currently Running:
Too lazy to update this with my current hardware, I'll redo it during my next install =)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 05, 2007 10:15 pm 
Offline
Joined: Thu Sep 30, 2004 12:26 pm
Posts: 468
Location: Canada
About 1000 seeders, using the btdownloadcurses on the command line it runs faster, granted, it's only ~20K/s but that's faster than the ~5 I get in flux.

_________________
"The amount of time needed to solve a problem is inversely proportionate to the complexity of the solution" -- Me

KM: R5.5
CPU: Athlon 3800+
Vid: nvidia 7300GT
Snd: Chaintech av-710
Tuner: PVR150
HD: 1000gb sata + 750gb sata + 500gb usb


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 06, 2007 10:21 am 
Offline
Joined: Sat Feb 11, 2006 5:26 pm
Posts: 282
Location: Winnipeg - Canada
I don't have torrentflux installed anywhere at the moment, but earlier in the year I was running it and didn't have any trouble gettings speeds up in the 200-300k/sec range. Aside from double checking to make sure your ports are forwarded properly, I don't really know what else to suggest.

_________________
Currently Running:
Too lazy to update this with my current hardware, I'll redo it during my next install =)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 06, 2007 11:50 am 
Offline
Joined: Thu Sep 30, 2004 12:26 pm
Posts: 468
Location: Canada
I've been doing research, it appears torrentflux runs on ports 49160-49300 (not 6881-6999)...this machine is behind my router, a dlink DI-524,

Under "Applications" I added two triggers (TCP):
Code:
Trigger   Public
6881      6881-6999
49160     49160-49300


This I thought would speed things up...but it doesn't seem to.

_________________
"The amount of time needed to solve a problem is inversely proportionate to the complexity of the solution" -- Me

KM: R5.5
CPU: Athlon 3800+
Vid: nvidia 7300GT
Snd: Chaintech av-710
Tuner: PVR150
HD: 1000gb sata + 750gb sata + 500gb usb


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 06, 2007 12:53 pm 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
Well, torrentflux CAN push a lot of traffic when it is called for. I seeded a new version of Suse awhile ago just to see. I hit over 60Mbits/sec for an hour, and sustained >40Mbits/sec for about a day.

My Myth-related seeds have never hit those rates, tho. Best I've seen is about 10Mbits/sec for an hour here and there. More typical is 200-500Kbits/sec. for a few hours at a time.

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 21, 2008 11:46 pm 
Offline
Joined: Mon Feb 07, 2005 6:32 pm
Posts: 6
I used to use TorrentFlux, but I found all those Python processes (And the fact it was running under Apache, used the filesystem for communication, didn't have global speed settings, and wouldn't restart torrents automatically) made it horrible to use.

Then I discovered BTG (http://btg.berlios.de). It has a VERY nice web-based frontend, supports multiple users, global bandwidth limits, DHT and encryption, and it's fast and lean, running as a single process rather than lost of individual python processes.

The prerequesites are a bit of a hassle (Needs Rasterbar libtorrent, which in turn requires libboost), but once you've got those sorted, it's very easy to set up and use.

Any chance of this being included in the next version of KnoppMyth?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 22, 2008 10:58 am 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
Anaerin wrote:
I used to use TorrentFlux, but I found all those Python processes ... made it horrible to use.

Just as an aside, processes are NOT "bad". Python has some support for threading, but spawning off separate processes in Python is a good design decision. If you take a look at "ps -ef" you'll see your linux box is running quite a few processes already!

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 22, 2008 12:54 pm 
Offline
Joined: Fri Sep 15, 2006 12:16 pm
Posts: 292
You generally DO have to poke holes in your firewall for
bittorrent, else you get very low download rates.

This might be described as "port forwarding", "virtual server",
etc in your router setup.

Find out exactly which ports your client uses and set up your
router / firewall to forward those to the box that you want to
run the bittorrent client on. I have two boxes running various
OS's and clients and so I have configured one box to use
6881-6889 and the other box to use 6890-6899. I did this by
configuring both the bittorrent client software on the boxes
and the port forwarding setup in the router. Once you do this
it looks like those ports are directly sitting on the internet
instead of inside of a NAT-LAN.

Another possibility is that some routers have an option to
basically do this for all ports of one PC at a time. Not
recommended as it leaves more of an "attack surface" exposed.

Cliff


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 22, 2008 1:04 pm 
Offline
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location: Beaumont, CA
I use torrenflux too. I found that forwarding the ports to my knoppmyth box speeds it up immensly. Much faster than azureus, for sure.
What I do is start a torrent downloading and then see what port it is using, I then connect into my D-Link DI-624 router and forward that port to my myth box. After about 2 minutes the speed jumps WAY up. (My DI-624 only allows one port at a time, not a range, so I have to do it this way). Haven't touched azureus since.

_________________
ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 2:37 pm 
Offline
Joined: Mon Feb 07, 2005 6:32 pm
Posts: 6
Liv2Cod wrote:
Anaerin wrote:
I used to use TorrentFlux, but I found all those Python processes ... made it horrible to use.

Just as an aside, processes are NOT "bad". Python has some support for threading, but spawning off separate processes in Python is a good design decision. If you take a look at "ps -ef" you'll see your linux box is running quite a few processes already!


Oh, I know processes aren't bad. But when downloading 2 torrents was taking 100% CPU usage for 12Kb/s transfer rate, I knew something had to give. It's the fact that the version of TorrentFlux I was running at the time (I don't know about the current release) was using the Python interpreted version of the BitTorrent client, which was slow and resource intensive, and it was calling that client using cli within Apache (A bad move, security-wise).

Still, I'm happier now. Or would be if BTG and LibTorrent weren't going through an overhaul at the moment. :/


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 3:02 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
Have you tried bittornado? I've been using it for a few years now (disclaimer: for legal downloads only), and find it very easy and nice to my CPUs. It's also python based.

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 4:03 pm 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
manicmike wrote:
Have you tried bittornado?

You'd like Torrentflux, then. It's a web-based frontend for... drum roll... bittornado!

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 23, 2008 5:52 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
I've been using Torrentflux-b4rt on my MBE for quite a while now (> 1yr?) and I've been quite happy with it. More features than I'll ever need. It just serves up the most recent KM release and gets the occasional software app or iso image. It's been solid as a rock.

_________________
Mike
My Hardware Profile


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu