[LARTC] filter ingress policy rates -> slow!!
Edulix
edulix@tumundoweb.com
Fri, 2 Jul 2004 10:36:28 +0200
El Viernes, 2 de Julio de 2004 03:46, gypsy escribi=F3:
> Edulix wrote:
> > (That command starts *only* ingress policies)
> > [root@k12ltsp-server root]# tc -s -d qdisc
> > qdisc ingress ffff: dev eth0 ----------------
> > Sent 384 bytes 3 pkts (dropped 0, overlimits 0)
> > [root@k12ltsp-server root]#
>
> This is a joke? You have not demonstrated any slowdown.
Sorry, I didn't undertand very well the thing :-P. Also, I haven't got=20
permanent access to other's pc of the network (they're not mine
;-)!) and that's the reason because I posted the counters as is.=20
Anyway, here you can all see the problem:
# tc -s -d qdisc
qdisc ingress ffff: dev eth0 ----------------
Sent 5109350 bytes 13696 pkts (dropped 935, overlimits 0)
And the only tc rules I executed were:
tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip prio 10 u32 \
match ip src 192.168..0.0/24 \
match ip dst 192.168..0.0/24 \
police rate 100mbit burst 10k drop flowid :2
In this test I did is just overing the kde's taskbar and clicking in the K=
=20
menu. BTW, I'll tell you that many operations work fine, but there'are some=
=20
(as the one's Ive just refered to) that are rather slow.
Now, let's see what is the maximun ssh speed:
# scp=20
edulix@192.168.0.7:/home/edulix/videos/prodigy90_med.mpg /home/edulix/temp/
Warning: Permanently added '192.168.0.7' (RSA) to the list of known hosts.
edulix@192.168.0.7's password:
prodigy90_med.mpg 11% 992KB 45.0KB/s =
=20
Mamma mia! That must demostrate the problem hehe. In normal conditions that=
=20
video is transfered in less than 3 seconds at 7-8 Mb/s! After doing that, I=
=20
can see:
# tc -s -d qdisc
qdisc ingress ffff: dev eth0 ----------------
Sent 30133742 bytes 88401 pkts (dropped 4792, overlimits 0)
Cheers,
Edulix.