[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Please review & test this
- To: freebsd-pf_(_at_)_freebsd_(_dot_)_org, freebsd-net_(_at_)_freebsd_(_dot_)_org
- Subject: Please review & test this
- From: Vlad GALU <vladgalu_(_at_)_gmail_(_dot_)_com>
- Date: Fri, 10 Jun 2005 00:12:07 +0300
- Reply-to: Vlad GALU <vladgalu_(_at_)_gmail_(_dot_)_com>
As you may all know, the packet classifier in ALTQ is very
slow on large numbers of classes, because it stores them linearly, in
an array. I rewrote the way classes are stored, replacing the array
with a hash table. I tested  on a system with about 8000 classes
and noticed a remarkable performance difference (the system went from
almost unusable to nice & smooth). It breaks the ABI by adding an
extra TAILQ_ENTRY member to the HFSC class structure, though. If
anyone reviews and tests it, I would be grateful.
P.S. please keep in mind that I'm not exactly a black belt in kernel
programming, so glitches might exist. I would be most happy to hear
If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.
freebsd-pf_(_at_)_freebsd_(_dot_)_org mailing list
To unsubscribe, send any mail to "freebsd-pf-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org