Sun Microsystems Sun Quad Post-Installation Procedures Optional, Configuring Driver Parameters

Page 29

Post-Installation Procedures (Optional)

Perform the tasks in the following sections to customize the performance of the Sun Quad FastEthernet PCI adapter.

Configuring Driver Parameters

The qfe device driver, which is loaded from the CD-ROM, controls the SUNW,qfe Ethernet devices. The device driver automatically selects the link speed using the auto-negotiation protocol with the link partner. (See “Auto-Negotiation” on page 17.)

You can manually configure the qfe device driver parameters to customize each SUNW,qfe device in your system in one of three ways:

Configure the qfe driver parameters generally for all SUNW,qfe devices in the system by entering the parameter variables in the /etc/system file.

Set a parameter on a per-device basis by creating the qfe.conf file in the

/kernel/drv directory.

Use the ndd utility to temporarily change a parameter. This change is lost when you reboot the system.

See Appendix C, “Configuring the Quad FastEthernet Device Driver Parameters,” for more information.

Increasing TCP/IP Performance

The TCP/IP performance of the Sun Quad FastEthernet PCI adapter can be increased by changing the TCP high water mark to 64K. This can be done with the ndd utility as follows.

1.As superuser (root), type:

#ndd -set /dev/tcp tcp_xmit_hiwat 65535

#ndd -set /dev/tcp tcp_recv_hiwat 65535

#ndd -set /dev/tcp tcp_cwnd_max 65534

The changes take effect immediately and affect all the networking interfaces in the system. The changes are lost when you reboot the system.

Chapter 3 Configuring the Driver Software 15

Image 29
Contents Sun Quad FastEthernet PCI Adapter Installation User’s Guide Please Recycle Regulatory Compliance Statements DOC Class a Notice Avis DOC, Classe a EMC Page Contents Specifications Running Diagnostics Tests Page How This Book Is Organized PrefaceRelated Documents Unix CommandsShell Prompts Typographic ConventionsTable P-1SunExpress Contact Information Ordering Sun DocumentsSun Welcomes Your Comments 1Sun Quad FastEthernet PCI adapter Product Overview2Sun Quad FastEthernet PCI adapter Back Panel FeaturesDisplaying the OpenBoot Prom Revision Level Checking the OpenBoot Prom Revision LevelHardware and Software Requirements 1Hardware and Software RequirementsPage Using a text editor, add the following line to the end Installing the AdapterInstalling the Adapter Ok show-devs Verifying the InstallationExamining Network Activity Perform a reconfiguration boot on the system Rebooting the SystemPage Configuring the Host Files Configuring the Driver SoftwareInstalling the Driver Software Etc/hosts file # cat /etc/hosts Reboot your systemAt the ok prompt type Booting From the NetworkConfiguring Driver Parameters Post-Installation Procedures OptionalIncreasing TCP/IP Performance As superuser root, typeType Forcing Network Speed Between 10 Mbps and 100 MbpsAuto-Negotiation Local-mac-address Property Table A-1Physical Dimensions SpecificationsPhysical Dimensions Performance Specifications Power RequirementsTable A-2Power Requirements Table A-3Performance SpecificationsEthernet channels Interface SignalsPage Internal Transceiver Configuring the Quad FastEthernet Device Driver ParametersQfe Driver Parameter, Status, and Descriptions Driver Parameter Values and DefinitionsInter-Packet Gap Parameters Defining the Current StatusTable B-1qfe Driver Parameter, Status, and Descriptions Table B-2Read-Only Parameters Defining the Current StatusIpg1 = 8 default at initialization Table B-4Parameters Defining lancemode and ipg0 Operational Mode ParametersTable B-5Operational Mode Parameters Reporting Transceiver Capabilities Defining the Number of Back-to-Back Packets to TransmitTable B-6Back-to-back Packet Transmission Capability Table B-7Read-Only Transceiver CapabilitiesTable B-8Read-Only Link Partner Capabilities Reporting the Link Partner CapabilitiesSetting Parameters Using the ndd Utility Setting qfe Driver ParametersUse the instance number to select the device To Specify the Device Instance for the ndd UtilityTo modify a parameter value, use the -setoption Using the ndd Utility in Non-Interactive Mode# ndd /dev/qfe \? Setting Forced Mode Table B-9Setting Variables in the /etc/system File Setting Parameters in the /etc/system FileSetting the ipg1 and ipg2 Parameters Setting Parameters Using the qfe.conf FileEtc/pathtoinst file Setting ipg Driver Parameters Using a qfe.conf FileKernel/drv/qfe.conf file Set the ipg1 and ipg2 parameters for the above four devicesUsing the OpenBoot Prom FCode Selftest Running Diagnostics TestsReset the system Running the Ethernet FCode Selftest DiagnosticShut down the system Type show-devsto display the list of devicesOk setenv diag-switch? false Reset and reboot the system Set the auto-boot?configuration parameter to trueEditing IndexEditing, 11 example Creating, 12 editing, 11 examplesLEDs Watch-net-all output Page Ordering Sun Documents AIR Mail PAR Avion