]>
johannes.truschnigg.info Git - sqm_lagthrottle/log
Johannes Truschnigg [Sun, 4 Sep 2022 07:40:13 +0000 (09:40 +0200)]
Don't div by zero if there are too few reliable ping peers
Johannes Truschnigg [Sat, 3 Sep 2022 19:39:10 +0000 (21:39 +0200)]
Make configuration file mandatory
Johannes Truschnigg [Sat, 3 Sep 2022 18:17:35 +0000 (20:17 +0200)]
Fix bandwidth typo
Johannes Truschnigg [Sat, 3 Sep 2022 17:56:07 +0000 (19:56 +0200)]
Misc and minor wizard (wording) improvements
Johannes Truschnigg [Sat, 3 Sep 2022 17:39:05 +0000 (19:39 +0200)]
Update README for config wizard changes
Johannes Truschnigg [Sat, 3 Sep 2022 17:36:41 +0000 (19:36 +0200)]
Drop unused script reflector_detect
Johannes Truschnigg [Sat, 3 Sep 2022 17:14:44 +0000 (19:14 +0200)]
Restore previously set bandwidth limits upon exit
Johannes Truschnigg [Sat, 3 Sep 2022 17:08:36 +0000 (19:08 +0200)]
Reset PS4 to prevent potential unwanted xtrace effects
Johannes Truschnigg [Sat, 3 Sep 2022 14:34:05 +0000 (16:34 +0200)]
Phase out settings-in-wrapper-script config style
Making use of the config wizard/suggester is the better approach to
generating an "out of band"-style config that can be managed
independently from the implementation itself.
Johannes Truschnigg [Sat, 3 Sep 2022 14:09:38 +0000 (16:09 +0200)]
Use single quotes for header text
Johannes Truschnigg [Sat, 3 Sep 2022 14:09:24 +0000 (16:09 +0200)]
Make headers more pretty
Johannes Truschnigg [Sat, 3 Sep 2022 13:50:27 +0000 (15:50 +0200)]
Fix TX interface stats file path
Johannes Truschnigg [Sat, 3 Sep 2022 13:45:31 +0000 (15:45 +0200)]
Config wizard enhancements
Johannes Truschnigg [Sat, 3 Sep 2022 12:12:00 +0000 (14:12 +0200)]
Config wizard: implement TX detection/choice
Johannes Truschnigg [Sat, 3 Sep 2022 11:44:50 +0000 (13:44 +0200)]
Fudge the fudge fudging some more
Johannes Truschnigg [Sat, 3 Sep 2022 11:44:32 +0000 (13:44 +0200)]
Cosmetic/whitespace changes
Johannes Truschnigg [Sat, 3 Sep 2022 11:26:12 +0000 (13:26 +0200)]
Make headers stand out more
Johannes Truschnigg [Sat, 3 Sep 2022 11:25:56 +0000 (13:25 +0200)]
Prepare cleanup handler impl.
Johannes Truschnigg [Sat, 3 Sep 2022 11:14:52 +0000 (13:14 +0200)]
Remove broken PING_GW_IPV[46] feature
Johannes Truschnigg [Sat, 3 Sep 2022 11:13:31 +0000 (13:13 +0200)]
Config wizard: cosmetic improvements
Johannes Truschnigg [Fri, 2 Sep 2022 20:27:50 +0000 (22:27 +0200)]
Implement minor config wizard ergonomics improvements
Johannes Truschnigg [Fri, 2 Sep 2022 20:27:12 +0000 (22:27 +0200)]
Source code comments have become outdated/misleading - fix
Johannes Truschnigg [Fri, 2 Sep 2022 20:02:46 +0000 (22:02 +0200)]
Extend configuration wizard, round 2
Johannes Truschnigg [Fri, 2 Sep 2022 19:39:18 +0000 (21:39 +0200)]
Fix typo
Johannes Truschnigg [Fri, 2 Sep 2022 18:41:47 +0000 (20:41 +0200)]
Fix newline output
Johannes Truschnigg [Fri, 2 Sep 2022 18:33:57 +0000 (20:33 +0200)]
Extend configuration wizard, round 1
Johannes Truschnigg [Fri, 2 Sep 2022 16:47:21 +0000 (18:47 +0200)]
Ping all resolved IP addresses for candidate hostnames
Johannes Truschnigg [Mon, 21 Mar 2022 17:53:23 +0000 (18:53 +0100)]
Update implied default config
Johannes Truschnigg [Mon, 21 Mar 2022 17:36:15 +0000 (18:36 +0100)]
Also track README.md
Johannes Truschnigg [Sun, 20 Mar 2022 16:08:02 +0000 (17:08 +0100)]
Advertise timestamped config file fragment at the end, too
Johannes Truschnigg [Sun, 20 Mar 2022 15:15:42 +0000 (16:15 +0100)]
Require two delayed peers before shifting bw down
Johannes Truschnigg [Sun, 20 Mar 2022 15:12:50 +0000 (16:12 +0100)]
Make config override output format align with everything else
Johannes Truschnigg [Sun, 20 Mar 2022 15:08:10 +0000 (16:08 +0100)]
Redirect error messages to stderr
Johannes Truschnigg [Sun, 20 Mar 2022 15:06:26 +0000 (16:06 +0100)]
Read optional configuration (delta) file
Johannes Truschnigg [Sun, 20 Mar 2022 15:05:50 +0000 (16:05 +0100)]
Write suggested config values to timestamped config file
Johannes Truschnigg [Sun, 20 Mar 2022 11:14:08 +0000 (12:14 +0100)]
Improve(?) FUDGE_MS calculation and fix output formatting
Johannes Truschnigg [Sun, 20 Mar 2022 10:36:51 +0000 (11:36 +0100)]
Trim down NOOP debug output
Johannes Truschnigg [Sun, 20 Mar 2022 10:33:04 +0000 (11:33 +0100)]
More consistent output for set_bw()'s system()
Johannes Truschnigg [Sun, 20 Mar 2022 10:30:16 +0000 (11:30 +0100)]
Remove max rate debug logging
Johannes Truschnigg [Sun, 20 Mar 2022 10:26:12 +0000 (11:26 +0100)]
Remove EXP debug output
Johannes Truschnigg [Sun, 20 Mar 2022 10:24:14 +0000 (11:24 +0100)]
Rename script suite to sqm_lagthrottle
Johannes Truschnigg [Sun, 20 Mar 2022 09:31:44 +0000 (10:31 +0100)]
Make low-latency mode step downwards more gracefully
Johannes Truschnigg [Sat, 19 Mar 2022 20:21:46 +0000 (21:21 +0100)]
Add license to config suggester
Johannes Truschnigg [Sat, 19 Mar 2022 20:09:17 +0000 (21:09 +0100)]
Increase bw steps in low-latency mode
Johannes Truschnigg [Sat, 19 Mar 2022 19:49:16 +0000 (20:49 +0100)]
ACTALLY set lowest bw step in low-latency mode
Johannes Truschnigg [Sat, 19 Mar 2022 19:45:01 +0000 (20:45 +0100)]
Bring config knobs in a more sensible order
Johannes Truschnigg [Sat, 19 Mar 2022 19:41:18 +0000 (20:41 +0100)]
Make bw collapse to lowest step in low-latency mode
Johannes Truschnigg [Sat, 19 Mar 2022 19:39:28 +0000 (20:39 +0100)]
Optimize accounting of adjust_old and not_increasing_count[peername]
Johannes Truschnigg [Sat, 19 Mar 2022 18:42:40 +0000 (19:42 +0100)]
Implement OPTIMIZATION_PREFERENCE tunable
Johannes Truschnigg [Sat, 19 Mar 2022 17:58:43 +0000 (18:58 +0100)]
Rename bw_step vars for better consistency
Time- and age-based name components shall be last, I just decided.
Johannes Truschnigg [Sat, 19 Mar 2022 16:56:33 +0000 (17:56 +0100)]
Implement TREND_DECISION tunable
Johannes Truschnigg [Sat, 19 Mar 2022 16:56:18 +0000 (17:56 +0100)]
Convert to if/then for consistency
Johannes Truschnigg [Sat, 19 Mar 2022 16:27:51 +0000 (17:27 +0100)]
Whitespace cleanup, contd.
Johannes Truschnigg [Sat, 19 Mar 2022 16:16:19 +0000 (17:16 +0100)]
Whitespace consistency cleanup
Johannes Truschnigg [Fri, 18 Mar 2022 18:24:07 +0000 (19:24 +0100)]
Imrove counter robustness, display pkt# in stats
Johannes Truschnigg [Fri, 18 Mar 2022 18:07:50 +0000 (19:07 +0100)]
Fix record filtering
Johannes Truschnigg [Fri, 18 Mar 2022 17:15:26 +0000 (18:15 +0100)]
Document AWK source
Johannes Truschnigg [Fri, 18 Mar 2022 16:07:36 +0000 (17:07 +0100)]
Check for required utils
Johannes Truschnigg [Fri, 18 Mar 2022 15:58:38 +0000 (16:58 +0100)]
Rename config suggestion script
Johannes Truschnigg [Fri, 18 Mar 2022 15:58:08 +0000 (16:58 +0100)]
Improve output
Johannes Truschnigg [Fri, 18 Mar 2022 15:44:52 +0000 (16:44 +0100)]
Improve config suggestion output
Johannes Truschnigg [Fri, 18 Mar 2022 15:44:36 +0000 (16:44 +0100)]
Update list of potential ping peers
Johannes Truschnigg [Fri, 18 Mar 2022 15:34:21 +0000 (16:34 +0100)]
Implement dialog-based configuration recommendation
Johannes Truschnigg [Fri, 18 Mar 2022 14:17:42 +0000 (15:17 +0100)]
Import first draft of configuration suggestion script
Johannes Truschnigg [Fri, 18 Mar 2022 13:32:11 +0000 (14:32 +0100)]
Also check for ./__lagdetect.awk
Johannes Truschnigg [Thu, 17 Mar 2022 20:44:42 +0000 (21:44 +0100)]
Typo fixes
Johannes Truschnigg [Thu, 17 Mar 2022 19:31:30 +0000 (20:31 +0100)]
Set TZ, not TC, in env
Johannes Truschnigg [Thu, 17 Mar 2022 19:22:13 +0000 (20:22 +0100)]
Make rate-limiting effective for timeout-based collapse
Johannes Truschnigg [Thu, 17 Mar 2022 19:09:29 +0000 (20:09 +0100)]
Fix iface stats check, impl. cake SQM detection
Johannes Truschnigg [Thu, 17 Mar 2022 18:59:41 +0000 (19:59 +0100)]
Check for configured interfaces
Johannes Truschnigg [Thu, 17 Mar 2022 18:57:19 +0000 (19:57 +0100)]
Also check for presence of `ip` and `tc`
Johannes Truschnigg [Thu, 17 Mar 2022 18:55:51 +0000 (19:55 +0100)]
Improve diagnost message regarding iface stats file config mistakes
Johannes Truschnigg [Thu, 17 Mar 2022 18:54:11 +0000 (19:54 +0100)]
Validate interface stats files
Johannes Truschnigg [Thu, 17 Mar 2022 18:54:00 +0000 (19:54 +0100)]
Add wrapper license, extend readme section
Johannes Truschnigg [Thu, 17 Mar 2022 18:30:53 +0000 (19:30 +0100)]
Move consec_timeouts detection behind rate-limiting guard
Johannes Truschnigg [Thu, 17 Mar 2022 18:28:31 +0000 (19:28 +0100)]
Convert rx and tx derivatives to Kbps
Johannes Truschnigg [Thu, 17 Mar 2022 18:16:19 +0000 (19:16 +0100)]
Fix up comments and TIMEOUT collapse
Johannes Truschnigg [Thu, 17 Mar 2022 18:13:31 +0000 (19:13 +0100)]
Add more context to the readme section
Johannes Truschnigg [Thu, 17 Mar 2022 17:34:51 +0000 (18:34 +0100)]
Add license header and description
Johannes Truschnigg [Wed, 16 Mar 2022 21:29:02 +0000 (22:29 +0100)]
Document config vars
Johannes Truschnigg [Wed, 16 Mar 2022 21:24:06 +0000 (22:24 +0100)]
Increase FUDGE_MS for LTE lines
Johannes Truschnigg [Wed, 16 Mar 2022 21:23:43 +0000 (22:23 +0100)]
Try to account for FUDGE in bw increase path
Johannes Truschnigg [Wed, 16 Mar 2022 21:05:04 +0000 (22:05 +0100)]
Implement RX bw steering
Johannes Truschnigg [Wed, 16 Mar 2022 21:04:54 +0000 (22:04 +0100)]
Split out peer_stats_print function
Johannes Truschnigg [Wed, 16 Mar 2022 21:03:39 +0000 (22:03 +0100)]
Add config vars for BW_{MIN,MAX}_RX
Johannes Truschnigg [Wed, 16 Mar 2022 19:47:33 +0000 (20:47 +0100)]
Implement timeout- and load detection-logic
Also, elect to not do any SQM changes when there is no clear trend to be
determined.
Johannes Truschnigg [Tue, 15 Mar 2022 21:16:22 +0000 (22:16 +0100)]
Update formatting, reduce debug output
Johannes Truschnigg [Tue, 15 Mar 2022 19:53:38 +0000 (20:53 +0100)]
Implement/improve bw usage estimation
Johannes Truschnigg [Tue, 15 Mar 2022 18:52:58 +0000 (19:52 +0100)]
Implement (faux) bw adjustment stubs
Johannes Truschnigg [Tue, 15 Mar 2022 11:21:08 +0000 (12:21 +0100)]
Add helper script to determine the first ICMP ECHOing hop
Johannes Truschnigg [Tue, 15 Mar 2022 11:09:16 +0000 (12:09 +0100)]
Whitespace fixup
Johannes Truschnigg [Mon, 14 Mar 2022 20:59:30 +0000 (21:59 +0100)]
Re-use ts instead of calling systime()
Johannes Truschnigg [Mon, 14 Mar 2022 20:25:51 +0000 (21:25 +0100)]
Implement link load estimation
Johannes Truschnigg [Sun, 13 Mar 2022 15:10:22 +0000 (16:10 +0100)]
Moar whitespace
Johannes Truschnigg [Sat, 12 Mar 2022 22:35:17 +0000 (23:35 +0100)]
Compare latency, do not assign it
Johannes Truschnigg [Sat, 12 Mar 2022 17:35:53 +0000 (18:35 +0100)]
Split out adjust_bw()
Johannes Truschnigg [Sat, 12 Mar 2022 17:34:40 +0000 (18:34 +0100)]
Set LC_ALL and TZ to sane values
Johannes Truschnigg [Sat, 12 Mar 2022 15:56:18 +0000 (16:56 +0100)]
Improve parameter validation in wrapper
Johannes Truschnigg [Sat, 12 Mar 2022 15:35:36 +0000 (16:35 +0100)]
Improve peer ready message
Johannes Truschnigg [Sat, 12 Mar 2022 15:01:32 +0000 (16:01 +0100)]
Prefix non-essential output with "# "