Escali 4.4 manual 3.2 DET, Using detctl, Using detstat

Page 26

Section: 2.2 SMC network devices

2.2.3.2 DET

Scali has developed a device called Direct Ethernet Transport (DET) to improve Ethernet performance. This device that bypasses the TCP/IP stack and uses raw Ethernet frames for sending messages. These devices are bondable over multiple Ethernets.

The /opt/scali/sbin/detctl command provides a means of creating and deleting DET devices. /opt/scali/bin/detstat can be used to obtain statistics on the devices.

2.2.3.3 Using detctl

detctl has the following syntax :

detctl -a[-q] [-c] <hca index> <device1> <device2> ...

-d[-q] <hca index> -l[-q]

Examples:

Adding new DET devices temporarily with the detctl utility:

root# detctl -a 0 eth0 # creates a det0 device using eth0 as transport device. root# detctl -a 1 eth1 eth2 # creates a det1 device using eth1 and eth2 as aggregated transport devices.

Removing DET devices with detctl:

root# detctl -d 0 # removes DET device 0 (det0) from the current configuration. root# detctl -d 1 # removes DET device 1 (det1) from the current configuration.

Listing active DET devices

root# detctl -l # lists all DET devices currently configured.

Please note that aggregating devices usually requires a special switch configuration.

Both devices have the same Ethernet address (MAC), and so there must either be one VLAN for the eth1's and another for the eth2’s, or all the eth1's must be on one Ethernet switch, and all the eth2's on another switch.

Using detctl to add and remove devices is not permanent, as the contents of the /opt/scali/ kernel/scadet.conf configuration file takes presedence. The contents of this file has the following format:

# hca

<hca index> <ethernet devices>

Permanent changes must be done by editing opt/scali/kernel/scadet.conf , e.g., to add permanently the example above add the following lines:

hca

0

eth0

eth2

hca

1

eth1

2.2.3.4 Using detstat

To gather transmission statistics (packets transmitted, received and lost) for a DET device use detstat. It can also be used to reset the statistics for DET devices.

detstat has the following syntax :

detstat [-r] [-a] <hca name> Examples:

root# detstat det0 #listing statistics for the det0 device, if it exists.

root# detstat -a #listsing statistics for all existing DET devices.

Scali MPI Connect Release 4.4 Users Guide

14

Image 26
Contents Scali MPI ConnectTM Users Guide Acknowledgement Copyright 1999-2005 Scali AS. All rights reservedScali Bronze Software Certificate Grant of License MaintenanceII Software License Terms Commencement Sub-license and distribution SupportLicense Manager Export RequirementsSCALI’s Obligations LICENSEE’s ObligationsTitle to Intellectual Property Rights TransferWarranty of Title and Substantial Performance Compliance with LicensesLimitation on Remedies and Liabilities Scali MPI Connect Release 4.4 Users Guide ViiProprietary Information MiscellaneousGoverning Law Scali MPI Connect Release 4.4 Users Guide Table of contents Profiling with Scali MPI Connect Appendix a Example MPI code Scali MPI Connect Release 4.4 Users Guide Chapter Scali MPI Connect product contextSupport Scali mailing lists SMC FAQ SMC release documentsProblem reports Platforms supportedLicensing How to read this guideAcronyms and abbreviations FeedbackNIC GUI style font Terms and conventionsTypographic conventions Typographic conventions Description of Scali MPI Connect Scali MPI Connect componentsSMC network devices Shared Memory Device Direct Access Transport DATNetwork devices Ethernet Devices3.2 DET Using detctlUsing detstat 4.1 GM MyrinetInfiniband 5.1 IBChannel buffer Communication protocols on DAT-devices6 SCI Transporter protocol Inlining protocolEagerbuffering protocol Zerocopy protocol MPI-2 FeaturesSupport for other interconnects Scali MPI Connect Release 4.4 Users Guide MPI-2 Features Scali MPI Connect environment variables Setting up a Scali MPI Connect environmentCompiling and linking RunningCompiler support Linker flagsRunning Scali MPI Connect programs Naming conventionsIdentity of parallel processes Mpimon monitor programBasic usage Standard output Controlling options to mpimonStandard input Program specHow to provide options to mpimon Network optionsMpirun wrapper script Mpirun usageRunning with dynamic interconnect failover capabilities Running with tcp error detection TfdrSuspending and resuming jobs Part partDebugging and profiling Debugging with a sequential debuggerAssistance for external profiling Using built-in segment protect violation handlerBuilt-in-tools for debugging Debugging with Etnus TotalviewChannelinlinethreshold size to set threshold for inlining Controlling communication resourcesCommunication resources on DAT-devices Good programming practice with SMC Using MPIIsend, MPIIrecvUsing MPIBsend Matching MPIRecv with MPIProbeFatal errors Error and warning messagesUser interface errors and warnings Unsafe MPI programsMpimon options Postfix Giving numeric values to mpimonPrefix Scali MPI Connect Release 4.4 Users Guide Profiling with Scali MPI Connect ExampleUsing Scali MPI Connect built-in trace TracingAbsRank MPIcallcommNamerankcall-dependant-parameters where +relSecs S eTime whereFeatures ExampleUsing Scali MPI Connect built-in timing TimingMPIcallDcallsDtimeDfreq TcallsTtimeTfreq Commrank send to toworldTocommonFields where Using the scanalyzeCommrank recv from fromworldFromcommonFields Count!avrLen!zroLen!inline!eager!transporter! whereFor timing Using SMCs built-in CPU-usage functionality This produces the following reportScali MPI Connect Release 4.4 Users Guide Tuning communication resources Automatic buffer managementCaching the application program on the nodes How to optimize MPI performanceBenchmarking First iteration is very slowCollective operations Memory consumption increase after warm-upFinding the best algorithm Image contrast enhancement Appendix aPrograms in the ScaMPItst package Scali MPI Connect Release 4.4 Users Guide File format OriginalAppendix B When things do not work troubleshootingWhy does not my program start to run? General problems Why can I not start mpid?Why does my program terminate abnormally? Per node installation of Scali MPI Connect Appendix CInstall Scali MPI Connect for Myrinet Install Scali MPI Connect for TCP/IPInstall Scali MPI Connect for Direct Ethernet ExampleInstall and configure SCI management software Install Scali MPI Connect for InfinibandInstall Scali MPI Connect for SCI License optionsScali kernel drivers Uninstalling SMCTroubleshooting Network providers Troubleshooting 3rdparty DAT providers Troubleshooting the GM providerScali MPI Connect Release 4.4 Users Guide Grouping Appendix D Bracket expansion and groupingBracket expansion Scali MPI Connect Release 4.4 Users Guide Appendix E Related documentationScali MPI Connect Release 4.4 Users Guide List of figures Scali MPI Connect Release 4.4 Users Guide Index Transporter protocolSSP