LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Upload speed limiting to increase download speed (http://www.linuxquestions.org/questions/linux-networking-3/upload-speed-limiting-to-increase-download-speed-789166/)

dangerousdave 02-15-2010 01:34 AM

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...?

logicalfuzz 02-15-2010 04:44 AM

rtorrent
 
Quote:

Originally Posted by dangerousdave (Post 3863983)
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 (Post 3863983)
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

hostmaster 02-15-2010 06:35 AM

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.

mrclisdue 02-15-2010 09:32 AM

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,

nimnull22 02-15-2010 10:10 AM

Quote:

Originally Posted by dangerousdave (Post 3863983)

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.

dangerousdave 02-16-2010 12:42 AM

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...?]

mrclisdue 02-16-2010 03:19 PM

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,


All times are GMT -5. The time now is 08:02 AM.