diff options
author | Dan Williams <[email protected]> | 2010-10-13 15:43:10 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2010-10-13 15:43:10 -0700 |
commit | c50a898fd4e736623ee175920db056194e0bb483 (patch) | |
tree | 271750360d57da1d982686d8435b8eb3bf3086e4 /lib/debugobjects.c | |
parent | cc60f8878eab892c03d06b10f389232b9b66bd83 (diff) |
ioat2: fix performance regression
Commit 0793448 "DMAENGINE: generic channel status v2" changed the interface for
how dma channel progress is retrieved. It inadvertently exported an internal
helper function ioat_tx_status() instead of ioat_dma_tx_status(). The latter
polls the hardware to get the latest completion state, while the helper just
evaluates the current state without touching hardware. The effect is that we
end up waiting for completion timeouts or descriptor allocation errors before
the completion state is updated.
iperf (before fix):
[SUM] 0.0-41.3 sec 364 MBytes 73.9 Mbits/sec
iperf (after fix):
[SUM] 0.0- 4.5 sec 499 MBytes 940 Mbits/sec
This is a regression starting with 2.6.35.
Cc: <[email protected]>
Cc: Dave Jiang <[email protected]>
Cc: Jesse Brandeburg <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Maciej Sosnowski <[email protected]>
Reported-by: Richard Scobie <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions