Comments (2)
the devices connected to the same customer should have same Min/Max download/upload bandwidth.
They will, provided the CircuitID is set to be the same for all devices for that customer.
Is there any differences between defining several device for a customer and defining one device with several IP addresses?
Not in terms of shaping, no. It's the same result. It may render on the Web UI differently. Let's say you defined 10 devices for one customer. You have 20 IP filters in XDP all pointing at a single TC CAKE qdisc representing that customer. So if a customer pulls 50Mbps for device A and 50 Mbps for device B, the customer's qdisc will show 100Mbps throughput. Because every customer device points to the same qdisc, you don't have to worry about multiple devices for one customer impacting host fairness.
Is it OK to directly define the BW in the device and not define any customer as the parent of the device? PS: in this way, we would have a flat architecture where all the devices directly connect to the root.
There's an HTB per CPU core, so there is no "root" qdisc you can attach customers/devices to (the mq qdisc is the true root but spans out to HTBs per core). You can pack all your clients onto one HTB root, but that then limits everything to one CPU core and 1-8Gbps depending on that CPU's speed.
There's no real performance drawback to using customers in the hierarchy. If you want to be able to rate limit LibreQoS throughput at the edge with one big shaper (to prevent packet loss when exceeding your upstream ISP connection's rate), the best bet is to use a system with a very high single-thread Passmark rating and few CPU cores, assigning every customer/circuit to the same Node (which will run on CPU 0). That way whatever rate you set for that Node will be the true ceil for all customers. That only works up to about 8Gbps though. Another way would be to divvy up traffic per CPU core (4X top nodes using 250M each when you have 1Gbps upstream). That way it's not possible to exceed the upstream rate.
from libreqos.
Thanks for you explanation.
from libreqos.
Related Issues (20)
- binpacking is not optimal - improvements needed HOT 6
- add secondary networks in UISP integration to shapers for non-nat, routed subnets HOT 1
- multiple service classes
- [LibreQoS 1.4] - lqosd not running HOT 1
- [LibreQoS 1.4] Libreqos Unable to start, Error: No such file or directory (os error 2) HOT 5
- Add ability to use VictoriaMetrics instead of InfluxDB for long-term stats HOT 2
- [Libreqos 1.5] Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead
- [Libreqos v1.4] installer problems on Debian 11 in LXC
- Question about multiple NIC and Load balancing traffic
- Very high cpu usage on one core HOT 3
- Intel X722 supported? HOT 1
- UISP listener for CRM webhooks for updates HOT 2
- Multi-Node Firewall - LibreQoS and ECMP HOT 9
- [Libreqos 1.5] failing build - any ideas? HOT 1
- UISP intergration error HOT 1
- Clearing Unknown IPs
- Change download location of geo.bin
- Pre-Beta 1.5 Python Dependencies HOT 2
- Pre 1.5 Beta - Check Rust Dependencies/Audit
- Add UISP_Integration_2 to scheduler.py HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libreqos.