LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 02-15-2010, 01:34 AM   #1
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Rep: Reputation: 15
Upload speed limiting to increase download speed


Hey all. I've always been fond of auto-speed -like plugins/features of torrent apps (utorrent, azureus), so that the maximum upload bandwidth is assigned without restricting download bandwidth.

Please correct me if I'm wrong, but from what I've read high-speed connections require so many ACK responses that you effectively need to apportion more of your upload bandwidth to these ACKs to negotiate the best speed.

I can't find any torrent app for linux that implements this little bit of traffic shaping (except maybe azureus/vuze, but I'd rather not go there).

I've scoured google for some kind of QoS solution that has ACK prioritisation capability, but everything I've come across is either hyper-complex bash scripting or a (expensive) commercial application.

Any pointers to some simple (preferably GUI based) solution most appreciated...?

Last edited by dangerousdave; 02-15-2010 at 01:35 AM.
 
Old 02-15-2010, 04:44 AM   #2
logicalfuzz
Member
 
Registered: Aug 2005
Distribution: Arch Linux
Posts: 291

Rep: Reputation: 39
rtorrent

Quote:
Originally Posted by dangerousdave View Post
Please correct me if I'm wrong, but from what I've read high-speed connections require so many ACK responses that you effectively need to apportion more of your upload bandwidth to these ACKs to negotiate the best speed.
I've never heard anything like that! Nevertheless, i'll let others comment on that.

Quote:
Originally Posted by dangerousdave View Post
Any pointers to some simple (preferably GUI based) solution most appreciated...?
You could try rtorrent. This has tui kinda interface.. and is not as scary as the traditional command line apps, not to say its very skimpy on memory. You could find some starting pointers here. If you peek into the config file (i think its '.rtorrentrc'), you find an option to limit both upload and download bandwidths
 
Old 02-15-2010, 06:35 AM   #3
hostmaster
Member
 
Registered: Feb 2007
Posts: 55

Rep: Reputation: 17
You should try to restrict this at application level not OS or network level. Yes for TCP connections ack responses are required but they are very small packets and does not effect your downlink that much.
 
Old 02-15-2010, 09:32 AM   #4
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,018

Rep: Reputation: 157Reputation: 157
I'll second the rtorrent recommendation.

Also, have a look at:

trickle

which I use when the application doesn't have such a feature....


cheers,
 
Old 02-15-2010, 10:10 AM   #5
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Quote:
Originally Posted by dangerousdave View Post

I can't find any torrent app for linux that implements this little bit of traffic shaping (except maybe azureus/vuze, but I'd rather not go there).
I used to use Ktorrent and it perfectly can limit upload speed, which is very important.
It should be no more then 50% of all your upload speed.
 
Old 02-16-2010, 12:42 AM   #6
dangerousdave
Member
 
Registered: Feb 2005
Distribution: Ubuntu 8.04
Posts: 100

Original Poster
Rep: Reputation: 15
Thanks for the responses. The problem with KTorrent and trickle is that, AFAIK, they limit the upload rate to a specific user-defined rate. I want something that will restrict upload bandwidth dynamically and automatically.

I don't know about rtorrent though (scared by consoley interface), does it have an auto-speed feature as I have described?


[As for the whole ACK thing, I really don't know properly, that's just what I gathered from reading around. There is a definite noticeable increase in download speed when you limit upload, as any serious torrent user will attest to. The exact reason for this I thought had something to do with ACK packets, but I dunno. A bit OT, but I would be interested in being elightened...?]

Last edited by dangerousdave; 02-16-2010 at 12:43 AM.
 
Old 02-16-2010, 03:19 PM   #7
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,018

Rep: Reputation: 157Reputation: 157
Thanks for the clarification.

What you are seeking is beyond my knowledge/expertise as far as dynamic adjustment, other than to say that rtorrent's bandwidth control *isn't* dynamic (don't know if it's planned....)

cheers,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
increase upload speed kara_iran Linux - Server 4 06-01-2009 07:25 AM
Limiting Upload Speed on Fedora 8 njoker555 Linux - Networking 0 01-02-2009 12:19 PM
Why is my internet upload speed greater than my download speed? km4hr Linux - Networking 1 05-27-2008 08:33 PM
how to increase download speed of k-torrent alice_neo Linux - Software 1 05-10-2007 02:01 PM
how to find out download/upload speed malo_umoran Slackware 3 02-08-2005 10:24 AM


All times are GMT -5. The time now is 11:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration