27.12.2014 Views

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

I–Useful Programs and Files<br />

Summary and Descriptions of Useful Programs<br />

MTRR is used by the InfiniPath driver to enable write combining to the <strong>QLogic</strong><br />

on-chip transmit buffers. This option improves write bandwidth to the <strong>QLogic</strong> chip<br />

by writing multiple words in a single bus transaction (typically 64 bytes). This<br />

option applies only to x86_64 systems. It can often be set in the BIOS.<br />

However, some BIOS’ do not have the MTRR mapping option. It may have a<br />

different name, depending on the chipset, vendor, BIOS, or other factors. For<br />

example, it is sometimes referred to as 32 bit memory hole. This setting must be<br />

enabled.<br />

If there is no setting for MTRR mapping or 32 bit memory hole, contact your<br />

system or motherboard vendor and ask how to enable write combining.<br />

You can check and adjust these BIOS settings using the BIOS Setup utility. For<br />

specific instructions, follow the hardware documentation that came with your<br />

system.<br />

<strong>QLogic</strong> also provides a script, ipath_mtrr, which sets the MTRR registers,<br />

enabling maximum performance from the InfiniPath driver. This Python script is<br />

available as a part of the InfiniPath software download, and is contained in the<br />

infinipath* RPM. It is installed in /bin.<br />

To diagnose the machine, run it with no arguments (as a root user):<br />

# ipath_mtrr<br />

The test results will list any problems, if they exist, and provide suggestions on<br />

what to do.<br />

To fix the MTRR registers, use:<br />

# ipath_mtrr -w<br />

Restart the driver after fixing the registers.<br />

This script needs to be run after each system reboot. It can be set to run<br />

automatically upon restart by adding this line in /etc/sysconfig/infinipath:<br />

IPATH_MTRR_ACTIVE=1<br />

See the ipath_mtrr(8) man page for more information on other options.<br />

ipath_pkt_test<br />

This program is installed from the infinipath RPM. Use ipath_pkt_test to<br />

do one of the following:<br />

• Test the InfiniBand link and bandwidth between two InfiniPath infiniband<br />

adapters.<br />

• Using an InfiniBand loopback connector, test the link and bandwidth within a<br />

single InfiniPath infiniband adapter.<br />

I-14 D000046-005 B

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!