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.

H–Write Combining<br />

PAT and Write Combining<br />

If you do not see any of these messages on your console, but suspect this<br />

problem, check the /var/log/messages file. Some systems suppress driver<br />

load messages but still output them to the log file.<br />

Methods for enabling and disabling the two write combining mechanisms are<br />

described in the following sections. There are no conflicts between the two<br />

methods.<br />

PAT and Write Combining<br />

This is the default mechanism for allocating Write Combining (WC) mappings for<br />

the PIO buffers. It is set as a parameter in /etc/modprobe.conf (on Red Hat<br />

systems) or /etc/modprobe.conf.local (on SLES systems). The default is:<br />

option ib_qib wc_pat=1<br />

If PAT is unavailable or PAT initialization fails, the code generates a message in<br />

the log and falls back to the Memory Type Range Registers (MTRR) mechanism.<br />

To use MTRR, disable PAT by setting this module parameter to 0 (as a root user):<br />

option ib_qib wc_pat=0<br />

Then, revert to using MTRR-only behavior by following one of the two suggestions<br />

in “MTRR Mapping and Write Combining” on page H-2.<br />

The driver must be restarted after the changes have been made.<br />

NOTE:<br />

There will be no WC entry in /proc/mtrr when using PAT.<br />

MTRR Mapping and Write Combining<br />

.<br />

Two suggestions for properly enabling MTRR mapping for write combining are<br />

described in the following sections.<br />

See “Performance Issues” on page F-9 for more details on a related performance<br />

issue.<br />

Edit BIOS Settings to Fix MTRR Issues<br />

You can edit the BIOS setting for MTRR mapping. The BIOS setting looks similar<br />

to:<br />

MTRR Mapping<br />

[Discrete]<br />

For systems with very large amounts of memory (32GB or more), it may also be<br />

necessary to adjust the BIOS setting for the PCI hole granularity to 2GB. This<br />

setting allows the memory to be mapped with fewer MTRRs, so that there will be<br />

one or more unused MTRRs for the InfiniPath driver.<br />

H-2 D000046-005 B

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

Saved successfully!

Ooh no, something went wrong!