Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
uTorrent as a service
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
keola
n00b
n00b


Joined: 22 Feb 2005
Posts: 53

PostPosted: Fri Jul 30, 2010 5:57 pm    Post subject: uTorrent as a service Reply with quote

So after trying 100 different things to get torrents to download at acceptable speeds and getting fed up with ktorrent crashing and deluge using all my cpu I have found that uTorrent has proven faster, more stable and although it is for windows, I want to run it as a service on a headless machine. and use the webUI.

It has already been done for Ubuntu here http://ubuntuforums.org/showthread.php?t=925658

I looked at the script and I don't think it will work on Gentoo as is. Could someone Gentoo-ize this and I will write up a step-by-step how-to.

One thing I have not figured out though, how to use ipfilter.dat. I just started utorrent.exe with wine and it went right to the gui. I started it in windows and it went through a a setup script.

If anyone wants to contribute, feel free to post.

Thanks!
Back to top
View user's profile Send private message
XQYZ
Apprentice
Apprentice


Joined: 19 Jul 2009
Posts: 231
Location: Europe

PostPosted: Fri Jul 30, 2010 6:06 pm    Post subject: Reply with quote

Have you tried running Deluge headless witha webui? As far as I remember only the GTK interface was causing the CPU eating. Transmission might also be worth a shot, although it has significantly less features that other Clients and the WebUI is fairly minimalistic.
Back to top
View user's profile Send private message
M
Guru
Guru


Joined: 12 Dec 2006
Posts: 432

PostPosted: Fri Jul 30, 2010 10:09 pm    Post subject: Reply with quote

rTorrent with daemon use flag running in screen with one of these frontends maybe:

http://www.wtorrent-project.org/trac/
http://rtwi.jmk.hu/
http://code.google.com/p/rutorrent/
Back to top
View user's profile Send private message
keola
n00b
n00b


Joined: 22 Feb 2005
Posts: 53

PostPosted: Fri Jul 30, 2010 10:59 pm    Post subject: Reply with quote

I guess I was not clear. Right now, there is something wrong with torrents on linux in general right now.

same set of torrents;

kTorrent / deluge avg speed: 243kB/s
Peak observed speed: ~320kB/s

uTorrent under Wine avg speed: 2240kB/s <--
Peak observed speed: ~2900kB/s <-- both of these are over my 12Mb downstream 'cap' but I have had speedtests peak at ~3200kB/s

google 'linux slow torrents' - I'm not crazy. this is a 'recognized' issue, but nobody has an answer other than uTorrent or other client under Wine.

I just wanted to help others out... I don't understand why I am being treated like an idiot.
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Fri Jul 30, 2010 11:02 pm    Post subject: Reply with quote

If you don't need a web interface then use hrktorrent. It is very minimalistic and blazingly fast. Just run it in screen or write a little wrapper script around it (depends on how you like it). For example you could write a script which periodically (cron) checks a folder for fresh .torrent files and if there are new ones then fire up hrktorrent some.torrent in a screen.
Back to top
View user's profile Send private message
keola
n00b
n00b


Joined: 22 Feb 2005
Posts: 53

PostPosted: Fri Jul 30, 2010 11:08 pm    Post subject: Reply with quote

*sigh* yeah that still uses libtorrent

I think I just need to walk away
Back to top
View user's profile Send private message
darklegion
Guru
Guru


Joined: 14 Nov 2004
Posts: 468

PostPosted: Sun Aug 01, 2010 11:07 am    Post subject: Reply with quote

Rtorrent doesn't use the same libtorrent that KTorrent uses, it's a totally different implementation. I max out my connection regularly, provided there is are enough good seeds. My connection is slower of course (750 kilobytes per second/8mbit). But that is still faster than your reported speeds.

EDIT: Actually, looking at your post again, are you sure you are not getting kilobits/kilobytes mixed up? They look about the same if the linux apps are reporting in kilobytes per second and utorrent is reporting in kilobits per second.
Back to top
View user's profile Send private message
keola
n00b
n00b


Joined: 22 Feb 2005
Posts: 53

PostPosted: Sun Aug 01, 2010 12:58 pm    Post subject: Reply with quote

I have tried both libraries. I did forget to mention that.

And yes my posted speeds are correct.

I started this thread in hopes to contribute to a how-to for others that have this problem, not get static from everyone. I do appreciate all the input though. Although, in my case non of it is helpful.
Back to top
View user's profile Send private message
ssteinberg
Apprentice
Apprentice


Joined: 09 Jul 2010
Posts: 206
Location: Israel

PostPosted: Sun Aug 01, 2010 2:12 pm    Post subject: Reply with quote

Deluged without the GTK frontend. Minimal CPU usage, full bandwidth utilization.
Back to top
View user's profile Send private message
XQYZ
Apprentice
Apprentice


Joined: 19 Jul 2009
Posts: 231
Location: Europe

PostPosted: Sun Aug 01, 2010 6:31 pm    Post subject: Reply with quote

