mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-12-03 13:20:16 -05:00
Added queue config to documentation
This commit is contained in:
parent
efb8c8500d
commit
8c08b9ce09
29 changed files with 230 additions and 91 deletions
|
|
@ -1484,4 +1484,30 @@ 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue