Please allow me to insert this addendum to my previous question. Sorry if
I'm being noisy.

>From https://www.kernel.org/doc/Documentation/networking/bonding.txt

8.3. Painfully Slow Or No Failed Link Detection By Miimon
---------------------------------------------------------

        By default, bonding enables the use_carrier option, which
instructs bonding to trust the driver to maintain carrier state.

        As discussed in the options section, above, some drivers do
not support the netif_carrier_on/_off link state tracking system.
With use_carrier enabled, bonding will always see these links as up,
regardless of their actual state.

        Additionally, other drivers do support netif_carrier, but do
not maintain it in real time, e.g., only polling the link state at
some fixed interval.  In this case, miimon will detect failures, but
only after some long period of time has expired.  If it appears that
miimon is very slow in detecting link failures, try specifying
use_carrier=0 to see if that improves the failure detection time.  If
it does, then it may be that the driver checks the carrier state at a
fixed interval, but does not cache the MII register values (so the
use_carrier=0 method of querying the registers directly works).  If
use_carrier=0 does not improve the failover, then the driver may cache
the registers, or the problem may be elsewhere.

        Also, remember that miimon only checks for the device's
carrier state.  It has no way to determine the state of devices on or
beyond other ports of a switch, or if a switch is refusing to pass
traffic while still maintaining carrier on.


OK, I thought I should make clear I'm specifying use_carrier=0, same
behavior as before.
-- 
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina
------------------------------------------------------------------------------
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to