ssteinberg wrote:
Deluged without the GTK frontend. Minimal CPU usage, full bandwidth utilization.


Same for me here, which is why I suggested using it without the fronted. Even their web-client pushes Firefox's CPU Usage to 25%. I don't know, it's an awesome client but they can't code shit for interfaces apparently.
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 376

PostPosted: Thu Aug 05, 2010 3:24 am    Post subject: Reply with quote

keola wrote:
uTorrent under Wine avg speed: 2240kB/s <--
Peak observed speed: ~2900kB/s <-- both of these are over my 12Mb downstream 'cap' but I have had speedtests peak at ~3200kB/s


Not only are these faster than 12Mb/s, they're about double.

2240 kB/s = 17.5 MB/s
2900 kB/s = 22.65 MB/s
3200 kB/s = 25 MB/s

Quote:
google 'linux slow torrents' - I'm not crazy. this is a 'recognized' issue, but nobody has an answer other than uTorrent or other client under Wine.

I just wanted to help others out... I don't understand why I am being treated like an idiot.


Firstly, no one is treating you like an idiot. On the contrary, you're treating everyone who's responded like they're idiots.

My anecdotal evidence is no better than anyone else's in this thread, yours included, but I've never had any trouble maxing out my connection with Azureus.

I wonder if your ISP throttles BitTorrent traffic, and the Linux clients you've tried don't support encryption and thus are being slowed. uTorrent certainly does support encryption, which might explain its higher speeds if your ISP is indeed slowing BitTorrent traffic.

Try a client that supports encryption such as Transmission or Azureus before you spend time on a hack like you've proposed, or before you tell someone else who's trying to help you that they're information is worthless. Don't be a penis. You're definitely not going to get help that way.
Back to top
View user's profile Send private message
res0r9lm
n00b
n00b


Joined: 30 Jul 2004
Posts: 56

PostPosted: Thu Aug 05, 2010 10:10 am    Post subject: Reply with quote

mattst88 wrote:
keola wrote:
uTorrent under Wine avg speed: 2240kB/s <--
Peak observed speed: ~2900kB/s <-- both of these are over my 12Mb downstream 'cap' but I have had speedtests peak at ~3200kB/s


Not only are these faster than 12Mb/s, they're about double.

2240 kB/s = 17.5 MB/s
2900 kB/s = 22.65 MB/s
3200 kB/s = 25 MB/s

Quote:
google 'linux slow torrents' - I'm not crazy. this is a 'recognized' issue, but nobody has an answer other than uTorrent or other client under Wine.

I just wanted to help others out... I don't understand why I am being treated like an idiot.


Firstly, no one is treating you like an idiot. On the contrary, you're treating everyone who's responded like they're idiots.

My anecdotal evidence is no better than anyone else's in this thread, yours included, but I've never had any trouble maxing out my connection with Azureus.

I wonder if your ISP throttles BitTorrent traffic, and the Linux clients you've tried don't support encryption and thus are being slowed. uTorrent certainly does support encryption, which might explain its higher speeds if your ISP is indeed slowing BitTorrent traffic.

Try a client that supports encryption such as Transmission or Azureus before you spend time on a hack like you've proposed, or before you tell someone else who's trying to help you that they're information is worthless. Don't be a penis. You're definitely not going to get help that way.

you know the different between MB/s and Mb/s?

2240 kB/s = 2.18 MB/s or 17.7 Mb/s
2900 kB/s = 2.83 MB/s or 22.65 Mb/s
3200 kB/s = 3.13 MB/s or 25 Mb/s

I have no problem hitting 3MB/s up or down on many linux clients.
Back to top
View user's profile Send private message
keola
n00b
n00b


Joined: 22 Feb 2005
Posts: 53

PostPosted: Thu Aug 05, 2010 12:34 pm    Post subject: Reply with quote

My ISP is not doing anything, kTorrent supports encryption, my speeds are correct. My 12Mb 'cap' is rarely enforced.

I can turn off encryption and run uT on a blocked port and still get better performance than anything in linux.

I have tried everything. And since tried Transmission - crashes more than kT. Azureus is no different than it was years ago - I don't need to get started there.

My system is not fast, but it it is solid. I even recompiled everything, still having the exact same issues.

So yes, I can get 2.83MB down in uT, in anything else I get about 2.2Mb.

I like kTorrent, but it is not working out so well. I really don't know what to do or say at this point.
Back to top
View user's profile Send private message
res0r9lm
n00b
n00b


Joined: 30 Jul 2004
Posts: 56

PostPosted: Thu Aug 05, 2010 5:14 pm    Post subject: Reply with quote

If you have transmission crashing something is wrong on your end. I have used both utorrent and transmission a lot and haven't had any crashes in either. Utorrent requires at least vncserver you could have utorrent to start with vncserver by adding it to the xstartup file. I don't know why there isn't a /QUIT command. To properly shutdown utorrent you can run wineboot -e
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum