freebsd-dev/sys/net/altq
Patrick Kelsey 8f2ac65690 Reduce the time it takes the kernel to install a new PF config containing a large number of queues
In general, the time savings come from separating the active and
inactive queues lists into separate interface and non-interface queue
lists, and changing the rule and queue tag management from list-based
to hash-bashed.

In HFSC, a linear scan of the class table during each queue destroy
was also eliminated.

There are now two new tunables to control the hash size used for each
tag set (default for each is 128):

net.pf.queue_tag_hashsize
net.pf.rule_tag_hashsize

Reviewed by:	kp
MFC after:	1 week
Sponsored by:	RG Nets
Differential Revision:	https://reviews.freebsd.org/D19131
2019-02-11 05:17:31 +00:00
..
altq_cbq.c Reduce the time it takes the kernel to install a new PF config containing a large number of queues 2019-02-11 05:17:31 +00:00
altq_cbq.h altq: remove ALTQ3_COMPAT code 2018-12-04 23:46:43 +00:00
altq_cdnr.h
altq_classq.h
altq_codel.c Reduce the time it takes the kernel to install a new PF config containing a large number of queues 2019-02-11 05:17:31 +00:00
altq_codel.h Extended pf(4) ioctl interface and pfctl(8) to allow bandwidths of 2018-08-22 19:38:48 +00:00
altq_fairq.c Reduce the time it takes the kernel to install a new PF config containing a large number of queues 2019-02-11 05:17:31 +00:00
altq_fairq.h Extended pf(4) ioctl interface and pfctl(8) to allow bandwidths of 2018-08-22 19:38:48 +00:00
altq_hfsc.c Reduce the time it takes the kernel to install a new PF config containing a large number of queues 2019-02-11 05:17:31 +00:00
altq_hfsc.h Reduce the time it takes the kernel to install a new PF config containing a large number of queues 2019-02-11 05:17:31 +00:00
altq_priq.c Reduce the time it takes the kernel to install a new PF config containing a large number of queues 2019-02-11 05:17:31 +00:00
altq_priq.h altq: remove ALTQ3_COMPAT code 2018-12-04 23:46:43 +00:00
altq_red.c altq: remove ALTQ3_COMPAT code 2018-12-04 23:46:43 +00:00
altq_red.h altq: remove ALTQ3_COMPAT code 2018-12-04 23:46:43 +00:00
altq_rio.c altq: remove ALTQ3_COMPAT code 2018-12-04 23:46:43 +00:00
altq_rio.h altq: remove ALTQ3_COMPAT code 2018-12-04 23:46:43 +00:00
altq_rmclass_debug.h
altq_rmclass.c altq: remove ALTQ3_COMPAT code 2018-12-04 23:46:43 +00:00
altq_rmclass.h Fix flags collision causing inability to enable CBQ in ALTQ 2018-11-16 03:42:29 +00:00
altq_subr.c Reduce the time it takes the kernel to install a new PF config containing a large number of queues 2019-02-11 05:17:31 +00:00
altq_var.h Reduce the time it takes the kernel to install a new PF config containing a large number of queues 2019-02-11 05:17:31 +00:00
altq.h altq: remove ALTQ3_COMPAT code 2018-12-04 23:46:43 +00:00
if_altq.h