mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-12-03 21:30:08 -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
|
|
@ -183,6 +183,7 @@ to participate in the development of Reticulum itself.
|
|||
* [Announce Rate Control](interfaces.md#announce-rate-control)
|
||||
* [New Destination Rate Limiting](interfaces.md#new-destination-rate-limiting)
|
||||
* [Path Request Burst Control](interfaces.md#path-request-burst-control)
|
||||
* [Tuning Ingress Queues](interfaces.md#tuning-ingress-queues)
|
||||
* [Building Networks](networks.md)
|
||||
* [Concepts & Overview](networks.md#concepts-overview)
|
||||
* [Introductory Considerations](networks.md#introductory-considerations)
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
@ -318,8 +318,8 @@ Reticulum Transport Instance <5245a8efe1788c6a1cd36144a270e13b> running
|
|||
**All Command-Line Options**
|
||||
|
||||
```text
|
||||
usage: rnstatus [-h] [--config CONFIG] [--version] [-a] [-A]
|
||||
[-l] [-t] [-s SORT] [-r] [-j] [-R hash] [-i path]
|
||||
usage: rnstatus [-h] [--config CONFIG] [--version] [-a] [-A] [-P] [-l]
|
||||
[-B] [-b] [-t] [-q] [-s SORT] [-r] [-j] [-R hash] [-i path]
|
||||
[-w seconds] [-d] [-D] [-m] [-I seconds] [-v] [filter]
|
||||
|
||||
Reticulum Network Stack Status
|
||||
|
|
@ -333,10 +333,14 @@ options:
|
|||
--version show program's version number and exit
|
||||
-a, --all show all interfaces
|
||||
-A, --announce-stats show announce stats
|
||||
-P, --pr-stats show path request stats
|
||||
-l, --link-stats show link stats
|
||||
-B, --burst only show interfaces with active bursts
|
||||
-b, --blocked-ips show blocked IPs per interface
|
||||
-t, --totals display traffic totals
|
||||
-q, --queues display queue stats
|
||||
-s, --sort SORT sort interfaces by [rate, traffic, rx, tx, rxs, txs,
|
||||
announces, arx, atx, held]
|
||||
announces, arx, atx, prx, ptx, held]
|
||||
-r, --reverse reverse sorting
|
||||
-j, --json output in JSON format
|
||||
-R hash transport identity hash of remote instance to get status from
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue