Re: Handle limit in filter

Linux Advanced Routing and Traffic Control

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

 



>     Kajetan> I'm generating huge tc setup from database and loading it
>     Kajetan> (which takes significant amount of time) only on router
>     Kajetan> startup or reloading whole router configuration.
> 
> As I suspected... I wonder if Marek's solution would work in a
> significantly dynamic environment? Any thoughts Marek?

Just try it... Generating large file with tc classes and filters and
then loading it with "tc -b" takes less then 1s on most system.

If you're worried about active connections - don't be. Shaping restart
won't break them.

I use this solution on routers with thousands of filters and classess
and full restart intervals as low 1 min. It works well.

> 
>     Kajetan> To change speed limit of single host in network I'm using
>     Kajetan> `tc class change`, which goes fast.
> 
> I have to keep adding and deleting classes as users login and logout.
> I'm afraid change is not an option for me.

Whatever you do, change/add/delete you can always pack commands in one
file and load them with "tc -b". Again, it's faster.

> 
> Regards,
> 
> -- Raju

Regards,
-- 
Marek Kierdelewicz
Kierownik Dzia?u Systemów Sieciowych, KoBa
Manager of Network Systems Department, KoBa
tel. (85) 7406466; fax. (85) 7406467
e-mail: admin@xxxxxxx
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


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