1 *************************************************************************
3 * Myrinet Express Lustre Networking Driver (MXLND) documentation *
5 *************************************************************************
9 MXLND provides support for Myricom's Myrinet Express (MX) communication
12 MXLND may be used with either MX-10G or MX-2G. See MX's README for
17 1. Configuring and compiling
21 1. Systems with different page sizes
23 3. MX endpoint collision
31 MXLND is supported on Linux 2.6. It may be possible to run it on 2.4,
32 but it has not been tested. MXLND requires Myricom's MX version 1.2.8
33 or higher. See MX's README for the supported list of processors.
35 MXLND requires the optional MX kernel library interface. MX must be compiled
36 with --enable-kernel-lib.
38 1. Configuring and compiling
40 MXLND should be already integrated into the Lustre build process. To
41 build MXLND, you will need to set the path to your MX installation
42 in Lustre's ./configure:
46 replacing /opt with the actual path. Configure will check to ensure that
47 the MX version has the required functions. If not, it will fail to build.
48 To check if MXLND built, look for:
50 checking whether to enable Myrinet MX support... yes
52 in configure's output or the presence of Makefile in
53 $LUSTRE/lnet/klnds/mxlnd.
57 MXLND supports a number of load-time parameters using Linux's module
58 parameter system. On our test systems, we created the following file:
60 /etc/modprobe.d/kmxlnd
62 On some (older?) systems, you may need to modify /etc/modprobe.conf.
64 The available options are:
66 n_waitd # of completion daemons
67 cksum set non-zero to enable small message (< 4KB) checksums
68 ntx # of total tx message descriptors
69 peercredits # concurrent sends to one peer
70 board index value of the Myrinet board
72 ipif_name IPoMX interface name
73 polling Use 0 to block (wait). A value > 0 will poll that many times before blocking
75 credits Unused - was # concurrent sends to all peers
76 max_peers Unused - was maximum number of peers that may connect
77 hosts Unused - was IP-to-hostname resolution file
79 You may want to vary the options to obtain the optimal performance for your
82 n_waitd sets the number of threads that process completed MX requests
83 (sends and receives). In our testing, the default of 1 performed best.
85 cksum turns on small message checksums. It can be used to aid in trouble-
86 shooting. MX also provides an optional checksumming feature which can check
87 all messages (large and small). See the MX README for details.
89 ntx is the number of total sends in flight from this machine.
91 peercredits is the number of in-flight messages for a specific peer. This is part
92 of the flow-control system in Lustre. Increasing this value may improve performance
93 but it requires more memory since each message requires at least one page.
95 board is the index of the Myricom NIC. Hosts can have multiple Myricom NICs
96 and this identifies which one MXLND should use.
98 ep_id is the MX endpoint ID. Each process that uses MX is required to have at
99 least one MX endpoint to access the MX library and NIC. The ID is a simple index
100 starting at 0. When used on a server, the server will attempt to use this end-
101 point. When used on a client, it specifies the endpoint to connect to on the
104 ipif_name is the name of the Ethernet interface over MX. Generally, it is
105 myriN, where N matches the MX board index.
107 polling determines whether this host will poll or block for MX request com-
108 pletions. A value of 0 blocks and any positive value will poll that many times
109 before blocking. Since polling increases CPU usage, we suggest you set this to
110 0 on the client and experiment with different values for servers.
112 =====================
113 II. MXLND Performance
114 =====================
116 On MX-2G systems, MXLND should easily saturate the link and use minimal CPU
117 (5-10% for read and write operations). On MX-10G systems, MXLND can saturate
118 the link and use moderate CPU resources (20-30% for read and write operations).
119 MX-10G relies on PCI-Express which is relatively new and performance varies
120 considerably by processor, motherboard and PCI-E chipset. Refer to Myricom's
121 website for the latest DMA read/write performance results by motherboard. The
122 DMA results will place an upper-bound on MXLND performance.
128 1. Systems with different page sizes
130 MXLND will set the maximum small message size equal to the kernel's page size.
131 This means that machines running MXLND that have different page sizes are not
132 able to communicate with each other. If you wish to run MXLND in this case,
133 send email to help@myri.com.
137 At this time, the MXLND does not support more than one interface at a time.
138 Thus, a single Lustre router cannot route between two MX-10G, between two
139 MX-2G, or between MX-10G and MX-2G fabrics.
141 3. MX endpoint collision
143 Each process that uses MX is required to have at least one MX endpoint to
144 access the MX library and NIC. Other processes may need to use MX and no two
145 processes can use the same endpoint ID. MPICH-MX dynamically chooses one at
146 MPI startup and should not interfere with MXLND. Sockets-MX, on the other hand,
147 is hard coded to use 0 for its ID. If it is possible that anyone will want to
148 run Sockets-MX on this system, use a non-0 value for MXLND's endpoint ID.
155 MXLND is copyright (C) 2006 of Myricom, Inc.
157 MXLND is part of Lustre, http://www.lustre.org.
159 MXLND is free software; you can redistribute it and/or modify it under the
160 terms of version 2 of the GNU General Public License as published by the Free
163 MXLND is distributed in the hope that it will be useful, but WITHOUT ANY
164 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
165 PARTICULAR PURPOSE. See the GNU General Public License for more details.
167 You should have received a copy of the GNU General Public License along with
168 Lustre; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,
169 Cambridge, MA 02139, USA.
175 If you have questions about MXLND, please contact help@myri.com.