On Wed, Jan 16, 2008 at 12:46:02AM +0300, [EMAIL PROTECTED] wrote: ... > Hmmm... i found way to fix this for me... but its not look good > > Scheme look like: > Root - prio bands 3 priomap 0 0 0 0 .... > --- Class 1 > --- Class 2 > -------- Copy of all table (Last this qdisc be root) > --- Class 3 > -------- Copy of all table (Last this qdisc be root) > > 2. Add filter to root - flowid all packets to class 2 > 3. Delete qdisc at class 3 > 4. Create all table on class 3 (~20k qdiscs and 20k classes) > 5. Replace filter on root - flowid all packets to class 3 > 6. If need update go to step 3, but use class 2 > > All work good... and packets not dropeed =) > But i have above 45 k classes and qdiscs.... After some time i will need > patch to up max qdisc and classes more then 65k (> 0xfffe) =))) > Also i have very bad TC commands performance then i have more then 10k rules.
Right! I get your idea (not all details...), and this really shows there is needed something simpler for this. Thanks, Jarek P. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html