Skip to contentSkip to conversation

bandwidth limiting incoming data

LARTC Trevor Warren 5 participants 9 messages Jun 23, 2003 – Jul 1, 2003

lore
Share & tools
lore
#0 lore raw

Hello Sreram,

AFAIK all Traffic Shaping be it Ingress/Egress can be done at your end.
This will help majorly on the link at your end by prioritising trafic appropriately.

You can't possibly change traffic priorities at your isps end.

Trevor

Quoted 22 lines · K S Sreeram

Hi

I am connected to the internet thru a 128kbps connection, with a single box. There is no separate router.

I have a 'cvs update' going on for a rather large repository. Whenever there is any HTTP traffic(browser/wget/apt-get etc), the CVS traffic seems to come to a halt. So it looks like my ISP is giving higher priority to HTTP traffic.

Is there any way I can give higher priority to the CVS traffic?

I have read lartc, but all the techniques it talks about (cbq, htb etc) works only for outgoing traffic, not for incoming data. I am not sure if the ingress qdisc is suitable for this problem

In freebsd, I could use 'ipfw pipes' to control incoming traffic too.. Is there a similar mechanism that can be done in linux?

Regards

Thanks in Advance!

Signature · 9 lines
( >-    GNU/LINUX, It's all about CHOICE      -< )
/~\    __  [email protected]  __   /~\
|  \) /  Pre Sales Consultant - Red Hat     \ (/ |
|_|_  \    9820349221(M) | 22881326(O)      / _|_|
       \___________________________________/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw

Hi

I am connected to the internet thru a 128kbps connection, with a single box. There is no separate router.

I have a 'cvs update' going on for a rather large repository. Whenever there is any HTTP traffic(browser/wget/apt-get etc), the CVS traffic seems to come to a halt. So it looks like my ISP is giving higher priority to HTTP traffic.

Is there any way I can give higher priority to the CVS traffic?

I have read lartc, but all the techniques it talks about (cbq, htb etc) works only for outgoing traffic, not for incoming data. I am not sure if the ingress qdisc is suitable for this problem

In freebsd, I could use 'ipfw pipes' to control incoming traffic too.. Is there a similar mechanism that can be done in linux?

Regards

Thanks in Advance!

Signature · 8 lines
K S Sreeram
Director of Research
Tachyon Technologies Pvt. Ltd.


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Trevor Warren
Quoted 8 lines · Trevor Warren

Hello Sreram,

AFAIK all Traffic Shaping be it Ingress/Egress can be done at your end.
This will help majorly on the link at your end by prioritising trafic appropriately.

You can't possibly change traffic priorities at your isps end.

Maybe my mail wasnt clear, but what i wanted to know is how to shape incoming traffic on my box, and not at the ISP's end, which I cant control.

Quoted 31 lines · K S Sreeram
Quoted 22 lines

Hi

I am connected to the internet thru a 128kbps connection, with a single box. There is no separate router.

I have a 'cvs update' going on for a rather large repository. Whenever there is any HTTP traffic(browser/wget/apt-get etc), the CVS traffic seems to come to a halt. So it looks like my ISP is giving higher priority to HTTP traffic.

Is there any way I can give higher priority to the CVS traffic?

I have read lartc, but all the techniques it talks about (cbq, htb etc) works only for outgoing traffic, not for incoming data. I am not sure if the ingress qdisc is suitable for this problem

In freebsd, I could use 'ipfw pipes' to control incoming traffic too.. Is there a similar mechanism that can be done in linux?

Regards

Thanks in Advance!

Signature · 5 lines
( >-    GNU/LINUX, It's all about CHOICE      -< )
/~\    __  [email protected]  __   /~\
|  \) /  Pre Sales Consultant - Red Hat     \ (/ |
|_|_  \    9820349221(M) | 22881326(O)      / _|_|
       \___________________________________/
Signature · 8 lines
K S Sreeram
Director of Research
Tachyon Technologies Pvt. Ltd.


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#3 lore raw
In reply to Trevor Warren
Quoted 4 lines · S Mohan

Let us say eth0 is connected the Internet and eth1 to the local LAN. Then shaping outgoing traffic on eth1 is equivalent to throttling incoming on eth0. Another alternative is to use the IMQ device. I recommend the first method.

The problem is that I dont have a separate router. I have a single machine (a laptop), which is connected to the internet with a 128kbps connection.

I dont know how to do incoming traffic shaping, when only one machine is present, which is typical in home usage scenarios.

Quoted 63 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of K S Sreeram
Sent: Monday, June 23, 2003 6:01 PM
To: lartc
Subject: Re: [LARTC] bandwidth limiting incoming data

Quoted 8 lines · Trevor Warren

Hello Sreram,

AFAIK all Traffic Shaping be it Ingress/Egress can be done at your end.
This will help majorly on the link at your end by prioritising trafic appropriately.

You can't possibly change traffic priorities at your isps end.

Maybe my mail wasnt clear, but what i wanted to know is how to shape incoming traffic on my box, and not at the ISP's end, which I cant control.

Quoted 23 lines · K S Sreeram
Quoted 21 lines

Hi

I am connected to the internet thru a 128kbps connection, with a single box. There is no separate router.

I have a 'cvs update' going on for a rather large repository. Whenever there is any HTTP traffic(browser/wget/apt-get etc), the CVS traffic seems to come to a halt. So it looks like my ISP is giving higher priority to HTTP traffic.

Is there any way I can give higher priority to the CVS traffic?

I have read lartc, but all the techniques it talks about (cbq, htb etc) works only for outgoing traffic, not for incoming data. I am not sure if the ingress qdisc is suitable for this problem

In freebsd, I could use 'ipfw pipes' to control incoming traffic too.. Is there a similar mechanism that can be done in linux?

Regards

Quoted 8 lines
Quoted 1 line

Thanks in Advance!

--
( >- GNU/LINUX, It's all about CHOICE -< )
/~\ __ [email protected] __ /~\

|  \) /  Pre Sales Consultant - Red Hat     \ (/ |
|_|_  \    9820349221(M) | 22881326(O)      / _|_|
       \___________________________________/

--
K S Sreeram
Director of Research
Tachyon Technologies Pvt. Ltd.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Signature · 8 lines
K S Sreeram
Director of Research
Tachyon Technologies Pvt. Ltd.


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#4 lore raw
In reply to Trevor Warren
Quoted 7 lines · K S Sreeram
Quoted 6 lines · Trevor Warren

Hello Sreram,

AFAIK all Traffic Shaping be it Ingress/Egress can be done at your end.
This will help majorly on the link at your end by prioritising trafic appropriately.

Quoted 5 lines
Quoted 1 line

You can't possibly change traffic priorities at your isps end.

Maybe my mail wasnt clear, but what i wanted to know is how to shape incoming traffic on my box, and not at the ISP's end, which I cant control.

Incoming traffic can be controlled with filters + policers. Or a more complicated setup can be done with IMQ + HTB.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#5 lore raw
In reply to Trevor Warren

Stef,

Can you point me to the location of the docs for the filters + policers?

Quoted 21 lines · Stef Coene
Quoted 8 lines · K S Sreeram
Quoted 6 lines · Trevor Warren

Hello Sreram,

AFAIK all Traffic Shaping be it Ingress/Egress can be done at your end. This will help majorly on the link at your end by prioritising trafic appropriately.

Quoted 5 lines
Quoted 1 line

You can't possibly change traffic priorities at your isps end.

Maybe my mail wasnt clear, but what i wanted to know is how to shape incoming traffic on my box, and not at the ISP's end, which I cant control.

Incoming traffic can be controlled with filters + policers. Or a more complicated setup can be done with IMQ + HTB.

Stef

Signature · 10 lines
Bernard Robbins
Systems Support Specialist
VLM International, Inc.
___________________________________________
[I@myself src]# make me --with-more_time --with-more_money
90% of being smart is knowing what you're dumb at.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#6 lore raw
In reply to Trevor Warren

Hi

I would strongly recommend going with IMQ + HTB. I just installed it yesterday. It just works beautifully. It gives you the full flexibility in using HTB SFQ etc, to shape incoming traffic.

Makes me wonder... How come IMQ is not yet part of the standard kernel? Is it going to be coming in 2.4.22?

Thanks
&
Regards

Quoted 40 lines · Bernard Robbins

Stef,

Can you point me to the location of the docs for the filters + policers?

Quoted 21 lines · Stef Coene
Quoted 8 lines · K S Sreeram
Quoted 6 lines · Trevor Warren

Hello Sreram,

AFAIK all Traffic Shaping be it Ingress/Egress can be done at your end. This will help majorly on the link at your end by prioritising trafic appropriately.

Quoted 5 lines
Quoted 1 line

You can't possibly change traffic priorities at your isps end.

Maybe my mail wasnt clear, but what i wanted to know is how to shape incoming traffic on my box, and not at the ISP's end, which I cant control.

Incoming traffic can be controlled with filters + policers. Or a more complicated setup can be done with IMQ + HTB.

Stef

Signature · 10 lines
Bernard Robbins
Systems Support Specialist
VLM International, Inc.
___________________________________________
[I@myself src]# make me --with-more_time --with-more_money
90% of being smart is knowing what you're dumb at.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Signature · 8 lines
K S Sreeram
Director of Research
Tachyon Technologies Pvt. Ltd.


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#7 lore raw
In reply to Trevor Warren
Quoted 9 lines · Bernard Robbins

Stef,

Can you point me to the location of the docs for the filters + policers?

Quoted 4 lines

Incoming traffic can be controlled with filters + policers. Or a more complicated setup can be done with IMQ + HTB.

Stef

I could use this information also..

TIA,
Steve

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#8 lore raw
In reply to Trevor Warren
Quoted 11 lines · Steve Wright
Quoted 8 lines · Bernard Robbins

Stef,

Can you point me to the location of the docs for the filters + policers?

Quoted 4 lines

Incoming traffic can be controlled with filters + policers. Or a more complicated setup can be done with IMQ + HTB.

Stef

I could use this information also..

There is some information in the lartc howto about policers. That's all I have. For imq, you can search the lartc archives.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/