[LARTC] Re: filter performance/optimization questions (Imre Gergely)

2006-02-14 Thread Paweł Staszewski
Can you also post : mpstat -P ALL 1 20 iostat -x 1 10 and opreport --symbols ?? ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Re: [LARTC] P4 dual core vs AMD64 dual core with HTB

2006-01-30 Thread Paweł Staszewski
Hi All, Please for some advice. I have Linux router that do traffic control with HTB , routing and traffic counting. currently machine is with P4 2.2GHZ 1GB RAM. I plan to migrate to dual core CPU. I know well P4 dual core but is it anybody has experience with AMD64 dual core / or single core /

Re: [LARTC] action redirect and dummy interface

2005-11-11 Thread Paweł Staszewski
Andy Furniss wrote: Paweł Staszewski wrote: That patch didn't go into kernel and was superseeded by another version which I attach - but AFAIK it's still not in kernel yet and jamal is still working on it. Ok thanks i try your attached patch tommorow and try to do some tests.

Re: [LARTC] action redirect and dummy interface

2005-11-11 Thread Paweł Staszewski
Andy Furniss wrote: Paweł Staszewski wrote: Hello i have some problems on 2.6.14 kernel dummy and iproute :) i have server with 2 nics : eth0 <> inet eth1 <> lan dummy0 (i want to shape incoming traffic from lan machine on this interface) OK but the script sends both egress

[LARTC] action redirect and dummy interface

2005-11-10 Thread Paweł Staszewski
Hello i have some problems on 2.6.14 kernel dummy and iproute :) i have server with 2 nics : eth0 <> inet eth1 <> lan dummy0 (i want to shape incoming traffic from lan machine on this interface) my config: tc qdisc del dev dummy0 root tc qdisc add dev dummy0 root handle 1: htb tc class add de

[LARTC] action redirect and dummy interface

2005-11-10 Thread Paweł Staszewski
Hello i have some problems on 2.6.14 kernel dummy and iproute :) i have server with 2 nics : eth0 <> inet eth1 <> lan dummy0 (i want to shape incoming traffic from lan machine on this interface) my config: tc qdisc del dev dummy0 root tc qdisc add dev dummy0 root handle 1: htb tc class add de

[LARTC] Odp: LARTC Digest, Vol 5, Issue 34

2005-07-16 Thread Paweł Staszewski
Hello Yes i have separate class for every user, every class have pfifp qdisc. User direction shaping: tc -s -d qdisc show dev eth2 | grep pfifo |wc -l 3959 Internet direction shaping: tc -s -d qdisc show dev vlan0891 | grep pfifo |wc -l 3959 Nat: iptables -L -n -v -t nat | grep SNAT | wc -l 395

Re: [LARTC] Use of qcdisc+htb

2005-07-15 Thread Paweł Staszewski
Hello I have 40Mbit/s internet uplink Average transfer 25Mbit/s - 3957 users On machine: - CPU 3.2GHz P4 +HT enabled - 2GB RAM - Intel GB cards Machine is doing nat/dnat for each user so there is 3957 DNAT/SNAT ip pairs (private to public and vice versa) Machine load is 0.1 avg And no any pro

Re: [LARTC] How many (htb) tc classes and qdiscs are too many?

2005-06-03 Thread Paweł Staszewski
Peak bw is 32Mbit/s Average bw 25Mbit/s Machine is doing also SNAT to all clients: iptables -L -n -v -t nat | grep SNAT | wc -l 4465 Some example script which i use for hashing filters is in attachement. Best Regards Paweł Staszewski ART-COM +48327522333 +480609183038 >>>[EMAIL

[LARTC] WRR problem and other things

2004-08-31 Thread Paweł Staszewski
exist tc filter add dev imq1 parent 1:0 protocol ip prio 2 u32 match ip dst 1.1.1.1 flowid 1:2050 RTNETLINK answers: File exist   So classes are added corectly but filters not. WHY   Please help me   Regards Paweł Staszewski

[LARTC] Limit filters

2004-05-05 Thread Paweł Staszewski
it is posible to do more than 2048 filter rules and classes like this:       /sbin/tc class add dev eth1 parent 1:15 classid 1:101 htb rate 1kbit ceil 6128kbit prio 1 quantum 1500    /sbin/tc filter add dev eth1 protocol ip pref 0 parent 1: u32 match ip dst 10.10.24.17 flowid 1:101