This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Upload detardes Download?

Tags: None
(comma "," separated)
imported4-Stolzi
Registered Member
Posts
9
Karma
0

Upload detardes Download?

Thu Nov 16, 2006 10:01 pm
Hello,

i asked me following question: If i am not on my computer and allow the full upload: Slows this my download down or does Ktorrent manages this this way that it doesnt?
But i think Ktorrent cant affect this and so i must select a upload rate that there is anough rest that the upload isnt detarded.

Is this right? For example if i have 20kb upload i set it to 15 kb.

Thanks
Stolzi
jdong
Registered Member
Posts
358
Karma
0

Fri Nov 17, 2006 2:58 am
Right, you are exactly right in your observations... Basically, in order to download something, you must upload (to request what to download, to acknowledge each packet you receive, and so on) also. This typically takes around 5-10% of the speed you download at. If you are uploading data, too, now your uploads are fighting with the download's need to upload a few packets here and there. This leads to delays in your download, and also horrible ping time and general networking latency.

There are two ways to work around this:

First, you can set a limit on your upload speed from that program, like you found out. This kind of works okay, but is flawed in that if I start, say, uploading an e-mail attachment, I'll max out the bandwidth and cause the same problems again :D

A more effective way of doing it is via traffic shaping and prioritization at the kernel level. You let the kernel know that you can for example, upload at 300kbit/s and download at 3000kbit/s, and that small stuff should be sent before big stuff, and the kernel works its magic. This is what I do, and it's marvelous. I have 4 systems behind a 50KB/s upload pipe, and I can be uploading to my website on 2 systems, downloading via HTTP and bittorrent, and surf the web on my laptop, and still get pings of around 40ms :)


Look at wondershaper for an easy way to set up traffic shaping :)
imported4-Stolzi
Registered Member
Posts
9
Karma
0

Fri Nov 17, 2006 8:06 am
Cool, this sounds great! I will have a look for it. Thanks.
imported4-Stolzi
Registered Member
Posts
9
Karma
0

Fri Nov 17, 2006 9:10 am
Hi again jdong,

i have read about this tool and it sounds great. But it seems not to work as good on my SuSE10.1 box.
I installed the suse rpm, run speed tests to my T-online 2000 which sayed i have about 180 upload and 1900 download.
Then i tested. I told wondershaper to set speed to 1900/170 .... but when i dont limit upload speed from ktorrent it dont works. I told to set upload speed to 100.... same result.
But at all wondershaper is working! Because if i make speed test again now my upload is 99. Hmmm... Have i misunderstood something?

Thanks
Stolzi
jdong
Registered Member
Posts
358
Karma
0

Fri Nov 17, 2006 4:11 pm
Hmm strange, all it should really take is to set upload speed slightly lower then your actual upload speed.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]