[LARTC] Handle limit in filter
Marek Kierdelewicz
marek at piasta.pl
Sun Aug 20 11:23:16 CEST 2006
> 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 at koba.pl
More information about the LARTC
mailing list