* [LARTC] Some help please !
@ 2002-05-24 17:15 Justin Owens
2002-05-24 17:26 ` Justin Owens
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: Justin Owens @ 2002-05-24 17:15 UTC (permalink / raw)
To: lartc
Hello,
I am testing HTB using Iperf to generate traffic on a couple of ports and
trying to shape the traffic. I am using the script following but my results
don't seem to make sense.
I am seeing 4627Kbps on port 100 and 6944 on port 150.
I'm sure there's a reasonable explaination for this but I can't find it !
Any help would be appreciated.
Rgds.
Justin
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1: htb default 12
tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbps ceil 600kbps
tc class add dev eth1 parent 1: classid 1:2 htb rate 900kbps ceil 900kbps
tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport 100
0xffff flowid 1:1
tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport 150
0xffff flowid 1:2
The information contained in this email is privileged and confidential, intended only for the use of the individual or entity to whom it is addressed. If the reader of this email is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify the sender immediately by email and delete this email. Any views expressed in this email are those of the individual sender unless the sender specifically states
This mail was virus scanned by SurfControl.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [LARTC] Some help please !
2002-05-24 17:15 [LARTC] Some help please ! Justin Owens
@ 2002-05-24 17:26 ` Justin Owens
2002-05-24 17:46 ` Martin Devera
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Justin Owens @ 2002-05-24 17:26 UTC (permalink / raw)
To: lartc
Right...yeah...578 and 868 and I'm looking for 600 and 900 :-)
How accurate would you normally expect HTB to be ??
-----Original Message-----
From: Martin Devera [mailto:devik@cdi.cz]
Sent: 24 May 2002 18:47
To: Justin Owens
Cc: lartc
Subject: Re: [LARTC] Some help please !
Ehh and another hint, what is kbps in your mind ? BYTES or BITS ?
On Fri, 24 May 2002, Justin Owens wrote:
> Hello,
>
> I am testing HTB using Iperf to generate traffic on a couple of ports and
> trying to shape the traffic. I am using the script following but my
results
> don't seem to make sense.
> I am seeing 4627Kbps on port 100 and 6944 on port 150.
> I'm sure there's a reasonable explaination for this but I can't find it !
>
> Any help would be appreciated.
>
> Rgds.
> Justin
>
>
> tc qdisc del dev eth1 root
>
> tc qdisc add dev eth1 root handle 1: htb default 12
>
> tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbps ceil 600kbps
> tc class add dev eth1 parent 1: classid 1:2 htb rate 900kbps ceil 900kbps
>
> tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport
100
> 0xffff flowid 1:1
> tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport
150
> 0xffff flowid 1:2
>
>
>
> The information contained in this email is privileged and confidential,
intended only for the use of the individual or entity to whom it is
addressed. If the reader of this email is not the intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
email is strictly prohibited. If you have received this email in error,
please notify the sender immediately by email and delete this email. Any
views expressed in this email are those of the individual sender unless the
sender specifically states
> This mail was virus scanned by SurfControl.
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
>
The information contained in this email is privileged and confidential, intended only for the use of the individual or entity to whom it is addressed. If the reader of this email is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify the sender immediately by email and delete this email. Any views expressed in this email are those of the individual sender unless the sender specifically states
This mail was virus scanned by SurfControl.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [LARTC] Some help please !
2002-05-24 17:15 [LARTC] Some help please ! Justin Owens
2002-05-24 17:26 ` Justin Owens
@ 2002-05-24 17:46 ` Martin Devera
2002-05-24 17:46 ` Martin Devera
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Martin Devera @ 2002-05-24 17:46 UTC (permalink / raw)
To: lartc
it is hard to help without knowing your testbed and
tc -s class show dev eth1 output
On Fri, 24 May 2002, Justin Owens wrote:
> Hello,
>
> I am testing HTB using Iperf to generate traffic on a couple of ports and
> trying to shape the traffic. I am using the script following but my results
> don't seem to make sense.
> I am seeing 4627Kbps on port 100 and 6944 on port 150.
> I'm sure there's a reasonable explaination for this but I can't find it !
>
> Any help would be appreciated.
>
> Rgds.
> Justin
>
>
> tc qdisc del dev eth1 root
>
> tc qdisc add dev eth1 root handle 1: htb default 12
>
> tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbps ceil 600kbps
> tc class add dev eth1 parent 1: classid 1:2 htb rate 900kbps ceil 900kbps
>
> tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport 100
> 0xffff flowid 1:1
> tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport 150
> 0xffff flowid 1:2
>
>
>
> The information contained in this email is privileged and confidential, intended only for the use of the individual or entity to whom it is addressed. If the reader of this email is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify the sender immediately by email and delete this email. Any views expressed in this email are those of the individual sender unless the sender specifically states
> This mail was virus scanned by SurfControl.
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [LARTC] Some help please !
2002-05-24 17:15 [LARTC] Some help please ! Justin Owens
2002-05-24 17:26 ` Justin Owens
2002-05-24 17:46 ` Martin Devera
@ 2002-05-24 17:46 ` Martin Devera
2002-05-24 17:50 ` Stef Coene
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Martin Devera @ 2002-05-24 17:46 UTC (permalink / raw)
To: lartc
Ehh and another hint, what is kbps in your mind ? BYTES or BITS ?
On Fri, 24 May 2002, Justin Owens wrote:
> Hello,
>
> I am testing HTB using Iperf to generate traffic on a couple of ports and
> trying to shape the traffic. I am using the script following but my results
> don't seem to make sense.
> I am seeing 4627Kbps on port 100 and 6944 on port 150.
> I'm sure there's a reasonable explaination for this but I can't find it !
>
> Any help would be appreciated.
>
> Rgds.
> Justin
>
>
> tc qdisc del dev eth1 root
>
> tc qdisc add dev eth1 root handle 1: htb default 12
>
> tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbps ceil 600kbps
> tc class add dev eth1 parent 1: classid 1:2 htb rate 900kbps ceil 900kbps
>
> tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport 100
> 0xffff flowid 1:1
> tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport 150
> 0xffff flowid 1:2
>
>
>
> The information contained in this email is privileged and confidential, intended only for the use of the individual or entity to whom it is addressed. If the reader of this email is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify the sender immediately by email and delete this email. Any views expressed in this email are those of the individual sender unless the sender specifically states
> This mail was virus scanned by SurfControl.
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [LARTC] Some help please !
2002-05-24 17:15 [LARTC] Some help please ! Justin Owens
` (2 preceding siblings ...)
2002-05-24 17:46 ` Martin Devera
@ 2002-05-24 17:50 ` Stef Coene
2002-05-24 17:52 ` Justin Owens
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Stef Coene @ 2002-05-24 17:50 UTC (permalink / raw)
To: lartc
On Friday 24 May 2002 19:15, Justin Owens wrote:
> Hello,
>
> I am testing HTB using Iperf to generate traffic on a couple of ports and
> trying to shape the traffic. I am using the script following but my results
> don't seem to make sense.
> I am seeing 4627Kbps on port 100 and 6944 on port 150.
> I'm sure there's a reasonable explaination for this but I can't find it !
>
> Any help would be appreciated.
You are probably mixing bytes and bits. In tc commands, kbps = kilobit. So
600kbps = 4800kilobyte per second. And you are measuring 4627Kbps. So
that's 4627 kilobyte /s and very close to the 4800 you wanted with tc.
Stef
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [LARTC] Some help please !
2002-05-24 17:15 [LARTC] Some help please ! Justin Owens
` (3 preceding siblings ...)
2002-05-24 17:50 ` Stef Coene
@ 2002-05-24 17:52 ` Justin Owens
2002-05-24 18:02 ` Justin Owens
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Justin Owens @ 2002-05-24 17:52 UTC (permalink / raw)
To: lartc
And when I do the following:
I try and send traffic on an un-specified port eg 25 and all the packets get
dropped; I though they would default into 1:12 and be allowed through ??
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1: htb default 12
tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbps ceil 600kbps
tc class add dev eth1 parent 1: classid 1:2 htb rate 900kbps ceil 900kbps
tc class add dev eth1 parent 1: classid 1:12 htb rate 12500kbps
tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport 100
0xffff flowid 1:1
tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport 150
0xffff flowid 1:2
I try and send traffic on an un-specified port eg 25 and all the packets get
dropped, I though they would default into 1:12 and be allowed through
-----Original Message-----
From: Martin Devera [mailto:devik@cdi.cz]
Sent: 24 May 2002 19:05
To: Justin Owens
Cc: lartc
Subject: RE: [LARTC] Some help please !
As timer is acurate. And also remember I measure whole frames
with ethernet header. Depends what measures your meter.
For long lived traffic (several seconds) you can expect
about 1packet variation - it is 1% from rate for 100 packets.
devik
On Fri, 24 May 2002, Justin Owens wrote:
> Right...yeah...578 and 868 and I'm looking for 600 and 900 :-)
> How accurate would you normally expect HTB to be ??
>
>
>
> -----Original Message-----
> From: Martin Devera [mailto:devik@cdi.cz]
> Sent: 24 May 2002 18:47
> To: Justin Owens
> Cc: lartc
> Subject: Re: [LARTC] Some help please !
>
>
> Ehh and another hint, what is kbps in your mind ? BYTES or BITS ?
>
> On Fri, 24 May 2002, Justin Owens wrote:
>
> > Hello,
> >
> > I am testing HTB using Iperf to generate traffic on a couple of ports
and
> > trying to shape the traffic. I am using the script following but my
> results
> > don't seem to make sense.
> > I am seeing 4627Kbps on port 100 and 6944 on port 150.
> > I'm sure there's a reasonable explaination for this but I can't find it
!
> >
> > Any help would be appreciated.
> >
> > Rgds.
> > Justin
> >
> >
> > tc qdisc del dev eth1 root
> >
> > tc qdisc add dev eth1 root handle 1: htb default 12
> >
> > tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbps ceil
600kbps
> > tc class add dev eth1 parent 1: classid 1:2 htb rate 900kbps ceil
900kbps
> >
> > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport
> 100
> > 0xffff flowid 1:1
> > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport
> 150
> > 0xffff flowid 1:2
> >
> >
> >
> > The information contained in this email is privileged and confidential,
> intended only for the use of the individual or entity to whom it is
> addressed. If the reader of this email is not the intended recipient, you
> are hereby notified that any dissemination, distribution or copying of
this
> email is strictly prohibited. If you have received this email in error,
> please notify the sender immediately by email and delete this email. Any
> views expressed in this email are those of the individual sender unless
the
> sender specifically states
> > This mail was virus scanned by SurfControl.
> >
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> >
> >
>
>
> The information contained in this email is privileged and confidential,
intended only for the use of the individual or entity to whom it is
addressed. If the reader of this email is not the intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
email is strictly prohibited. If you have received this email in error,
please notify the sender immediately by email and delete this email. Any
views expressed in this email are those of the individual sender unless the
sender specifically states
> This mail was virus scanned by SurfControl.
>
>
>
>
The information contained in this email is privileged and confidential, intended only for the use of the individual or entity to whom it is addressed. If the reader of this email is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify the sender immediately by email and delete this email. Any views expressed in this email are those of the individual sender unless the sender specifically states
This mail was virus scanned by SurfControl.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [LARTC] Some help please !
2002-05-24 17:15 [LARTC] Some help please ! Justin Owens
` (4 preceding siblings ...)
2002-05-24 17:52 ` Justin Owens
@ 2002-05-24 18:02 ` Justin Owens
2002-05-24 18:05 ` Martin Devera
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Justin Owens @ 2002-05-24 18:02 UTC (permalink / raw)
To: lartc
I'm using htb3.3-020512
Here's the tc-s...
[root@htb /root]# tc -s class show dev eth1
class htb 1:1 root prio 0 rate 4800Kbit ceil 4800Kbit burst 7743b cburst
7743b
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 10325 ctokens: 10325
class htb 1:2 root prio 0 rate 7200Kbit ceil 7200Kbit burst 10814b cburst
10814b
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 9614 ctokens: 9614
class htb 1:12 root prio 0 rate 100000Kbit ceil 100000Kbit burst 129587b
cburst 129587b
Sent 568 bytes 11 pkts (dropped 0, overlimits 0)
lended: 11 borrowed: 0 giants: 0
tokens: 8289 ctokens: 8289
-----Original Message-----
From: Martin Devera [mailto:devik@cdi.cz]
Sent: 24 May 2002 19:23
To: Justin Owens
Cc: lartc
Subject: RE: [LARTC] Some help please !
hmm they should - what version of htb you have ?
send tc -s ..... [see prev mail]
On Fri, 24 May 2002, Justin Owens wrote:
> And when I do the following:
> I try and send traffic on an un-specified port eg 25 and all the packets
get
> dropped; I though they would default into 1:12 and be allowed through ??
>
> tc qdisc del dev eth1 root
>
> tc qdisc add dev eth1 root handle 1: htb default 12
>
> tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbps ceil 600kbps
> tc class add dev eth1 parent 1: classid 1:2 htb rate 900kbps ceil 900kbps
> tc class add dev eth1 parent 1: classid 1:12 htb rate 12500kbps
>
> tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport
100
> 0xffff flowid 1:1
> tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport
150
> 0xffff flowid 1:2
>
>
> I try and send traffic on an un-specified port eg 25 and all the packets
get
> dropped, I though they would default into 1:12 and be allowed through
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: Martin Devera [mailto:devik@cdi.cz]
> Sent: 24 May 2002 19:05
> To: Justin Owens
> Cc: lartc
> Subject: RE: [LARTC] Some help please !
>
>
> As timer is acurate. And also remember I measure whole frames
> with ethernet header. Depends what measures your meter.
> For long lived traffic (several seconds) you can expect
> about 1packet variation - it is 1% from rate for 100 packets.
> devik
>
> On Fri, 24 May 2002, Justin Owens wrote:
>
> > Right...yeah...578 and 868 and I'm looking for 600 and 900 :-)
> > How accurate would you normally expect HTB to be ??
> >
> >
> >
> > -----Original Message-----
> > From: Martin Devera [mailto:devik@cdi.cz]
> > Sent: 24 May 2002 18:47
> > To: Justin Owens
> > Cc: lartc
> > Subject: Re: [LARTC] Some help please !
> >
> >
> > Ehh and another hint, what is kbps in your mind ? BYTES or BITS ?
> >
> > On Fri, 24 May 2002, Justin Owens wrote:
> >
> > > Hello,
> > >
> > > I am testing HTB using Iperf to generate traffic on a couple of ports
> and
> > > trying to shape the traffic. I am using the script following but my
> > results
> > > don't seem to make sense.
> > > I am seeing 4627Kbps on port 100 and 6944 on port 150.
> > > I'm sure there's a reasonable explaination for this but I can't find
it
> !
> > >
> > > Any help would be appreciated.
> > >
> > > Rgds.
> > > Justin
> > >
> > >
> > > tc qdisc del dev eth1 root
> > >
> > > tc qdisc add dev eth1 root handle 1: htb default 12
> > >
> > > tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbps ceil
> 600kbps
> > > tc class add dev eth1 parent 1: classid 1:2 htb rate 900kbps ceil
> 900kbps
> > >
> > > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip
dport
> > 100
> > > 0xffff flowid 1:1
> > > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip
dport
> > 150
> > > 0xffff flowid 1:2
> > >
> > >
> > >
> > > The information contained in this email is privileged and
confidential,
> > intended only for the use of the individual or entity to whom it is
> > addressed. If the reader of this email is not the intended recipient,
you
> > are hereby notified that any dissemination, distribution or copying of
> this
> > email is strictly prohibited. If you have received this email in error,
> > please notify the sender immediately by email and delete this email. Any
> > views expressed in this email are those of the individual sender unless
> the
> > sender specifically states
> > > This mail was virus scanned by SurfControl.
> > >
> > >
> > > _______________________________________________
> > > LARTC mailing list / LARTC@mailman.ds9a.nl
> > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> > >
> > >
> >
> >
> > The information contained in this email is privileged and confidential,
> intended only for the use of the individual or entity to whom it is
> addressed. If the reader of this email is not the intended recipient, you
> are hereby notified that any dissemination, distribution or copying of
this
> email is strictly prohibited. If you have received this email in error,
> please notify the sender immediately by email and delete this email. Any
> views expressed in this email are those of the individual sender unless
the
> sender specifically states
> > This mail was virus scanned by SurfControl.
> >
> >
> >
> >
>
>
> The information contained in this email is privileged and confidential,
intended only for the use of the individual or entity to whom it is
addressed. If the reader of this email is not the intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
email is strictly prohibited. If you have received this email in error,
please notify the sender immediately by email and delete this email. Any
views expressed in this email are those of the individual sender unless the
sender specifically states
> This mail was virus scanned by SurfControl.
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
>
The information contained in this email is privileged and confidential, intended only for the use of the individual or entity to whom it is addressed. If the reader of this email is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify the sender immediately by email and delete this email. Any views expressed in this email are those of the individual sender unless the sender specifically states
This mail was virus scanned by SurfControl.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [LARTC] Some help please !
2002-05-24 17:15 [LARTC] Some help please ! Justin Owens
` (5 preceding siblings ...)
2002-05-24 18:02 ` Justin Owens
@ 2002-05-24 18:05 ` Martin Devera
2002-05-24 18:11 ` Justin Owens
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Martin Devera @ 2002-05-24 18:05 UTC (permalink / raw)
To: lartc
As timer is acurate. And also remember I measure whole frames
with ethernet header. Depends what measures your meter.
For long lived traffic (several seconds) you can expect
about 1packet variation - it is 1% from rate for 100 packets.
devik
On Fri, 24 May 2002, Justin Owens wrote:
> Right...yeah...578 and 868 and I'm looking for 600 and 900 :-)
> How accurate would you normally expect HTB to be ??
>
>
>
> -----Original Message-----
> From: Martin Devera [mailto:devik@cdi.cz]
> Sent: 24 May 2002 18:47
> To: Justin Owens
> Cc: lartc
> Subject: Re: [LARTC] Some help please !
>
>
> Ehh and another hint, what is kbps in your mind ? BYTES or BITS ?
>
> On Fri, 24 May 2002, Justin Owens wrote:
>
> > Hello,
> >
> > I am testing HTB using Iperf to generate traffic on a couple of ports and
> > trying to shape the traffic. I am using the script following but my
> results
> > don't seem to make sense.
> > I am seeing 4627Kbps on port 100 and 6944 on port 150.
> > I'm sure there's a reasonable explaination for this but I can't find it !
> >
> > Any help would be appreciated.
> >
> > Rgds.
> > Justin
> >
> >
> > tc qdisc del dev eth1 root
> >
> > tc qdisc add dev eth1 root handle 1: htb default 12
> >
> > tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbps ceil 600kbps
> > tc class add dev eth1 parent 1: classid 1:2 htb rate 900kbps ceil 900kbps
> >
> > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport
> 100
> > 0xffff flowid 1:1
> > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport
> 150
> > 0xffff flowid 1:2
> >
> >
> >
> > The information contained in this email is privileged and confidential,
> intended only for the use of the individual or entity to whom it is
> addressed. If the reader of this email is not the intended recipient, you
> are hereby notified that any dissemination, distribution or copying of this
> email is strictly prohibited. If you have received this email in error,
> please notify the sender immediately by email and delete this email. Any
> views expressed in this email are those of the individual sender unless the
> sender specifically states
> > This mail was virus scanned by SurfControl.
> >
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> >
> >
>
>
> The information contained in this email is privileged and confidential, intended only for the use of the individual or entity to whom it is addressed. If the reader of this email is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify the sender immediately by email and delete this email. Any views expressed in this email are those of the individual sender unless the sender specifically states
> This mail was virus scanned by SurfControl.
>
>
>
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [LARTC] Some help please !
2002-05-24 17:15 [LARTC] Some help please ! Justin Owens
` (6 preceding siblings ...)
2002-05-24 18:05 ` Martin Devera
@ 2002-05-24 18:11 ` Justin Owens
2002-05-24 18:23 ` Martin Devera
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Justin Owens @ 2002-05-24 18:11 UTC (permalink / raw)
To: lartc
Martin,
I have kind of sussed out what it is...any other port than 25 works fine so
there must be something going on with the client I have. Its a new XP box
with loads of junk loaded on it by Dell :-)
Justin
-----Original Message-----
From: Martin Devera [mailto:devik@cdi.cz]
Sent: 24 May 2002 19:23
To: Justin Owens
Cc: lartc
Subject: RE: [LARTC] Some help please !
hmm they should - what version of htb you have ?
send tc -s ..... [see prev mail]
On Fri, 24 May 2002, Justin Owens wrote:
> And when I do the following:
> I try and send traffic on an un-specified port eg 25 and all the packets
get
> dropped; I though they would default into 1:12 and be allowed through ??
>
> tc qdisc del dev eth1 root
>
> tc qdisc add dev eth1 root handle 1: htb default 12
>
> tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbps ceil 600kbps
> tc class add dev eth1 parent 1: classid 1:2 htb rate 900kbps ceil 900kbps
> tc class add dev eth1 parent 1: classid 1:12 htb rate 12500kbps
>
> tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport
100
> 0xffff flowid 1:1
> tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport
150
> 0xffff flowid 1:2
>
>
> I try and send traffic on an un-specified port eg 25 and all the packets
get
> dropped, I though they would default into 1:12 and be allowed through
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: Martin Devera [mailto:devik@cdi.cz]
> Sent: 24 May 2002 19:05
> To: Justin Owens
> Cc: lartc
> Subject: RE: [LARTC] Some help please !
>
>
> As timer is acurate. And also remember I measure whole frames
> with ethernet header. Depends what measures your meter.
> For long lived traffic (several seconds) you can expect
> about 1packet variation - it is 1% from rate for 100 packets.
> devik
>
> On Fri, 24 May 2002, Justin Owens wrote:
>
> > Right...yeah...578 and 868 and I'm looking for 600 and 900 :-)
> > How accurate would you normally expect HTB to be ??
> >
> >
> >
> > -----Original Message-----
> > From: Martin Devera [mailto:devik@cdi.cz]
> > Sent: 24 May 2002 18:47
> > To: Justin Owens
> > Cc: lartc
> > Subject: Re: [LARTC] Some help please !
> >
> >
> > Ehh and another hint, what is kbps in your mind ? BYTES or BITS ?
> >
> > On Fri, 24 May 2002, Justin Owens wrote:
> >
> > > Hello,
> > >
> > > I am testing HTB using Iperf to generate traffic on a couple of ports
> and
> > > trying to shape the traffic. I am using the script following but my
> > results
> > > don't seem to make sense.
> > > I am seeing 4627Kbps on port 100 and 6944 on port 150.
> > > I'm sure there's a reasonable explaination for this but I can't find
it
> !
> > >
> > > Any help would be appreciated.
> > >
> > > Rgds.
> > > Justin
> > >
> > >
> > > tc qdisc del dev eth1 root
> > >
> > > tc qdisc add dev eth1 root handle 1: htb default 12
> > >
> > > tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbps ceil
> 600kbps
> > > tc class add dev eth1 parent 1: classid 1:2 htb rate 900kbps ceil
> 900kbps
> > >
> > > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip
dport
> > 100
> > > 0xffff flowid 1:1
> > > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip
dport
> > 150
> > > 0xffff flowid 1:2
> > >
> > >
> > >
> > > The information contained in this email is privileged and
confidential,
> > intended only for the use of the individual or entity to whom it is
> > addressed. If the reader of this email is not the intended recipient,
you
> > are hereby notified that any dissemination, distribution or copying of
> this
> > email is strictly prohibited. If you have received this email in error,
> > please notify the sender immediately by email and delete this email. Any
> > views expressed in this email are those of the individual sender unless
> the
> > sender specifically states
> > > This mail was virus scanned by SurfControl.
> > >
> > >
> > > _______________________________________________
> > > LARTC mailing list / LARTC@mailman.ds9a.nl
> > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> > >
> > >
> >
> >
> > The information contained in this email is privileged and confidential,
> intended only for the use of the individual or entity to whom it is
> addressed. If the reader of this email is not the intended recipient, you
> are hereby notified that any dissemination, distribution or copying of
this
> email is strictly prohibited. If you have received this email in error,
> please notify the sender immediately by email and delete this email. Any
> views expressed in this email are those of the individual sender unless
the
> sender specifically states
> > This mail was virus scanned by SurfControl.
> >
> >
> >
> >
>
>
> The information contained in this email is privileged and confidential,
intended only for the use of the individual or entity to whom it is
addressed. If the reader of this email is not the intended recipient, you
are hereby notified that any dissemination, distribution or copying of this
email is strictly prohibited. If you have received this email in error,
please notify the sender immediately by email and delete this email. Any
views expressed in this email are those of the individual sender unless the
sender specifically states
> This mail was virus scanned by SurfControl.
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
>
The information contained in this email is privileged and confidential, intended only for the use of the individual or entity to whom it is addressed. If the reader of this email is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify the sender immediately by email and delete this email. Any views expressed in this email are those of the individual sender unless the sender specifically states
This mail was virus scanned by SurfControl.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [LARTC] Some help please !
2002-05-24 17:15 [LARTC] Some help please ! Justin Owens
` (7 preceding siblings ...)
2002-05-24 18:11 ` Justin Owens
@ 2002-05-24 18:23 ` Martin Devera
2002-05-24 18:51 ` Martin Devera
2002-05-24 18:53 ` Martin Devera
10 siblings, 0 replies; 12+ messages in thread
From: Martin Devera @ 2002-05-24 18:23 UTC (permalink / raw)
To: lartc
hmm they should - what version of htb you have ?
send tc -s ..... [see prev mail]
On Fri, 24 May 2002, Justin Owens wrote:
> And when I do the following:
> I try and send traffic on an un-specified port eg 25 and all the packets get
> dropped; I though they would default into 1:12 and be allowed through ??
>
> tc qdisc del dev eth1 root
>
> tc qdisc add dev eth1 root handle 1: htb default 12
>
> tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbps ceil 600kbps
> tc class add dev eth1 parent 1: classid 1:2 htb rate 900kbps ceil 900kbps
> tc class add dev eth1 parent 1: classid 1:12 htb rate 12500kbps
>
> tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport 100
> 0xffff flowid 1:1
> tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport 150
> 0xffff flowid 1:2
>
>
> I try and send traffic on an un-specified port eg 25 and all the packets get
> dropped, I though they would default into 1:12 and be allowed through
>
>
>
>
>
>
>
>
> -----Original Message-----
> From: Martin Devera [mailto:devik@cdi.cz]
> Sent: 24 May 2002 19:05
> To: Justin Owens
> Cc: lartc
> Subject: RE: [LARTC] Some help please !
>
>
> As timer is acurate. And also remember I measure whole frames
> with ethernet header. Depends what measures your meter.
> For long lived traffic (several seconds) you can expect
> about 1packet variation - it is 1% from rate for 100 packets.
> devik
>
> On Fri, 24 May 2002, Justin Owens wrote:
>
> > Right...yeah...578 and 868 and I'm looking for 600 and 900 :-)
> > How accurate would you normally expect HTB to be ??
> >
> >
> >
> > -----Original Message-----
> > From: Martin Devera [mailto:devik@cdi.cz]
> > Sent: 24 May 2002 18:47
> > To: Justin Owens
> > Cc: lartc
> > Subject: Re: [LARTC] Some help please !
> >
> >
> > Ehh and another hint, what is kbps in your mind ? BYTES or BITS ?
> >
> > On Fri, 24 May 2002, Justin Owens wrote:
> >
> > > Hello,
> > >
> > > I am testing HTB using Iperf to generate traffic on a couple of ports
> and
> > > trying to shape the traffic. I am using the script following but my
> > results
> > > don't seem to make sense.
> > > I am seeing 4627Kbps on port 100 and 6944 on port 150.
> > > I'm sure there's a reasonable explaination for this but I can't find it
> !
> > >
> > > Any help would be appreciated.
> > >
> > > Rgds.
> > > Justin
> > >
> > >
> > > tc qdisc del dev eth1 root
> > >
> > > tc qdisc add dev eth1 root handle 1: htb default 12
> > >
> > > tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbps ceil
> 600kbps
> > > tc class add dev eth1 parent 1: classid 1:2 htb rate 900kbps ceil
> 900kbps
> > >
> > > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport
> > 100
> > > 0xffff flowid 1:1
> > > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport
> > 150
> > > 0xffff flowid 1:2
> > >
> > >
> > >
> > > The information contained in this email is privileged and confidential,
> > intended only for the use of the individual or entity to whom it is
> > addressed. If the reader of this email is not the intended recipient, you
> > are hereby notified that any dissemination, distribution or copying of
> this
> > email is strictly prohibited. If you have received this email in error,
> > please notify the sender immediately by email and delete this email. Any
> > views expressed in this email are those of the individual sender unless
> the
> > sender specifically states
> > > This mail was virus scanned by SurfControl.
> > >
> > >
> > > _______________________________________________
> > > LARTC mailing list / LARTC@mailman.ds9a.nl
> > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> > >
> > >
> >
> >
> > The information contained in this email is privileged and confidential,
> intended only for the use of the individual or entity to whom it is
> addressed. If the reader of this email is not the intended recipient, you
> are hereby notified that any dissemination, distribution or copying of this
> email is strictly prohibited. If you have received this email in error,
> please notify the sender immediately by email and delete this email. Any
> views expressed in this email are those of the individual sender unless the
> sender specifically states
> > This mail was virus scanned by SurfControl.
> >
> >
> >
> >
>
>
> The information contained in this email is privileged and confidential, intended only for the use of the individual or entity to whom it is addressed. If the reader of this email is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify the sender immediately by email and delete this email. Any views expressed in this email are those of the individual sender unless the sender specifically states
> This mail was virus scanned by SurfControl.
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [LARTC] Some help please !
2002-05-24 17:15 [LARTC] Some help please ! Justin Owens
` (8 preceding siblings ...)
2002-05-24 18:23 ` Martin Devera
@ 2002-05-24 18:51 ` Martin Devera
2002-05-24 18:53 ` Martin Devera
10 siblings, 0 replies; 12+ messages in thread
From: Martin Devera @ 2002-05-24 18:51 UTC (permalink / raw)
To: lartc
Hmm interesting. It seems that 11 packets was really enqueued into class
12. How many packets do you sent to the 25 ?
Please send me also
tc -s -d qdisc
output. devik
On Fri, 24 May 2002, Justin Owens wrote:
> I'm using htb3.3-020512
>
> Here's the tc-s...
>
> [root@htb /root]# tc -s class show dev eth1
> class htb 1:1 root prio 0 rate 4800Kbit ceil 4800Kbit burst 7743b cburst
> 7743b
> Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
> lended: 0 borrowed: 0 giants: 0
> tokens: 10325 ctokens: 10325
>
> class htb 1:2 root prio 0 rate 7200Kbit ceil 7200Kbit burst 10814b cburst
> 10814b
> Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
> lended: 0 borrowed: 0 giants: 0
> tokens: 9614 ctokens: 9614
>
> class htb 1:12 root prio 0 rate 100000Kbit ceil 100000Kbit burst 129587b
> cburst 129587b
> Sent 568 bytes 11 pkts (dropped 0, overlimits 0)
> lended: 11 borrowed: 0 giants: 0
> tokens: 8289 ctokens: 8289
> -----Original Message-----
> From: Martin Devera [mailto:devik@cdi.cz]
> Sent: 24 May 2002 19:23
> To: Justin Owens
> Cc: lartc
> Subject: RE: [LARTC] Some help please !
>
>
> hmm they should - what version of htb you have ?
> send tc -s ..... [see prev mail]
>
> On Fri, 24 May 2002, Justin Owens wrote:
>
> > And when I do the following:
> > I try and send traffic on an un-specified port eg 25 and all the packets
> get
> > dropped; I though they would default into 1:12 and be allowed through ??
> >
> > tc qdisc del dev eth1 root
> >
> > tc qdisc add dev eth1 root handle 1: htb default 12
> >
> > tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbps ceil 600kbps
> > tc class add dev eth1 parent 1: classid 1:2 htb rate 900kbps ceil 900kbps
> > tc class add dev eth1 parent 1: classid 1:12 htb rate 12500kbps
> >
> > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport
> 100
> > 0xffff flowid 1:1
> > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport
> 150
> > 0xffff flowid 1:2
> >
> >
> > I try and send traffic on an un-specified port eg 25 and all the packets
> get
> > dropped, I though they would default into 1:12 and be allowed through
> >
> >
> >
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: Martin Devera [mailto:devik@cdi.cz]
> > Sent: 24 May 2002 19:05
> > To: Justin Owens
> > Cc: lartc
> > Subject: RE: [LARTC] Some help please !
> >
> >
> > As timer is acurate. And also remember I measure whole frames
> > with ethernet header. Depends what measures your meter.
> > For long lived traffic (several seconds) you can expect
> > about 1packet variation - it is 1% from rate for 100 packets.
> > devik
> >
> > On Fri, 24 May 2002, Justin Owens wrote:
> >
> > > Right...yeah...578 and 868 and I'm looking for 600 and 900 :-)
> > > How accurate would you normally expect HTB to be ??
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Martin Devera [mailto:devik@cdi.cz]
> > > Sent: 24 May 2002 18:47
> > > To: Justin Owens
> > > Cc: lartc
> > > Subject: Re: [LARTC] Some help please !
> > >
> > >
> > > Ehh and another hint, what is kbps in your mind ? BYTES or BITS ?
> > >
> > > On Fri, 24 May 2002, Justin Owens wrote:
> > >
> > > > Hello,
> > > >
> > > > I am testing HTB using Iperf to generate traffic on a couple of ports
> > and
> > > > trying to shape the traffic. I am using the script following but my
> > > results
> > > > don't seem to make sense.
> > > > I am seeing 4627Kbps on port 100 and 6944 on port 150.
> > > > I'm sure there's a reasonable explaination for this but I can't find
> it
> > !
> > > >
> > > > Any help would be appreciated.
> > > >
> > > > Rgds.
> > > > Justin
> > > >
> > > >
> > > > tc qdisc del dev eth1 root
> > > >
> > > > tc qdisc add dev eth1 root handle 1: htb default 12
> > > >
> > > > tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbps ceil
> > 600kbps
> > > > tc class add dev eth1 parent 1: classid 1:2 htb rate 900kbps ceil
> > 900kbps
> > > >
> > > > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip
> dport
> > > 100
> > > > 0xffff flowid 1:1
> > > > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip
> dport
> > > 150
> > > > 0xffff flowid 1:2
> > > >
> > > >
> > > >
> > > > The information contained in this email is privileged and
> confidential,
> > > intended only for the use of the individual or entity to whom it is
> > > addressed. If the reader of this email is not the intended recipient,
> you
> > > are hereby notified that any dissemination, distribution or copying of
> > this
> > > email is strictly prohibited. If you have received this email in error,
> > > please notify the sender immediately by email and delete this email. Any
> > > views expressed in this email are those of the individual sender unless
> > the
> > > sender specifically states
> > > > This mail was virus scanned by SurfControl.
> > > >
> > > >
> > > > _______________________________________________
> > > > LARTC mailing list / LARTC@mailman.ds9a.nl
> > > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> > > >
> > > >
> > >
> > >
> > > The information contained in this email is privileged and confidential,
> > intended only for the use of the individual or entity to whom it is
> > addressed. If the reader of this email is not the intended recipient, you
> > are hereby notified that any dissemination, distribution or copying of
> this
> > email is strictly prohibited. If you have received this email in error,
> > please notify the sender immediately by email and delete this email. Any
> > views expressed in this email are those of the individual sender unless
> the
> > sender specifically states
> > > This mail was virus scanned by SurfControl.
> > >
> > >
> > >
> > >
> >
> >
> > The information contained in this email is privileged and confidential,
> intended only for the use of the individual or entity to whom it is
> addressed. If the reader of this email is not the intended recipient, you
> are hereby notified that any dissemination, distribution or copying of this
> email is strictly prohibited. If you have received this email in error,
> please notify the sender immediately by email and delete this email. Any
> views expressed in this email are those of the individual sender unless the
> sender specifically states
> > This mail was virus scanned by SurfControl.
> >
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> >
> >
>
>
> The information contained in this email is privileged and confidential, intended only for the use of the individual or entity to whom it is addressed. If the reader of this email is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify the sender immediately by email and delete this email. Any views expressed in this email are those of the individual sender unless the sender specifically states
> This mail was virus scanned by SurfControl.
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: [LARTC] Some help please !
2002-05-24 17:15 [LARTC] Some help please ! Justin Owens
` (9 preceding siblings ...)
2002-05-24 18:51 ` Martin Devera
@ 2002-05-24 18:53 ` Martin Devera
10 siblings, 0 replies; 12+ messages in thread
From: Martin Devera @ 2002-05-24 18:53 UTC (permalink / raw)
To: lartc
Ok .. XP ehh yes really nice system for every spy.
On Fri, 24 May 2002, Justin Owens wrote:
> Martin,
> I have kind of sussed out what it is...any other port than 25 works fine so
> there must be something going on with the client I have. Its a new XP box
> with loads of junk loaded on it by Dell :-)
> Justin
>
>
>
> -----Original Message-----
> From: Martin Devera [mailto:devik@cdi.cz]
> Sent: 24 May 2002 19:23
> To: Justin Owens
> Cc: lartc
> Subject: RE: [LARTC] Some help please !
>
>
> hmm they should - what version of htb you have ?
> send tc -s ..... [see prev mail]
>
> On Fri, 24 May 2002, Justin Owens wrote:
>
> > And when I do the following:
> > I try and send traffic on an un-specified port eg 25 and all the packets
> get
> > dropped; I though they would default into 1:12 and be allowed through ??
> >
> > tc qdisc del dev eth1 root
> >
> > tc qdisc add dev eth1 root handle 1: htb default 12
> >
> > tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbps ceil 600kbps
> > tc class add dev eth1 parent 1: classid 1:2 htb rate 900kbps ceil 900kbps
> > tc class add dev eth1 parent 1: classid 1:12 htb rate 12500kbps
> >
> > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport
> 100
> > 0xffff flowid 1:1
> > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip dport
> 150
> > 0xffff flowid 1:2
> >
> >
> > I try and send traffic on an un-specified port eg 25 and all the packets
> get
> > dropped, I though they would default into 1:12 and be allowed through
> >
> >
> >
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: Martin Devera [mailto:devik@cdi.cz]
> > Sent: 24 May 2002 19:05
> > To: Justin Owens
> > Cc: lartc
> > Subject: RE: [LARTC] Some help please !
> >
> >
> > As timer is acurate. And also remember I measure whole frames
> > with ethernet header. Depends what measures your meter.
> > For long lived traffic (several seconds) you can expect
> > about 1packet variation - it is 1% from rate for 100 packets.
> > devik
> >
> > On Fri, 24 May 2002, Justin Owens wrote:
> >
> > > Right...yeah...578 and 868 and I'm looking for 600 and 900 :-)
> > > How accurate would you normally expect HTB to be ??
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Martin Devera [mailto:devik@cdi.cz]
> > > Sent: 24 May 2002 18:47
> > > To: Justin Owens
> > > Cc: lartc
> > > Subject: Re: [LARTC] Some help please !
> > >
> > >
> > > Ehh and another hint, what is kbps in your mind ? BYTES or BITS ?
> > >
> > > On Fri, 24 May 2002, Justin Owens wrote:
> > >
> > > > Hello,
> > > >
> > > > I am testing HTB using Iperf to generate traffic on a couple of ports
> > and
> > > > trying to shape the traffic. I am using the script following but my
> > > results
> > > > don't seem to make sense.
> > > > I am seeing 4627Kbps on port 100 and 6944 on port 150.
> > > > I'm sure there's a reasonable explaination for this but I can't find
> it
> > !
> > > >
> > > > Any help would be appreciated.
> > > >
> > > > Rgds.
> > > > Justin
> > > >
> > > >
> > > > tc qdisc del dev eth1 root
> > > >
> > > > tc qdisc add dev eth1 root handle 1: htb default 12
> > > >
> > > > tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbps ceil
> > 600kbps
> > > > tc class add dev eth1 parent 1: classid 1:2 htb rate 900kbps ceil
> > 900kbps
> > > >
> > > > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip
> dport
> > > 100
> > > > 0xffff flowid 1:1
> > > > tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip
> dport
> > > 150
> > > > 0xffff flowid 1:2
> > > >
> > > >
> > > >
> > > > The information contained in this email is privileged and
> confidential,
> > > intended only for the use of the individual or entity to whom it is
> > > addressed. If the reader of this email is not the intended recipient,
> you
> > > are hereby notified that any dissemination, distribution or copying of
> > this
> > > email is strictly prohibited. If you have received this email in error,
> > > please notify the sender immediately by email and delete this email. Any
> > > views expressed in this email are those of the individual sender unless
> > the
> > > sender specifically states
> > > > This mail was virus scanned by SurfControl.
> > > >
> > > >
> > > > _______________________________________________
> > > > LARTC mailing list / LARTC@mailman.ds9a.nl
> > > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> > > >
> > > >
> > >
> > >
> > > The information contained in this email is privileged and confidential,
> > intended only for the use of the individual or entity to whom it is
> > addressed. If the reader of this email is not the intended recipient, you
> > are hereby notified that any dissemination, distribution or copying of
> this
> > email is strictly prohibited. If you have received this email in error,
> > please notify the sender immediately by email and delete this email. Any
> > views expressed in this email are those of the individual sender unless
> the
> > sender specifically states
> > > This mail was virus scanned by SurfControl.
> > >
> > >
> > >
> > >
> >
> >
> > The information contained in this email is privileged and confidential,
> intended only for the use of the individual or entity to whom it is
> addressed. If the reader of this email is not the intended recipient, you
> are hereby notified that any dissemination, distribution or copying of this
> email is strictly prohibited. If you have received this email in error,
> please notify the sender immediately by email and delete this email. Any
> views expressed in this email are those of the individual sender unless the
> sender specifically states
> > This mail was virus scanned by SurfControl.
> >
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> >
> >
>
>
> The information contained in this email is privileged and confidential, intended only for the use of the individual or entity to whom it is addressed. If the reader of this email is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify the sender immediately by email and delete this email. Any views expressed in this email are those of the individual sender unless the sender specifically states
> This mail was virus scanned by SurfControl.
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2002-05-24 18:53 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-24 17:15 [LARTC] Some help please ! Justin Owens
2002-05-24 17:26 ` Justin Owens
2002-05-24 17:46 ` Martin Devera
2002-05-24 17:46 ` Martin Devera
2002-05-24 17:50 ` Stef Coene
2002-05-24 17:52 ` Justin Owens
2002-05-24 18:02 ` Justin Owens
2002-05-24 18:05 ` Martin Devera
2002-05-24 18:11 ` Justin Owens
2002-05-24 18:23 ` Martin Devera
2002-05-24 18:51 ` Martin Devera
2002-05-24 18:53 ` Martin Devera
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.