Added queue config to documentation

This commit is contained in:
Mark Qvist 2026-08-18 11:45:34 +02:00
parent efb8c8500d
commit 8c08b9ce09
No known key found for this signature in database
29 changed files with 230 additions and 91 deletions

View file

@ -1567,4 +1567,34 @@ but all the parameters are exposed for configuration if needed.
All of the above settings can be configured both as instance-wide defaults
under the ``[reticulum]`` section of the configuration file, or on a per-
interface basis under the relevant interface configuration section.
interface basis under the relevant interface configuration section.
Tuning Ingress Queues
=====================
Reticulum uses separate, prioritized queues for processing inbound packets. The default four queues are drained in the following order:
1. Data and general traffic
2. Announces
3. Path requests
4. Ingress-limited traffic
You can tune the queue sizes from the defaults, for example if you're setup where you want to simply drop most traffic from ingress-limited interfaces. The queue sizes are configured in the ``[reticulum]`` section of the config
* | The ``qlen_in_data`` option sets the maximum size of the data
queue. Defaults to ``4096``.
* | The ``qlen_in_announce`` option sets the maximum size of the announce
queue. Defaults to ``256``.
* | The ``qlen_in_pr`` option sets the maximum size of the data
queue. Defaults to ``256``.
* | The ``qlen_in_il`` option sets the maximum size of the data
queue. Defaults to ``128``.
If an inbound packet arrives and its target queue is full, the packet is dropped. Reticulum will always completely drain higher-priority queues before starting to drain a lower-priority one. As an example, the ingress limiter queue will only start draining once all other queues are empty.