Operating System - HP-UX
1833758 Members
2747 Online
110063 Solutions
New Discussion

Switching off Auto Neg for PCI 1000Base-T

 
Russ Hancock_1
Frequent Advisor

Switching off Auto Neg for PCI 1000Base-T

Is it possible to switch of the Auto Neg for a 1000Base-T card. We have a performance issue that our supplier thinks could be related to auto neg.. The Switch is already fixed at 1Gb FD.

What is the easiest way to fix this?
Can I just change:
/etc/rc.config.d/hpgelanconf : HP_GELAN_SPEED[0]=auto_on to 1000FD ?? and reboot..

Thanks in advance.
Russ

Russ
8 REPLIES 8
Dave Hutton
Honored Contributor

Re: Switching off Auto Neg for PCI 1000Base-T

This is the only card I believe you don't want to turn off Auto Neg. Unlike the other 10/100 cards that want to be hard set. This is one you don't want to.

Simon Hargrave
Honored Contributor

Re: Switching off Auto Neg for PCI 1000Base-T

Make sure also that HP_GELAN_AUTONEG[0] is set to 0.
A. Clay Stephenson
Acclaimed Contributor

Re: Switching off Auto Neg for PCI 1000Base-T

It depends. Do you want the card to operate at 1000MB/s? If so then your only option is to allow auto-negotiation. The 1000MB/s protocol requires that the connection be negotiated. If you are trying to running at lesser speeds then you can hard-set it.
If it ain't broke, I can fix that.
Bill Hassell
Honored Contributor

Re: Switching off Auto Neg for PCI 1000Base-T

This the one speed you must use auto-negotiation. Put another way, all LAN connections except 100Base/T should use autonegotiation. Performance issues with 1000Base/T should start with lanadmin to display stats. If you don't see any error counts, performance may be due to non-LAN problems (CPU way too slow to keep up, HP-UX not up-to-date with network/driver patches, massive numbers of small packets, may need to configure jumbo frames, etc). Before you jump into jumbo frames, check out the caveats (1000Base/T isn't just a faster version of 100Base/T) http://sd.wareonearth.com/~phil/jumbo.html


Bill Hassell, sysadmin
Fabio Ettore
Honored Contributor

Re: Switching off Auto Neg for PCI 1000Base-T

Hi,

in order to switch off AUTO-NEGOTIATION launch

# lanadmin -X AUTO_OFF 0

Then as Simon said make sure to change /etc/rc.config.d/hpgelanconf to fix the change.

Anyway reboot is not needed, just after the lanadmin command auto-neg should be OFF.

Best regards,
Ettore
WISH? IMPROVEMENT!
Terry Cook_1
New Member

Re: Switching off Auto Neg for PCI 1000Base-T

It is not correct to turn off "AUTONEG" for a 1000BaseT adapter. The igelan and gelan gigabit drivers do support turning off "AUTONEG" for 1000Base-SX adapters, but not the 1000BaseT adapters.

See below the section in the /etc/rc.config.d/hpigelanconf file which sets the "AUTONEG" value. Notice the HP_IGELAN_AUTONEG is valid only for the
1000Base-SX adapter.


# HP_IGELAN_AUTONEG Enable or Disable auto negotiation for 1000Base-SX
# By default this mode is always enable
# Enable = 1
# Disable = 0
rick jones
Honored Contributor

Re: Switching off Auto Neg for PCI 1000Base-T

Just what sort of performance issues are you trying to resolve that your supplier thinks would be repaired by disabling the not-to-be-disabled autoneg on gigabit?
there is no rest for the wicked yet the virtuous have no pillows
generic_1
Respected Contributor

Re: Switching off Auto Neg for PCI 1000Base-T

My guess would be is that they do not want to connection speed changing causing unforseen lan performance issues. I am curious why they did not write the feature into the drivers. I prefer to know what speeds my lan is set to and not what it thinks it can run, but everyone has a preference.