Site Tools


advanced-misc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
advanced-misc [2026/03/12 01:26] – -Condense, clarity, formatting hogwildadvanced-misc [2026/03/12 01:42] (current) hogwild
Line 74: Line 74:
 This function was introduced to prevent a bad  Ethernet cable to take your router down (eating up CPU cycles) and  making the device unresponsive. This function was introduced to prevent a bad  Ethernet cable to take your router down (eating up CPU cycles) and  making the device unresponsive.
  
- \\ \\ {{port_health.png}}+ \\ \\ {{port_health.png?591}}
  
- \\ **Enable:** runs the porthealth process to monitor the defined ports scope, every minute.+ \\  \\ 
 + 
 +**Enable:** runs the porthealth process to monitor the defined ports scope, every minute.
  
 The check is extremely lightweight and executes in about 0.02 - 0.04 seconds. The check is extremely lightweight and executes in about 0.02 - 0.04 seconds.
- 
- \\ 
  
  \\  \\
Line 90: Line 90:
  \\  \\
  
-  * Monitor (log only) - the passive mode. It acts as an early warning system without changing any hardware settings. It compares the current error count against the baseline. If the delta exceeds your threshold, it writes a warning to the system log (logger). Use this to gather data or troubleshoot a "noisy" line without risking a network disconnect.+  * Monitor (log only) - the passive mode. This acts as an early warning system without \\ changing hardware settings. It compares the current error count against the baseline. \\ If the delta exceeds your threshold, it writes a warning to the system log (logger). \\ Use this to gather data or troubleshoot a "noisy" line without risking a network disconnect.
  
-  * Recover - the active/adaptive mode. It attempts to save the connection by sacrificing speed for stability. It identifies the failing port and steps down the speed (e.g., from 1000FD to 100FD). It waits for the **Hold Time** to expire.  If errors persist, it steps down again (e.g.to 10HD). If it reaches the lowest setting and still fails, it disables the port entirely. The goal is to maintain a “limping” connection rather than lose all connectivity. This is ideal for cables that are slightly damaged or picking up interference.+ \\ 
 + 
 +  * Recover - the active/adaptive mode. It attempts to save the connection by sacrificing \\ speed for stability. It identifies the failing port and steps down the speed (say, from 1000FD \\ to 100FD). It waits for the **Hold Time** to expire. If errors persist, it steps down again to \\ say, 10HD). If it reaches the lowest setting and still fails, it disables the port entirely. \\ The goal is to maintain a “limping” connection rather than lose all connectivity. This is \\ ideal for cables that are slightly damaged or picking up interference. 
 + 
 + \\
  
-  * Disable port - the **aggressive** mode. It follows a "zero-tolerance" policy for port errors. As soon as a port exceeds the error threshold (''BASE_RATE''), the script immediately shuts the port down using robocfg. This approach protects the rest of the network or a background compilation process from being affected by a "chatty" or failing hardware interface. It forces manual intervention to re-enable the port.+  * Disable port - the **aggressive** mode. It follows a "zero-tolerance" policy for port errors. \\ As soon as a port exceeds the error threshold (''BASE_RATE''), the script immediately closes \\ the port using the robocfg tool. This approach protects the rest of the network or a\\ background compilation process from being affected by a "chatty" or failing hardware \\ interface. It forces manual intervention to re-enable the port.
  
  \\  \\
Line 108: Line 112:
  \\  \\
  
-**Hold Time: **acts as "cool-down" and "efficiency" filter to prevent the script from making erratic or unnecessary changes to network ports.+**Hold Time: **acts as "cooldown" and "efficiency" filter to prevent the script from making erratic or unnecessary changes to network ports.
  
 In this context, it is ideal for the router to have a "calm” decision-making process. When a port shows errors, the script steps down the link speed (say, from 1000FD to 100FD). The Hold Time ensures the system stays at the new speed long enough to see if the errors stop. If the script runs again before the 180 second (default) has passed, it will skip further down-stepping for that specific port, giving the hardware time to stabilize. In this context, it is ideal for the router to have a "calm” decision-making process. When a port shows errors, the script steps down the link speed (say, from 1000FD to 100FD). The Hold Time ensures the system stays at the new speed long enough to see if the errors stop. If the script runs again before the 180 second (default) has passed, it will skip further down-stepping for that specific port, giving the hardware time to stabilize.
advanced-misc.1773278794.txt.gz · Last modified: by hogwild