]> johannes.truschnigg.info Git - sqm_lagthrottle/log
sqm_lagthrottle
3 years agoRequire two delayed peers before shifting bw down
Johannes Truschnigg [Sun, 20 Mar 2022 15:15:42 +0000 (16:15 +0100)]
Require two delayed peers before shifting bw down

3 years agoMake config override output format align with everything else
Johannes Truschnigg [Sun, 20 Mar 2022 15:12:50 +0000 (16:12 +0100)]
Make config override output format align with everything else

3 years agoRedirect error messages to stderr
Johannes Truschnigg [Sun, 20 Mar 2022 15:08:10 +0000 (16:08 +0100)]
Redirect error messages to stderr

3 years agoRead optional configuration (delta) file
Johannes Truschnigg [Sun, 20 Mar 2022 15:06:26 +0000 (16:06 +0100)]
Read optional configuration (delta) file

3 years agoWrite suggested config values to timestamped config file
Johannes Truschnigg [Sun, 20 Mar 2022 15:05:50 +0000 (16:05 +0100)]
Write suggested config values to timestamped config file

3 years agoImprove(?) FUDGE_MS calculation and fix output formatting
Johannes Truschnigg [Sun, 20 Mar 2022 11:14:08 +0000 (12:14 +0100)]
Improve(?) FUDGE_MS calculation and fix output formatting

3 years agoTrim down NOOP debug output
Johannes Truschnigg [Sun, 20 Mar 2022 10:36:51 +0000 (11:36 +0100)]
Trim down NOOP debug output

3 years agoMore consistent output for set_bw()'s system()
Johannes Truschnigg [Sun, 20 Mar 2022 10:33:04 +0000 (11:33 +0100)]
More consistent output for set_bw()'s system()

3 years agoRemove max rate debug logging
Johannes Truschnigg [Sun, 20 Mar 2022 10:30:16 +0000 (11:30 +0100)]
Remove max rate debug logging

3 years agoRemove EXP debug output
Johannes Truschnigg [Sun, 20 Mar 2022 10:26:12 +0000 (11:26 +0100)]
Remove EXP debug output

3 years agoRename script suite to sqm_lagthrottle
Johannes Truschnigg [Sun, 20 Mar 2022 10:24:14 +0000 (11:24 +0100)]
Rename script suite to sqm_lagthrottle

3 years agoMake low-latency mode step downwards more gracefully
Johannes Truschnigg [Sun, 20 Mar 2022 09:31:44 +0000 (10:31 +0100)]
Make low-latency mode step downwards more gracefully

3 years agoAdd license to config suggester
Johannes Truschnigg [Sat, 19 Mar 2022 20:21:46 +0000 (21:21 +0100)]
Add license to config suggester

3 years agoIncrease bw steps in low-latency mode
Johannes Truschnigg [Sat, 19 Mar 2022 20:09:17 +0000 (21:09 +0100)]
Increase bw steps in low-latency mode

3 years agoACTALLY set lowest bw step 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

3 years agoBring config knobs in a more sensible order
Johannes Truschnigg [Sat, 19 Mar 2022 19:45:01 +0000 (20:45 +0100)]
Bring config knobs in a more sensible order

3 years agoMake bw collapse to lowest step in low-latency mode
Johannes Truschnigg [Sat, 19 Mar 2022 19:41:18 +0000 (20:41 +0100)]
Make bw collapse to lowest step in low-latency mode

3 years agoOptimize accounting of adjust_old and not_increasing_count[peername]
Johannes Truschnigg [Sat, 19 Mar 2022 19:39:28 +0000 (20:39 +0100)]
Optimize accounting of adjust_old and not_increasing_count[peername]

3 years agoImplement OPTIMIZATION_PREFERENCE tunable
Johannes Truschnigg [Sat, 19 Mar 2022 18:42:40 +0000 (19:42 +0100)]
Implement OPTIMIZATION_PREFERENCE tunable

3 years agoRename bw_step vars for better consistency
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.

3 years agoImplement TREND_DECISION tunable
Johannes Truschnigg [Sat, 19 Mar 2022 16:56:33 +0000 (17:56 +0100)]
Implement TREND_DECISION tunable

3 years agoConvert to if/then for consistency
Johannes Truschnigg [Sat, 19 Mar 2022 16:56:18 +0000 (17:56 +0100)]
Convert to if/then for consistency

3 years agoWhitespace cleanup, contd.
Johannes Truschnigg [Sat, 19 Mar 2022 16:27:51 +0000 (17:27 +0100)]
Whitespace cleanup, contd.

3 years agoWhitespace consistency cleanup
Johannes Truschnigg [Sat, 19 Mar 2022 16:16:19 +0000 (17:16 +0100)]
Whitespace consistency cleanup

3 years agoImrove counter robustness, display pkt# in stats
Johannes Truschnigg [Fri, 18 Mar 2022 18:24:07 +0000 (19:24 +0100)]
Imrove counter robustness, display pkt# in stats

3 years agoFix record filtering
Johannes Truschnigg [Fri, 18 Mar 2022 18:07:50 +0000 (19:07 +0100)]
Fix record filtering

3 years agoDocument AWK source
Johannes Truschnigg [Fri, 18 Mar 2022 17:15:26 +0000 (18:15 +0100)]
Document AWK source

3 years agoCheck for required utils
Johannes Truschnigg [Fri, 18 Mar 2022 16:07:36 +0000 (17:07 +0100)]
Check for required utils

3 years agoRename config suggestion script
Johannes Truschnigg [Fri, 18 Mar 2022 15:58:38 +0000 (16:58 +0100)]
Rename config suggestion script

3 years agoImprove output
Johannes Truschnigg [Fri, 18 Mar 2022 15:58:08 +0000 (16:58 +0100)]
Improve output

3 years agoImprove config suggestion output
Johannes Truschnigg [Fri, 18 Mar 2022 15:44:52 +0000 (16:44 +0100)]
Improve config suggestion output

3 years agoUpdate list of potential ping peers
Johannes Truschnigg [Fri, 18 Mar 2022 15:44:36 +0000 (16:44 +0100)]
Update list of potential ping peers

3 years agoImplement dialog-based configuration recommendation
Johannes Truschnigg [Fri, 18 Mar 2022 15:34:21 +0000 (16:34 +0100)]
Implement dialog-based configuration recommendation

3 years agoImport first draft of configuration suggestion script
Johannes Truschnigg [Fri, 18 Mar 2022 14:17:42 +0000 (15:17 +0100)]
Import first draft of configuration suggestion script

3 years agoAlso check for ./__lagdetect.awk
Johannes Truschnigg [Fri, 18 Mar 2022 13:32:11 +0000 (14:32 +0100)]
Also check for ./__lagdetect.awk

3 years agoTypo fixes
Johannes Truschnigg [Thu, 17 Mar 2022 20:44:42 +0000 (21:44 +0100)]
Typo fixes

3 years agoSet TZ, not TC, in env
Johannes Truschnigg [Thu, 17 Mar 2022 19:31:30 +0000 (20:31 +0100)]
Set TZ, not TC, in env

3 years agoMake rate-limiting effective for timeout-based collapse
Johannes Truschnigg [Thu, 17 Mar 2022 19:22:13 +0000 (20:22 +0100)]
Make rate-limiting effective for timeout-based collapse

3 years agoFix iface stats check, impl. cake SQM detection
Johannes Truschnigg [Thu, 17 Mar 2022 19:09:29 +0000 (20:09 +0100)]
Fix iface stats check, impl. cake SQM detection

3 years agoCheck for configured interfaces
Johannes Truschnigg [Thu, 17 Mar 2022 18:59:41 +0000 (19:59 +0100)]
Check for configured interfaces

3 years agoAlso check for presence of `ip` and `tc`
Johannes Truschnigg [Thu, 17 Mar 2022 18:57:19 +0000 (19:57 +0100)]
Also check for presence of `ip` and `tc`

3 years agoImprove diagnost message regarding iface stats file config mistakes
Johannes Truschnigg [Thu, 17 Mar 2022 18:55:51 +0000 (19:55 +0100)]
Improve diagnost message regarding iface stats file config mistakes

3 years agoValidate interface stats files
Johannes Truschnigg [Thu, 17 Mar 2022 18:54:11 +0000 (19:54 +0100)]
Validate interface stats files

3 years agoAdd wrapper license, extend readme section
Johannes Truschnigg [Thu, 17 Mar 2022 18:54:00 +0000 (19:54 +0100)]
Add wrapper license, extend readme section

3 years agoMove consec_timeouts detection behind rate-limiting guard
Johannes Truschnigg [Thu, 17 Mar 2022 18:30:53 +0000 (19:30 +0100)]
Move consec_timeouts detection behind rate-limiting guard

3 years agoConvert rx and tx derivatives to Kbps
Johannes Truschnigg [Thu, 17 Mar 2022 18:28:31 +0000 (19:28 +0100)]
Convert rx and tx derivatives to Kbps

3 years agoFix up comments and TIMEOUT collapse
Johannes Truschnigg [Thu, 17 Mar 2022 18:16:19 +0000 (19:16 +0100)]
Fix up comments and TIMEOUT collapse

3 years agoAdd more context to the readme section
Johannes Truschnigg [Thu, 17 Mar 2022 18:13:31 +0000 (19:13 +0100)]
Add more context to the readme section

3 years agoAdd license header and description
Johannes Truschnigg [Thu, 17 Mar 2022 17:34:51 +0000 (18:34 +0100)]
Add license header and description

3 years agoDocument config vars
Johannes Truschnigg [Wed, 16 Mar 2022 21:29:02 +0000 (22:29 +0100)]
Document config vars

3 years agoIncrease FUDGE_MS for LTE lines
Johannes Truschnigg [Wed, 16 Mar 2022 21:24:06 +0000 (22:24 +0100)]
Increase FUDGE_MS for LTE lines

3 years agoTry to account for FUDGE in bw increase path
Johannes Truschnigg [Wed, 16 Mar 2022 21:23:43 +0000 (22:23 +0100)]
Try to account for FUDGE in bw increase path

3 years agoImplement RX bw steering
Johannes Truschnigg [Wed, 16 Mar 2022 21:05:04 +0000 (22:05 +0100)]
Implement RX bw steering

3 years agoSplit out peer_stats_print function
Johannes Truschnigg [Wed, 16 Mar 2022 21:04:54 +0000 (22:04 +0100)]
Split out peer_stats_print function

3 years agoAdd config vars for BW_{MIN,MAX}_RX
Johannes Truschnigg [Wed, 16 Mar 2022 21:03:39 +0000 (22:03 +0100)]
Add config vars for BW_{MIN,MAX}_RX

3 years agoImplement timeout- and load detection-logic
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.

3 years agoUpdate formatting, reduce debug output
Johannes Truschnigg [Tue, 15 Mar 2022 21:16:22 +0000 (22:16 +0100)]
Update formatting, reduce debug output

3 years agoImplement/improve bw usage estimation
Johannes Truschnigg [Tue, 15 Mar 2022 19:53:38 +0000 (20:53 +0100)]
Implement/improve bw usage estimation

3 years agoImplement (faux) bw adjustment stubs
Johannes Truschnigg [Tue, 15 Mar 2022 18:52:58 +0000 (19:52 +0100)]
Implement (faux) bw adjustment stubs

3 years agoAdd helper script to determine the first ICMP ECHOing hop
Johannes Truschnigg [Tue, 15 Mar 2022 11:21:08 +0000 (12:21 +0100)]
Add helper script to determine the first ICMP ECHOing hop

3 years agoWhitespace fixup
Johannes Truschnigg [Tue, 15 Mar 2022 11:09:16 +0000 (12:09 +0100)]
Whitespace fixup

3 years agoRe-use ts instead of calling systime()
Johannes Truschnigg [Mon, 14 Mar 2022 20:59:30 +0000 (21:59 +0100)]
Re-use ts instead of calling systime()

3 years agoImplement link load estimation
Johannes Truschnigg [Mon, 14 Mar 2022 20:25:51 +0000 (21:25 +0100)]
Implement link load estimation

3 years agoMoar whitespace
Johannes Truschnigg [Sun, 13 Mar 2022 15:10:22 +0000 (16:10 +0100)]
Moar whitespace

3 years agoCompare latency, do not assign it
Johannes Truschnigg [Sat, 12 Mar 2022 22:35:17 +0000 (23:35 +0100)]
Compare latency, do not assign it

3 years agoSplit out adjust_bw()
Johannes Truschnigg [Sat, 12 Mar 2022 17:35:53 +0000 (18:35 +0100)]
Split out adjust_bw()

3 years agoSet LC_ALL and TZ to sane values
Johannes Truschnigg [Sat, 12 Mar 2022 17:34:40 +0000 (18:34 +0100)]
Set LC_ALL and TZ to sane values

3 years agoImprove parameter validation in wrapper
Johannes Truschnigg [Sat, 12 Mar 2022 15:56:18 +0000 (16:56 +0100)]
Improve parameter validation in wrapper

3 years agoImprove peer ready message
Johannes Truschnigg [Sat, 12 Mar 2022 15:35:36 +0000 (16:35 +0100)]
Improve peer ready message

3 years agoPrefix non-essential output with "# "
Johannes Truschnigg [Sat, 12 Mar 2022 15:01:32 +0000 (16:01 +0100)]
Prefix non-essential output with "# "

3 years agoSuppress `type` output in wrapper
Johannes Truschnigg [Sat, 12 Mar 2022 14:52:34 +0000 (15:52 +0100)]
Suppress `type` output in wrapper

3 years agoFix minimum latency recording logic in regard to FUDGE
Johannes Truschnigg [Sat, 12 Mar 2022 14:52:14 +0000 (15:52 +0100)]
Fix minimum latency recording logic in regard to FUDGE

3 years agoSet default fudge msec to 5
Johannes Truschnigg [Sat, 12 Mar 2022 14:47:04 +0000 (15:47 +0100)]
Set default fudge msec to 5

3 years agoRecord minimum latency, improve recommendation message
Johannes Truschnigg [Sat, 12 Mar 2022 14:46:25 +0000 (15:46 +0100)]
Record minimum latency, improve recommendation message

3 years agoRecord pre-previous latency values, too
Johannes Truschnigg [Sat, 12 Mar 2022 14:07:09 +0000 (15:07 +0100)]
Record pre-previous latency values, too

Presently unused.

3 years agoImprove wrapper script
Johannes Truschnigg [Sat, 12 Mar 2022 14:06:44 +0000 (15:06 +0100)]
Improve wrapper script

3 years agoImprove comments and error messages
Johannes Truschnigg [Sat, 12 Mar 2022 13:52:59 +0000 (14:52 +0100)]
Improve comments and error messages

3 years agoFirst shot at timeout detection/handling
Johannes Truschnigg [Sat, 12 Mar 2022 13:27:51 +0000 (14:27 +0100)]
First shot at timeout detection/handling

3 years agoImplement bw increase hint
Johannes Truschnigg [Sat, 12 Mar 2022 13:12:38 +0000 (14:12 +0100)]
Implement bw increase hint

3 years agoFix variable name
Johannes Truschnigg [Sat, 12 Mar 2022 13:12:15 +0000 (14:12 +0100)]
Fix variable name

3 years agoImplement measurement loop
Johannes Truschnigg [Sat, 12 Mar 2022 12:53:54 +0000 (13:53 +0100)]
Implement measurement loop

3 years agoInitial import
Johannes Truschnigg [Sat, 12 Mar 2022 10:41:55 +0000 (11:41 +0100)]
Initial import