Commit Graph

2598 Commits

Author SHA1 Message Date
Herbert "TheBracket
501fdf2ab2
Quantum fixing (#525)
* Experimentation showed that setting up `mq` doesn't seem to provide a valid `r2q` to HTB queues, yielding many warnings on HTB queue setup.

I'm not sure that 10 is the correct value, or that the formula is exactly right - but this patch adds an explicit quantum, following the specified (bytes per second / r2q) formula - with r2q set to a constant of 10. It eliminated the error messages on my test system. Committed for further testing.

* Comment out line printing the calculated quantum.

* Add a command to provide Cake with the actual upstream bandwidth (limited by HTB) for capacity estimation. May or may not actually do anything beneficial - this is a test.

* Remove Cake specified bandwidth limit.
2024-07-15 15:12:26 -05:00
Herbert Wolverson
907482bdd5 Remove needless spawn_blocking call. 2024-07-15 10:10:18 -05:00
Herbert Wolverson
18d67ad37b Remove repeated "failed to parse" messages. 2024-07-14 21:21:08 -05:00
Herbert Wolverson
9c46899962 Make IP addresses smaller on the circuit page. 2024-07-13 10:39:39 -05:00
Herbert Wolverson
3eae33f118 Visual improvements for circuits page: colorize the ping time/loss, label the tabs, add a flow counter badge. 2024-07-13 10:37:53 -05:00
Herbert Wolverson
9c5b2e8c8e Only show flows on the Sankey that have been active in the last second cycle. 2024-07-13 10:24:34 -05:00
Herbert Wolverson
5d705894f9 This time filtering by circuit! 2024-07-13 09:59:31 -05:00
Herbert Wolverson
6ced88d554 Flow Sankey is working well enough to push to a test environment with actual traffic. 2024-07-13 09:34:38 -05:00
Herbert Wolverson
c8c3ce1568 Work in progress: there's now a per-circuit flows ticker 2024-07-12 15:21:06 -05:00
Herbert Wolverson
0e6b3dabe4 This *should* fix RTT display on circuits. 2024-07-12 13:45:34 -05:00
Herbert Wolverson
f70907cca1 Shaped devices page now links devices and circuits to the circuits page. 2024-07-12 13:13:00 -05:00
Herbert Wolverson
303fd07164 Shaped devices page now links devices and circuits to the circuits page. 2024-07-12 13:12:36 -05:00
Herbert Wolverson
26270203cb Circuit system has a working ping tracker built-in. 2024-07-12 13:04:55 -05:00
Herbert Wolverson
c8308c3856 WIP: Half way to a built-in pinging system. 2024-07-12 12:50:23 -05:00
Herbert Wolverson
7dab0eea24 The beginnings of a tab system for circuits 2024-07-12 11:44:44 -05:00
Herbert Wolverson
83318b19f2 A few links to circuits populated. 2024-07-12 11:08:30 -05:00
Herbert Wolverson
74846f053f Basic (minimal) circuit display is working. 2024-07-12 10:59:17 -05:00
Herbert Wolverson
f40427e88e WIP checkin: the "private channel" system is operational. 2024-07-12 09:01:00 -05:00
Herbert Wolverson
4d40bf41fa WIP checkin - starting to get the circuit page together. 2024-07-11 16:20:53 -05:00
Herbert Wolverson
4e53a0e32c Tweak formatting on top 10 downloaders, and add a placeholder link to the circuit page. 2024-07-11 14:20:34 -05:00
Herbert Wolverson
1b5879985e Pin the edit button to the top. 2024-07-11 14:03:36 -05:00
Herbert Wolverson
57cacf0da9 Define bindings to work around the use of onclick with the esbuild mechanism. We're about as functional as we were before with configuration now. 2024-07-11 13:49:36 -05:00
Herbert Wolverson
94e864025c Direct port of the shaped devices and network editors. Not fully functional yet, but checkpointing before the error message dive. 2024-07-11 13:12:46 -05:00
Herbert Wolverson
afb0584a31 Direct port of "save configuration" (still probably has issues from the old one - it's a 1:1 port). 2024-07-11 13:02:29 -05:00
Herbert Wolverson
b462f042da Configuration porting: loading and displaying is working. Still lots to do. 2024-07-11 12:49:11 -05:00
Herbert Wolverson
9623b6a6f5 Reload LibreQoS button works in UI2 now. 2024-07-11 11:54:20 -05:00
Herbert Wolverson
b58dacc2e5 Reverse sort order of unknown IPs list. 2024-07-11 11:17:20 -05:00
Herbert Wolverson
72f5502904 Unknown IP CSV download. 2024-07-11 11:10:26 -05:00
Herbert Wolverson
97edfacf09 Remove some unused imports. 2024-07-11 10:51:27 -05:00
Herbert Wolverson
1d6e744924 FIXES #485. Unknown IP count only looks at recent (<5 minutes) unknown IPs. 2024-07-11 10:50:56 -05:00
Herbert Wolverson
65d8f991dd Remove console.log that was left in by mistake. 2024-07-11 10:25:34 -05:00
Herbert Wolverson
1ea56dc349 Merge branch 'develop' into user_interface_2 2024-07-11 09:59:11 -05:00
Robert Chacón
e1ed0010c6
Merge pull request #520 from LibreQoE/issue_518_libreqos_hangs
Issue 518 libreqos hangs
2024-07-11 08:57:27 -06:00
Herbert Wolverson
baa18bd322 ISSUE #518 - Add Flush command to xdp_iphash_to_cpu_cmdline. I'm not sure if anyone actually uses that tool, but now it's supported. 2024-07-11 09:24:28 -05:00
Herbert Wolverson
abdcdafef5 ISSUE #518 - Make hot cache invalidation explicit
The "add ip mapping" call was flushing the XDP 'hot cache'. That was fine in testing, and not working well at scale:

* Each table wipe locks the associated underlying hash map.
* Running 1200+ clears means waiting for 1200 occasions in which packets don't already have a hold on the lock (eBPF doesn't expose the locking mechanisms, so we can't change that behavior)
* The result is that under load, it can take a REALLY long time to reload the shaping stack without pausing traffic.

Instead, add_ip_mapping no longer clears the hot cache. An explicit invalidation call has been added to the bus, and added to the end of the batched IP map updates. This reduces the number of table locks from 1200+ to 2 (once for clearing the IP map, once for clearing the cache).
2024-07-11 09:22:37 -05:00
Herbert Wolverson
a13fb0482e Remove spurious semicolon. Not the sollution to ISSUE #518 - but let's clean it up while we're here. 2024-07-11 09:04:33 -05:00
Herbert Wolverson
50f587bb9e Checkpoint commit: working on the unknown IPs page. 2024-07-10 16:39:27 -05:00
Herbert Wolverson
2558334a29 The beginnings of a search system. (Currently only sites are linked) 2024-07-10 16:00:08 -05:00
Herbert Wolverson
e6ad7e442e Tree view now includes attached clients. 2024-07-10 14:30:04 -05:00
Herbert Wolverson
671e4314fb Add a few more sponsorship messages. 2024-07-10 13:53:48 -05:00
Herbert Wolverson
866c9e118c Wire up the LTS link to light up and advertise, or go to the right place. 2024-07-10 13:38:28 -05:00
Herbert Wolverson
888c62f81e Show the node name in the document title. 2024-07-10 13:29:29 -05:00
Herbert Wolverson
c831095ab4 Adds an API to provide streaming circuit stats for display. Applies it to provide real time info on the shaped devices page! 2024-07-10 12:51:57 -05:00
Herbert Wolverson
16683638b7 Change Mastadon name 2024-07-10 11:31:22 -05:00
Herbert Wolverson
73c6724b6c Include our socials on the help page. 2024-07-10 11:28:17 -05:00
Herbert Wolverson
b56b6ede84 Fix an oops - UISP integration wasn't including the 'type' field in generated network.json 2024-07-10 10:43:18 -05:00
Herbert Wolverson
0386721634 Add preliminary LTS check support, and a sponsorship message if you aren't an LTS subscriber. 2024-07-10 10:20:37 -05:00
Herbert Wolverson
3b86d3e97b Port the help and support pages to UI2 2024-07-10 10:06:06 -05:00
Herbert Wolverson
aaaeafa163 Use the same widgets for the tree view. 2024-07-10 09:21:52 -05:00
Herbert Wolverson
7c68b493d8 The Network Tree summary dashlet is looking a lot better, built a generic TCP Retransmits display type and preliminary support for tooltips in dynamic tables. 2024-07-10 09:15:29 -05:00