From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Kierdelewicz Date: Sun, 20 Aug 2006 09:23:16 +0000 Subject: Re: [LARTC] Handle limit in filter Message-Id: <20060820112316.2fa86329@localhost.localdomain> List-Id: References: <17637.48829.494838.331967@mail.linux-delhi.org> In-Reply-To: <17637.48829.494838.331967@mail.linux-delhi.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org > 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. >=20 > 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. >=20 > Kajetan> To change speed limit of single host in network I'm using > Kajetan> `tc class change`, which goes fast. >=20 > 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. >=20 > Regards, >=20 > -- Raju Regards, --=20 Marek Kierdelewicz Kierownik Dzia?u System=F3w Sieciowych, KoBa Manager of Network Systems Department, KoBa tel. (85) 7406466; fax. (85) 7406467 e-mail: admin@koba.pl _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc