On Fri, 2009-04-03 at 02:19 -0700, Tatulescu Andrei wrote:
> Salut,
> 
> Se da urmatoarea configuratie de server :
> 
> - server hp cu 2 procesoare intel xeon la 3,2 Ghz
> - 2 GB de ram
> - 2 placi de retea Intel MT dual port gigabit
> - OS : debian 5.0, kernel default 2.6.26-1-686
> 
> 
> In acest moment prin acest server limitez un trafic de 200 - 300 Mbps si 
> aprox 15 - 20 clase de ip-uri. Problema este ca am foarte mare load-ul pe 
> procesor, in categoria si (80%-90%), atunci cand sunt on limitarile. Am citit 
> la lartc.org faptul ca trebuie sa folosesc hash-uri pentru a scadea dramatic 
> load-ul pe procesor si astfel am trecut la implementarea acestor hash-uri, 
> dar in momentul in care dau comanda :
> tc filter add dev eth0 parent 1: prio 15 u32 ht 800:: match ip dst 0/0 
> hashkey mask 0x0000ff00 at 16 link 99:
> 

tc filter add dev eth0 protocol ip parent 1: prio 15 u32 ht 800:: \
        match ip dst 0/0 hashkey mask 0x0000ff00 at 16 link 99:

sau

tc filter add dev eth0 protocol ip parent 1: prio 15 u32 ht 800:: \
        match u32 0 0 hashkey mask 0x0000ff00 at 16 link 99:

Vezi si:

http://lartc.org/howto/lartc.adv-filter.hashing.html
http://marc.info/?l=lartc&m=106969774615956&w=2
http://fixunix.com/networking/553270-tc-filter-fw-2-6-26-7-problem.html

Ducu

> 

> primesc urmatoarea eroare :
> 
> RTNETLINK answers: Invalid argument
> We have an error talking to the kernel
> 
> Am inteles ca sunt anumite lucruri care trebuiesc setate in kernel dar nu 
> stiu exact ce si cum. Ma poate ajuta cineva sa rezolv aceasta problema ?
> 
>  ----------------
> Cu respect,
> Andrei Tatulescu
> 
> 
> 
>       
> _______________________________________________
> RLUG mailing list
> [email protected]
> http://lists.lug.ro/mailman/listinfo/rlug


_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui