* [LARTC] Re: htb filter
@ 2004-06-24 4:37 lartc
2004-06-28 18:01 ` Stef Coene
0 siblings, 1 reply; 2+ messages in thread
From: lartc @ 2004-06-24 4:37 UTC (permalink / raw)
To: lartc
Jason Boxman writes:
> On Wednesday 23 June 2004 01:57, Svetozar Mihailov wrote:
>> > Shouldn't this:
>> > > tc class add dev eth0 parent 2:0 classid 2:200 htb rate 100Mbit prio 10
>> >
>> > be "parent 2:"?
>> >
>> > Ed W
>>
>> That change nothing. I have running system with 800 PC , 4 classes for
>> each. There is no difference for me in using "parent 2:" vs "parent 2:0".
>> Both give same result.
>
> Exactly. 2: is simply a short hand for 2:0, for example.
>
And is someone have idea how to list current configuration? I want to wrote
similar to 'iptables-save' but for tc. In my running config there are about
3200 classes and 4000 filters. The script I generate is 1.2Mbytes and need
45 seconds to apply. I want to speedup this process with some kind of
tc-save and tc-restore.
Regards,
Svetozar.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] Re: htb filter
2004-06-24 4:37 [LARTC] Re: htb filter lartc
@ 2004-06-28 18:01 ` Stef Coene
0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2004-06-28 18:01 UTC (permalink / raw)
To: lartc
On Thursday 24 June 2004 06:37, lartc@pro-technica.com wrote:
> Jason Boxman writes:
> > On Wednesday 23 June 2004 01:57, Svetozar Mihailov wrote:
> >> > Shouldn't this:
> >> > > tc class add dev eth0 parent 2:0 classid 2:200 htb rate 100Mbit prio
> >> > > 10
> >> >
> >> > be "parent 2:"?
> >> >
> >> > Ed W
> >>
> >> That change nothing. I have running system with 800 PC , 4 classes for
> >> each. There is no difference for me in using "parent 2:" vs "parent
> >> 2:0". Both give same result.
> >
> > Exactly. 2: is simply a short hand for 2:0, for example.
>
> And is someone have idea how to list current configuration? I want to wrote
> similar to 'iptables-save' but for tc. In my running config there are about
> 3200 classes and 4000 filters. The script I generate is 1.2Mbytes and need
> 45 seconds to apply. I want to speedup this process with some kind of
> tc-save and tc-restore.
I wrote some scripts to save the running configuration, but it is integrated
in other, buggy, bloated script. The major problem is recognizing the
different options and qdiscs/classes.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-06-28 18:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-24 4:37 [LARTC] Re: htb filter lartc
2004-06-28 18:01 ` Stef Coene
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox