Re: filter ingress policy rates -> slow!!

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El Viernes, 2 de Julio de 2004 03:46, gypsy escribió:
> 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 
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. 

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 
menu. BTW, I'll tell you that many operations work fine, but there'are some 
(as the one's Ive just refered to) that are rather slow.

Now, let's see what is the maximun ssh speed:
# scp 
edulix@xxxxxxxxxxx:/home/edulix/videos/prodigy90_med.mpg /home/edulix/temp/
Warning: Permanently added '192.168.0.7' (RSA) to the list of known hosts.
edulix@xxxxxxxxxxx's password:
prodigy90_med.mpg                                     11%  992KB  45.0KB/s   

Mamma mia! That must demostrate the problem hehe. In normal conditions that 
video is transfered in less than 3 seconds at 7-8 Mb/s! After doing that, I 
can see:
# tc -s -d qdisc
qdisc ingress ffff: dev eth0 ----------------
 Sent 30133742 bytes 88401 pkts (dropped 4792, overlimits 0)

Cheers,
          Edulix.
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux