Hi Vinh, I''ve noticed the same thing some months ago and
couldn''t figure
out why. The workarround for this is to use half speed in your
"upload" classes... It seens that it just happens to outgoing traffic
(ingress or not).
Maybe somone else can explian it... I just figured out the same problem...
Andre
Vinh Nguyen wrote:> Hi,
>
> I''m trying to police the incoming traffic by using ingress
qdisc,this is what I have in my script
>
> tc qdisc add dev eth0 handle ffff: ingress
>
> tc filter add dev eth0 parent ffff: protocol ip prio 4 \
> handle 1: u32 divisor 1
>
> tc filter add dev eth0 parent ffff: protocol ip prio 4 u32 \
> match ip dport 4001 0xffff \
> police rate 2000kbit burst 50k drop \
> flowid 1:1
>
> I''m sending a 9Mb traffic using iperf but noticed that the
bandwith at the receiving end is 4 MB instead of 2M. When Im changing the police
rate to 3MB, the traffic at the receiving end is 6MB. Any ideas why does this
happen? Your help is greatly appreciated.
>
> Vince
>
>
>
> UTS CRICOS Provider Code: 00099F
>
> DISCLAIMER
> =======================================================================>
This email message and any accompanying attachments may contain
> confidential information. If you are not the intended recipient, do not
> read, use, disseminate, distribute or copy this message or attachments.
> If you have received this message in error, please notify the sender
> immediately and delete this message. Any views expressed in this message
> are those of the individual sender, except where the sender expressly,
> and with authority, states them to be the views the University of
> Technology Sydney. Before opening any attachments, please check them for
> viruses and defects.
> =======================================================================>
> _______________________________________________
> 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/