LibreQoS/v1.3
2022-11-07 22:50:13 -07:00
..
cpumap-pping@0c960f28ff Update cpumap-pping to 1.0.0-RC1 2022-11-05 09:29:52 -06:00
testdata Add INTEGRATION_HOWTO - providing documentation on how to create your own integration. 2022-10-31 08:47:06 -05:00
graphInfluxDB.py Add the ability to graph median latency of the entire network 2022-11-07 16:12:27 -07:00
influxDBdashboardTemplate.json Use median for TCP latency table vs peak 2022-11-02 07:45:34 -06:00
INTEGRATION_HOWTO.md Add INTEGRATION_HOWTO - providing documentation on how to create your own integration. 2022-10-31 08:47:06 -05:00
integrationCommon.py Use client ID as circuit ID when building ShapedDevices.csv 2022-11-01 08:56:41 -05:00
integrationSplynx.py Cleanup Spylnx integration file 2022-10-31 14:58:03 -05:00
integrationUISP.py Support ExceptionCPE structure in the common network graph, and apply on node add. That makes it work across all integrations. 2022-10-29 10:37:57 -05:00
ispConfig.example.py Include uispSite and influxDBEnabled parameters. Latency graphiing is on by default now when influxDBEnabled toggled 2022-11-01 09:23:57 -06:00
LibreQoS.py change Switch from xdp-cpumap-tc to cpumap-pping 2022-10-21 22:57:46 -06:00
mikrotikDHCPRouterList.csv add v1.3-alpha 2022-10-18 14:26:43 -06:00
mikrotikFindIPv6.py add v1.3-alpha 2022-10-18 14:26:43 -06:00
network.example.json add v1.3-alpha 2022-10-18 14:26:43 -06:00
README.md Update README.md 2022-11-04 17:16:57 -06:00
scheduler.py Update bandwidth graphs for 30s, then update latency graphs 2022-11-07 22:50:13 -07:00
ShapedDevices.example.csv Make Mbps explicit 2022-10-20 15:14:03 -06:00
testGraph.py Support ExceptionCPE structure in the common network graph, and apply on node add. That makes it work across all integrations. 2022-10-29 10:37:57 -05:00
testIP.py Add testIP.py and testdata folder 2022-10-27 09:41:39 -05:00

v1.3 (IPv4 + IPv6) (Alpha)

Screenshot from 2022-11-04 17-06-31

Features

Fast TCP Latency Tracking

@thebracket has created cpumap-pping which merges the functionality of the xdp-cpumap-tc and ePPing projects, while keeping CPU use within ~1% of xdp-cpumap-tc.

Integrations

Partial Queue Reload

In v1.2 and prior, the the entire queue structure had to be reloaded to make any changes. This led to a few milliseconds of packet loss for some clients each time that reload happened. The scheduled.py was set to reload all queues each morning at 4AM to avoid any potential disruptions that could theoretically cause.

Starting with v1.3 - LibreQoS tracks the state of the queues, and can do incremental changes without a full reload of all queues. Every 30 minutes - scheduler.py runs the CRM import, and runs a partial reload affecting just the queues that have changed. It still runs a full reload at 4AM.

v1.3 Improvements to help scale

HTB major:minor handle

HTB uses a hex handle for classes. It is two 16-bit hex values joined by a colon - major:minor (:). In LibreQoS, each CPU core uses a different major handle.

In v1.2 and prior, the minor handle was unique across all CPUs, meaning only 30k subscribers could be added total.

Starting with LibreQoS v1.3 - minor handles are counted independently by CPU core. With this change, the maximum possible subscriber qdiscs/classes goes from a hard limit of 30k to instead be 30k x CPU core count. So for a higher end system with a 64 core processor such as the AMD EPYC™ 7713P, that would mean ~1.9 million possible subscriber classes. Of course CPU use will be the bottleneck well before class handles are in that scenario. But at least we have that arbitrary 30k limit out of the way.

"Circuit ID" Unique Identifier

In order to improve queue reload time in v1.3, it was necessary to use a unique identifier for each circuit. We went with Circuit ID. It can be a number or string, it just needs to be unique between circuits, and the same for multiple devices in the same circuit. This allows us to avoid costly lookups when sorting through the queue structure.

If you have your own script creating ShapedDevices.csv - you could use your CRM's unique identifier for customer services / circuits to serve as this Circuit ID. The UISP and Splynx integrations already do this automatically.