Re: Disabling Auto-negotiation



glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxx> wrote:
David Tiktin wrote:

Did anyone happen to see the recent article by blogger Joel Spolsky
which in passing seems to advise disabling auto-negotiation in
"mission critical" environments?

In the case where both ends are under the same administrator, and
locked in a wiring closet it might make sense. For ports that go
to user machines where ordinary users can move plugs around, I
would say no.

I'm not sure I'd even do it in the first case Glen mentioned, but my
feelings there aren't strong.

If the article were written oh 5-10 years ago I might have grudgingly
agreed with it because much kit didn't do autoneg right, but "today"
unless someone is buying some really lame kit, autoneg should "just
work."

It is also the default on everything (?) which means if you did
hardcode, and forgot to configure it that way on a new peice of kit,
or someone resets that kit to factory defaults, you are in a realm of
Sorrow and Woe.

A bit long in the tooth now, since it talks about 100BT but it still
applies:

How 100Base-T Autoneg is supposed to work:

When both sides of the link are set to autoneg, they will "negotiate"
the duplex setting and select full-duplex if both sides can do
full-duplex.

If one side is hardcoded and not using autoneg, the autoneg process
will "fail" and the side trying to autoneg is required by spec to use
half-duplex mode.

If one side is using half-duplex, and the other is using full-duplex,
sorrow and woe is the usual result.

So, the following table shows what will happen given various settings
on each side:

Auto Half Full

Auto Happiness Lucky Sorrow

Half Lucky Happiness Sorrow

Full Sorrow Sorrow Happiness

Happiness means that there is a good shot of everything going well.
Lucky means that things will likely go well, but not because you did
anything correctly :) Sorrow means that there _will_ be a duplex
mis-match.

When there is a duplex mismatch, on the side running half-duplex you
will see various errors and probably a number of _LATE_ collisions
("normal" collisions don't count here). On the side running
full-duplex you will see things like FCS errors. Note that those
errors are not necessarily conclusive, they are simply indicators.

Further, it is important to keep in mind that a "clean" ping (or the
like - eg "linkloop" or default netperf TCP_RR) test result is
inconclusive here - a duplex mismatch causes lost traffic _only_ when
both sides of the link try to speak at the same time. A typical ping
test, being synchronous, one at a time request/response, never tries
to have both sides talking at the same time.

Finally, when/if you migrate to 1000Base-T, everything has to be set
to auto-neg anyway.

rick jones
--
web2.0 n, the dot.com reunion tour...
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
.



Relevant Pages

  • Re: slow system
    ... Can I try to solve high wa with creating more than one virtual disk ( ... When both sides of the link are set to autoneg, ... the duplex setting and select full-duplex if both sides can do ... When there is a duplex mismatch, on the side running half-duplex you ...
    (comp.unix.aix)
  • Re: slow ftp put transfer rate
    ... *) check for retransmissions/lost packets up at the transport layer - ... FCS/CRC errors then I look into a duplex mismatch. ... When both sides of the link are set to autoneg, ... the duplex setting and select full-duplex if both sides can do ...
    (comp.os.linux.networking)
  • Re: TCP & Rcev Window Size Questions
    ... Dual Fiber CE and Dual copper CE NICs. ... When both sides of the link are set to autoneg, ... the duplex setting and select full-duplex if both sides can do ... When there is a duplex mismatch, on the side running half-duplex you ...
    (comp.unix.solaris)
  • Re: Really slow FTP performance
    ... It was autodetecting my card at 100/half even though ... If the switch port was set to autoneg, it was doing precisely what it ... the duplex setting and select full-duplex if both sides can do ... When there is a duplex mismatch, on the side running half-duplex you ...
    (comp.unix.aix)
  • Re: NIC dropping packets
    ... clients on the local LAN segment. ... Please say you aren't hardcoding NIC duplex settings. ... When both sides of the link are set to autoneg, ... the duplex setting and select full-duplex if both sides can do ...
    (comp.sys.hp.hpux)