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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

H<br />

Write Combining<br />

Introduction<br />

Write combining improves write bandwidth to the <strong>QLogic</strong> chip by writing multiple<br />

words in a single bus transaction (typically 64 bytes). Write combining applies only<br />

to x86_64 systems.<br />

The x86 Page Attribute Table (PAT) mechanism that allocates Write Combining<br />

(WC) mappings for the PIO buffers has been added and is now the default.<br />

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

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

If write combining is not working properly, lower than expected bandwidth may<br />

occur.<br />

The following sections provide instructions for checking write combining and for<br />

using PAT and MTRR.<br />

Verify Write Combining is Working<br />

To see if write combining is working correctly and to check the bandwidth, run the<br />

following command:<br />

$ ipath_pkt_test -B<br />

With write combining enabled, the QLE7140 and QLE7240 report in the range<br />

of 1150–1500 MBps. The QLE7280 reports in the range of 1950–3000 MBps.<br />

You can also use ipath_checkout (use option 5) to check bandwidth.<br />

Although the PAT mechanism should work correctly by default, increased latency<br />

and low bandwidth may indicate a problem. If so, the interconnect operates, but in<br />

a degraded performance mode, with latency increasing to several microseconds,<br />

and bandwidth decreasing to as little as 200 MBps.<br />

Upon driver startup, you may see these errors:<br />

ib_qib 0000:04:01.0: infinqib0: Performance problem: bandwidth to<br />

PIO buffers is only 273 MiB/sec<br />

.<br />

.<br />

.<br />

D000046-005 B H-1

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

Saved successfully!

Ooh no, something went wrong!