A Quality of Experience and Smart Queue Management system for ISPs. Leverage CAKE to improve network responsiveness, enforce bandwidth plans, and reduce bufferbloat.
Go to file
Robert Chacón 5d2ff90c54
Fix partial reload bug. Also make cpumap-pping unchangable again
There was previously an issue where during the partial reload, LibreQoS.py would fail to parse the network structure correctly. Now resolved.
2022-11-20 09:12:10 -07:00
.github Create FUNDING.yml 2022-11-08 07:02:50 -07:00
docs Add files via upload 2022-09-27 13:13:50 -06:00
v0.7 Delete new.txt 2021-07-01 23:53:20 -06:00
v0.8 Update README.md 2022-09-11 13:27:02 -06:00
v0.9 Update README.md 2022-09-11 13:26:34 -06:00
v1.0 Update README.md 2022-09-11 13:25:34 -06:00
v1.1 tidy, nix original config files 2022-09-13 17:04:21 +12:00
v1.2 Implement bug fix https://github.com/rchac/LibreQoS/pull/137 2022-10-21 07:56:51 -06:00
v1.3 Fix partial reload bug. Also make cpumap-pping unchangable again 2022-11-20 09:12:10 -07:00
.gitignore remove cpumap-pping from gitignore 2022-10-22 14:48:29 -06:00
.gitmodules Switch from xdp-cpumap-tc to cpumap-pping 2022-10-21 22:49:50 -06:00
LICENSE Initial commit 2020-10-02 09:18:14 -06:00
README.md Cleanup bullets 2022-11-17 14:11:41 -08:00

LibreQoS

LibreQoS is a Quality of Experience (QoE) Smart Queue Management (SQM) system designed for Internet Service Providers to optimize the flow of their network traffic and thus reduce bufferbloat, keep the network responsive, and improve the end-user experience.

Servers running LibreQoS can shape traffic for many thousands of customers.

Learn more at LibreQoS.io!

Features

Flexible Hierarchical Shaping / Back-Haul Congestion Mitigation

Your network hierarchy is mapped to a json file. This allows for both simple network hierarchies (Site>AP>Client) as well as much more complex ones (Site>Site>Micro-PoP>AP>Site>AP>Client). This allows operators to ensure a given sites peak bandwidth will not exceed the capacity of its back-haul links (back-haul congestion control). This can allow operators to support more users on the same network equipment with LibreQoS than with competing QoE solutions which only shape by AP and Client. Shaping just by AP and client could allow for high aggregate peaks to occur on back-hauls' links, which can trigger packet loss and disrupt network connectivity. LibreQoSs flexible shaping provides a solution to this.

CAKE

CAKE is the product of a decade of development efforts to improve on fq_codel. With the diffserv4 parameter enabled CAKE groups traffic into Bulk, Best Effort, Video, and Voice "tins" that closely match the relevant IETF diffserv standards (RFC4594, RFC7567, and RFC8622). This means that without having to fine-tune traffic priorities as you would with DPI products CAKE automatically ensures your clients OS update downloads will not disrupt their zoom calls. It allows for multiple video conferences to operate on the same connection which might otherwise “fight” for upload bandwidth causing call disruptions.

XDP

Fast, multi-CPU queueing leveraging xdp-cpumap-tc. Currently tested in the real world past 11 Gbps (so far) with just 30% CPU use on a 16 core Intel Xeon Gold 6254. It's likely capable of 30Gbps or more.

Graphing

You can graph bandwidth by client and node (Site, AP, etc), with great visalizations made possible by InfluxDB. LibreQoS

CRM Integrations

  • UISP
  • Splynx

System Requirements

VM or physical server

  • For VMs, NIC passthrough is required for optimal throughput and latency (XDP vs generic XDP). Using Virtio / bridging is much slower than NIC passthrough. Virtio / bridging should not be used for large amounts of traffic.

CPU

Throughput CPU Cores
500 Mbps 2
1 Gbps 4
5 Gbps 8
10 Gbps 12
20 Gbps* 16
50 Gbps* 32
100 Gbps* 64

(* Estimated)

Memory

  • Mimumum RAM = 2 + (0.002 x Subscriber Count) GB
  • Recommended RAM:
Subscribers RAM
100 4 GB
1,000 8 GB
5,000 16 GB
10,000* 32 GB
50,000* 48 GB

(* Estimated)

Network Interface Requirements

  • One management network interface completely separate from the traffic shaping interfaces. Usually this would be the Ethernet interface built in to the motherboard.
  • Dedicated Network Interface Card for Shaping Interfaces

Versions

IPv4 + IPv6