View previous topic :: View next topic |
Author |
Message |
ikaro Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/130830920042dd3d4464379.jpg)
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Thu Dec 18, 2003 2:07 am Post subject: traffic shaping |
|
|
Hi.
I have a problem with my internet.
This is my setup:
DSL:
__________________________
|router| <---> |computer|
---------------------------------------
10.0.0.1 - 10.0.0.2
---------------------------------------
very simple indeed, the problem is that whenever i use ftp to download or upload i can't use the internet for anything else, check my email, browse or irc , the latency gets so high that is impossible to do anything else.
So the question is, is it possible with this current configuration to do some sort of trafic shaping so that when i upload or download files i still can use the internet for other tasks ?
Thank you. _________________ linux: #232767 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
7dave7 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Sep 2003 Posts: 12
|
Posted: Thu Dec 18, 2003 6:23 am Post subject: |
|
|
To do traffic shaping you'll need to make sure that your kernel config has "CONFIG_IP_ADVANCED_ROUTER=y" (it's underNetworking Options -> IP:Advanced Router). Then emerge iproute. This will give you the /sbin/tc command - read the man page and look for some howtos on the web for specific configuration help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
LJ Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 27 Dec 2002 Posts: 156
|
Posted: Thu Dec 18, 2003 12:40 pm Post subject: |
|
|
Try using DSL_QOS_QUEUE which you can find here:
http://www.sonicspike.net/software/
I had really good luck with it on my cable modem. However, you may have less luck because it looks like your DSL modem itself is limiting the transfer rates and it is doing so at half duplex (which is why your downloads are causing latency).
Probably an easier (and more reliable solution) would be to use an FTP program that allows you to limit the transfer rate--gftp will do it. I'm not sure if you can do so with ncftp but that's another one to look into. The disadvantage of gftp being that it has a GUI so you can't run it standalone on a remote box. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ikaro Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/130830920042dd3d4464379.jpg)
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Thu Dec 18, 2003 3:51 pm Post subject: |
|
|
cool .-= Thank you =- i'll try that later today after i get frammebuffer on 2.6.0 ... been a bitch to setup .. _________________ linux: #232767 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Koon Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/gallery/StarCraft/starcraft_protoss_darkarcho.gif)
Joined: 10 Dec 2002 Posts: 518
|
Posted: Fri Dec 19, 2003 12:59 pm Post subject: |
|
|
You can also try :
http://lartc.org/wondershaper/
HTB or CBQ-based traffic shaping for single hosts facing Internet.
On a router I would rather use CBQ.init or HTB.init, you'll find them in the Advanced routing howto on http://lartc.org/
-K |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|