bind9/bin/tests
Ondřej Surý 231b2375e5
Create a second pruning task for rbtdb with unlimited quantum
Previously, rbtdb->task had quantum of 1 because it was originally used
just for freeing RBTDB contents, which can happen on a "best effort"
basis (does not need to be prioritized).  However, when tree pruning was
implemented, it also started sending events to that task, enabling the
latter to become clogged up with a significant event backlog because it
only pruned a single RBTDB node per event.

To prioritize tree pruning (as it is necessary for enforcing the
configured memory use limit for the cache memory context), create a
second task with a virtually unlimited quantum (UINT_MAX) and send the
tree-pruning events to this new task, to ensure that all nodes scheduled
for pruning will be processed before further nodes are queued in a
similar fashion.

This change enables dropping the prunenodes list and restoring the
originally-used logic that allocates and sends a separate event for each
node to prune.
2024-03-06 17:11:14 +01:00
..
startperf Reformat shell scripts with shfmt 2023-10-26 13:05:00 +02:00
system Create a second pruning task for rbtdb with unlimited quantum 2024-03-06 17:11:14 +01:00
testdata/wire move all optional tests from bin/tests to bin/tests/optional 2018-03-09 14:12:47 -08:00
.gitignore Refactor TLSDNS module to work with libuv/ssl directly 2021-01-25 09:19:22 +01:00
convert-trs-to-junit.py Auto-format Python files with black 2022-06-08 13:18:27 +02:00
Makefile.am Fix JUnit test status generator for out-of-tree system tests 2022-09-22 16:17:25 +02:00
test_client.c DoT: implement TLS client session resumption 2022-06-15 17:02:45 +03:00
test_server.c Rename yield() to the test_server_yield() 2022-04-27 20:13:24 +03:00
wire_test.c Adjust message buffer sizes in test code 2023-11-16 12:22:08 +11:00