Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
traffic shaping
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Thu Dec 18, 2003 2:07 am    Post subject: traffic shaping Reply with quote

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
View user's profile Send private message
7dave7
n00b
n00b


Joined: 21 Sep 2003
Posts: 12

PostPosted: Thu Dec 18, 2003 6:23 am    Post subject: Reply with quote

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
View user's profile Send private message
LJ
Apprentice
Apprentice


Joined: 27 Dec 2002
Posts: 156

PostPosted: Thu Dec 18, 2003 12:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Thu Dec 18, 2003 3:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Koon
Retired Dev
Retired Dev


Joined: 10 Dec 2002
Posts: 518

PostPosted: Fri Dec 19, 2003 12:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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